Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Media.Blood.VenousComposition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Media.Blood.VenousComposition,fileNamePrefix="Physiolibrary_Physiolibrary_Media_Blood_VenousComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Media.Blood.VenousComposition,fileNamePrefix="Physiolibrary_Physiolibrary_Media_Blood_VenousComposition",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0/package.mo): time 0.1116/0.1116, allocations: 15.28 MB / 30.51 MB, free: 4.352 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 113.1 kB / 35.5 MB, free: 3.387 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 192.5 kB / 40.58 MB, free: 7.465 MB / 34.91 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 222.9 MB / 268.4 MB, free: 6.875 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.193/0.193, allocations: 23.35 MB / 346.1 MB, free: 0.8477 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 117.8 kB / 417.8 MB, free: 30.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1513, allocations: 59.36 MB / 477.1 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.VenousComposition): time 0.02993/0.1813, allocations: 20.6 MB / 497.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00836/0.1897, allocations: 4.544 MB / 0.4905 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005986/0.1904, allocations: 0 / 0.4905 GB, free: 9.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.1909, allocations: 71.59 kB / 0.4906 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007132/0.1982, allocations: 1.45 MB / 0.492 GB, free: 8.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.2012, allocations: 0.6973 MB / 0.4927 GB, free: 7.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.2029, allocations: 0.9559 MB / 0.4936 GB, free: 6.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.203, allocations: 37.06 kB / 0.4936 GB, free: 6.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002359/0.2054, allocations: 0.9334 MB / 0.4946 GB, free: 5.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.6347/0.84, allocations: 23.87 MB / 0.5179 GB, free: 36.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.8404, allocations: 35.25 kB / 0.5179 GB, free: 36.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9478/1.788, allocations: 78.19 MB / 0.5943 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005283/1.789, allocations: 263.5 kB / 0.5945 GB, free: 448 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007259/1.789, allocations: 404.7 kB / 0.5949 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007467/1.797, allocations: 2.113 MB / 0.597 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.797, allocations: 0 / 0.597 GB, free: 14.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.112e-06/1.797, allocations: 0 / 0.597 GB, free: 14.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/1.797, allocations: 3.938 kB / 0.597 GB, free: 14.28 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.002698/1.8, allocations: 1.21 MB / 0.5981 GB, free: 13.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.8, allocations: 8.031 kB / 0.5982 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002551/1.8, allocations: 225.1 kB / 0.5984 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/1.8, allocations: 91.75 kB / 0.5985 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/1.8, allocations: 263.4 kB / 0.5987 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.401e-05/1.801, allocations: 61.94 kB / 0.5988 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/1.801, allocations: 76 kB / 0.5988 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/1.804, allocations: 3.472 MB / 0.6022 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/1.804, allocations: 3.281 kB / 0.6022 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-05/1.804, allocations: 35.98 kB / 0.6023 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.084e-05/1.804, allocations: 81.97 kB / 0.6023 GB, free: 8.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005926/1.81, allocations: 6.66 MB / 0.6089 GB, free: 2.016 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/1.82, allocations: 8.627 MB / 0.6173 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/1.823, allocations: 2.861 MB / 0.6201 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/1.826, allocations: 2.707 MB / 0.6227 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002179/1.828, allocations: 1.825 MB / 0.6245 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/1.828, allocations: 46.75 kB / 0.6245 GB, free: 1.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 4.889e-06/1.828, allocations: 0 / 0.6245 GB, free: 1.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.03494/1.863, allocations: 12.87 MB / 0.6371 GB, free: 4.762 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/1.863, allocations: 141.5 kB / 0.6372 GB, free: 4.594 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/1.864, allocations: 283 kB / 0.6375 GB, free: 4.309 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/1.864, allocations: 37.7 kB / 0.6375 GB, free: 4.266 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002598/1.864, allocations: 371.3 kB / 0.6379 GB, free: 3.898 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004826/1.865, allocations: 466.3 kB / 0.6383 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/1.865, allocations: 279.1 kB / 0.6386 GB, free: 3.168 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/1.865, allocations: 317.1 kB / 0.6389 GB, free: 2.855 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/1.868, allocations: 2.113 MB / 0.641 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002782/1.87, allocations: 2.506 MB / 0.6434 GB, free: 14.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005107/1.876, allocations: 4.946 MB / 0.6483 GB, free: 8.984 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.876, allocations: 4 kB / 0.6483 GB, free: 8.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007321/1.883, allocations: 7.155 MB / 0.6552 GB, free: 1.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/1.883, allocations: 12 kB / 0.6553 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-05/1.883, allocations: 12.84 kB / 0.6553 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.63/2.513, allocations: 63.52 MB / 0.7173 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007073/2.514, allocations: 172.5 kB / 0.7175 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008719/2.515, allocations: 129.6 kB / 0.7176 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/2.516, allocations: 148.2 kB / 0.7177 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/2.516, allocations: 129.6 kB / 0.7179 GB, free: 177.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002807/2.519, allocations: 2.293 MB / 0.7201 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002791/2.522, allocations: 2.51 MB / 0.7225 GB, free: 173.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005632/2.527, allocations: 4.933 MB / 0.7274 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-05/2.527, allocations: 7.875 kB / 0.7274 GB, free: 168.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007745/2.535, allocations: 7.152 MB / 0.7344 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/2.535, allocations: 12 kB / 0.7344 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.245e-05/2.535, allocations: 15.97 kB / 0.7344 GB, free: 161.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3054/2.841, allocations: 56.59 MB / 0.7896 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/2.842, allocations: 179.7 kB / 0.7898 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/2.842, allocations: 125.1 kB / 0.7899 GB, free: 109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/2.844, allocations: 118.8 kB / 0.79 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/2.844, allocations: 128 kB / 0.7902 GB, free: 108.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(59,37)} Notification: Performance of prepare postOptimizeDAE: time 0.0004926/2.844, allocations: 263.3 kB / 0.7904 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/2.845, allocations: 59.25 kB / 0.7905 GB, free: 108.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03406/2.879, allocations: 8.714 MB / 0.799 GB, free: 99.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.748e-05/2.879, allocations: 35.97 kB / 0.799 GB, free: 99.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/2.879, allocations: 4 kB / 0.799 GB, free: 99.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.122e-05/2.879, allocations: 3.984 kB / 0.799 GB, free: 99.72 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008839/2.888, allocations: 10.07 MB / 0.8089 GB, free: 89.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/2.888, allocations: 0 / 0.8089 GB, free: 89.63 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002684/2.888, allocations: 67.91 kB / 0.8089 GB, free: 89.56 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2974/3.185, allocations: 59.33 MB / 0.8669 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/3.186, allocations: 43.98 kB / 0.8669 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001681/3.186, allocations: 36.83 kB / 0.8669 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/3.186, allocations: 3.938 kB / 0.8669 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/3.192, allocations: 7.513 MB / 0.8743 GB, free: 22.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005809/3.192, allocations: 351.6 kB / 0.8746 GB, free: 22.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/3.192, allocations: 27.92 kB / 0.8746 GB, free: 22.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005901/3.193, allocations: 59.53 kB / 0.8747 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/3.193, allocations: 72.92 kB / 0.8748 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/3.193, allocations: 99.98 kB / 0.8749 GB, free: 22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001281/3.193, allocations: 178 kB / 0.875 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/3.193, allocations: 0 / 0.875 GB, free: 21.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002106/3.195, allocations: 0.8277 MB / 0.8758 GB, free: 21.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(59,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008635/3.204, allocations: 13.04 MB / 0.8886 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2369/3.441, allocations: 9.329 MB / 0.8977 GB, free: 181.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/3.441, allocations: 0 / 0.8977 GB, free: 181.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003824/3.445, allocations: 3.128 MB / 0.9007 GB, free: 180 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/3.448, allocations: 459.2 kB / 0.9012 GB, free: 179.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/3.48, allocations: 28.39 MB / 0.9289 GB, free: 162.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/3.48, allocations: 1.148 MB / 0.93 GB, free: 161.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001265/3.482, allocations: 269.9 kB / 0.9303 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/3.482, allocations: 387.7 kB / 0.9307 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of SimCode: time 4.819e-06/3.482, allocations: 0 / 0.9307 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0841/3.566, allocations: 54.64 MB / 0.984 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002356/3.566, allocations: 258.9 kB / 0.9843 GB, free: 106.4 MB / 0.4981 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition.o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition.c In file included from Physiolibrary_Physiolibrary_Media_Blood_VenousComposition.c:7: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_functions.o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_functions.c In file included from Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_functions.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_records.o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_records.c In file included from Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_01exo.o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_01exo.c In file included from Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_01exo.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.o Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c In file included from Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:80:6: error: redefinition of 'residualFunc56' void residualFunc56(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:11:6: note: previous definition is here void residualFunc56(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:113:6: error: redefinition of 'initializeSparsePatternNLS56' void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:44:6: note: previous definition is here void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:118:6: error: redefinition of 'initializeNonlinearPatternNLS56' void initializeNonlinearPatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:49:6: note: previous definition is here void initializeNonlinearPatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:124:6: error: redefinition of 'initializeStaticDataNLS56' void initializeStaticDataNLS56(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:55:6: note: previous definition is here void initializeStaticDataNLS56(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:141:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:72:6: note: previous definition is here void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1654:11: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[19] = sub_alloc_real_array(tmp28, tmp29); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2055:6: error: redefinition of 'residualFunc213' void residualFunc213(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1986:6: note: previous definition is here void residualFunc213(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2088:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2019:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2093:6: error: redefinition of 'initializeNonlinearPatternNLS213' void initializeNonlinearPatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2024:6: note: previous definition is here void initializeNonlinearPatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2099:6: error: redefinition of 'initializeStaticDataNLS213' void initializeStaticDataNLS213(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2030:6: note: previous definition is here void initializeStaticDataNLS213(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2116:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2047:6: note: previous definition is here void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3627:11: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[18] = sub_alloc_real_array(tmp21, tmp22); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4023:6: error: redefinition of 'residualFunc371' void residualFunc371(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3954:6: note: previous definition is here void residualFunc371(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4056:6: error: redefinition of 'initializeSparsePatternNLS371' void initializeSparsePatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3987:6: note: previous definition is here void initializeSparsePatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4061:6: error: redefinition of 'initializeNonlinearPatternNLS371' void initializeNonlinearPatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3992:6: note: previous definition is here void initializeNonlinearPatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4067:6: error: redefinition of 'initializeStaticDataNLS371' void initializeStaticDataNLS371(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3998:6: note: previous definition is here void initializeStaticDataNLS371(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4084:6: error: redefinition of 'getIterationVarsNLS371' void getIterationVarsNLS371(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:4015:6: note: previous definition is here void getIterationVarsNLS371(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:5570:10: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[3] = sub_alloc_real_array(tmp2, tmp3); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 18 errors generated. make: *** [: Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.o] Error 1