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.1324/0.1324, allocations: 15.29 MB / 30.41 MB, free: 4.395 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.001047/0.001048, allocations: 110.8 kB / 35.38 MB, free: 3.453 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.001326/0.001326, allocations: 197.1 kB / 40.48 MB, free: 7.531 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.566/1.566, allocations: 222.9 MB / 268.3 MB, free: 7.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.3306/0.3306, allocations: 23.34 MB / 345.9 MB, free: 0.8594 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 105.8 kB / 417.6 MB, free: 30.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 59.38 MB / 476.9 MB, free: 3.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.VenousComposition): time 0.026/0.1729, allocations: 20.7 MB / 497.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00704/0.18, allocations: 4.677 MB / 0.4906 GB, free: 9.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003599/0.1804, allocations: 0 / 0.4906 GB, free: 9.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005517/0.1809, allocations: 75.59 kB / 0.4906 GB, free: 9.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.1865, allocations: 1.438 MB / 0.492 GB, free: 8.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002258/0.1888, allocations: 0.6739 MB / 0.4927 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.1899, allocations: 0.9988 MB / 0.4937 GB, free: 6.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.594e-05/0.19, allocations: 37.08 kB / 0.4937 GB, free: 6.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001773/0.1918, allocations: 0.8943 MB / 0.4946 GB, free: 5.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2959/0.4878, allocations: 22.25 MB / 0.5163 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.488, allocations: 28 kB / 0.5163 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248/1.736, allocations: 73.16 MB / 0.5878 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/1.736, allocations: 261.9 kB / 0.588 GB, free: 6.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008048/1.737, allocations: 396 kB / 0.5884 GB, free: 6.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007342/1.745, allocations: 2.099 MB / 0.5905 GB, free: 4.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.745, allocations: 0 / 0.5905 GB, free: 4.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/1.745, allocations: 0 / 0.5905 GB, free: 4.75 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.138e-05/1.745, allocations: 0 / 0.5905 GB, free: 4.75 MB / 398.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.003427/1.748, allocations: 1.213 MB / 0.5916 GB, free: 3.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.748, allocations: 12.53 kB / 0.5916 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/1.748, allocations: 221.2 kB / 0.5919 GB, free: 3.258 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/1.749, allocations: 83.81 kB / 0.5919 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/1.749, allocations: 256.3 kB / 0.5922 GB, free: 2.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/1.749, allocations: 69.94 kB / 0.5923 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/1.749, allocations: 76 kB / 0.5923 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003688/1.753, allocations: 3.47 MB / 0.5957 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.753, allocations: 0 / 0.5957 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-05/1.753, allocations: 32 kB / 0.5957 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001174/1.753, allocations: 92.86 kB / 0.5958 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007222/1.76, allocations: 6.659 MB / 0.6023 GB, free: 8.488 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.01136/1.772, allocations: 8.629 MB / 0.6108 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/1.775, allocations: 2.861 MB / 0.6136 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002677/1.778, allocations: 2.705 MB / 0.6162 GB, free: 10.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/1.78, allocations: 1.825 MB / 0.618 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/1.78, allocations: 46.94 kB / 0.618 GB, free: 8.125 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 3.317e-06/1.78, allocations: 0 / 0.618 GB, free: 8.125 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.03393/1.814, allocations: 12.86 MB / 0.6306 GB, free: 11.24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/1.814, allocations: 145.5 kB / 0.6307 GB, free: 11.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/1.815, allocations: 283 kB / 0.631 GB, free: 10.78 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/1.815, allocations: 41.7 kB / 0.631 GB, free: 10.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002295/1.815, allocations: 371.3 kB / 0.6314 GB, free: 10.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/1.815, allocations: 469.4 kB / 0.6318 GB, free: 9.914 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004189/1.816, allocations: 274.8 kB / 0.6321 GB, free: 9.641 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/1.816, allocations: 306 kB / 0.6324 GB, free: 9.336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/1.818, allocations: 2.117 MB / 0.6345 GB, free: 7.223 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003076/1.822, allocations: 2.514 MB / 0.6369 GB, free: 4.535 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005568/1.827, allocations: 4.948 MB / 0.6417 GB, free: 15.47 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.351e-05/1.827, allocations: 4 kB / 0.6417 GB, free: 15.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008108/1.835, allocations: 7.16 MB / 0.6487 GB, free: 8.367 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.321e-05/1.835, allocations: 20.09 kB / 0.6488 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.044e-05/1.835, allocations: 12 kB / 0.6488 GB, free: 8.336 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.6276/2.463, allocations: 63.45 MB / 0.7107 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/2.464, allocations: 171.5 kB / 0.7109 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009906/2.465, allocations: 132.3 kB / 0.711 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/2.466, allocations: 147.3 kB / 0.7112 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002785/2.466, allocations: 130.2 kB / 0.7113 GB, free: 177.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003251/2.47, allocations: 2.293 MB / 0.7135 GB, free: 177.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002899/2.473, allocations: 2.511 MB / 0.716 GB, free: 175.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005634/2.478, allocations: 4.937 MB / 0.7208 GB, free: 173.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.293e-05/2.478, allocations: 4.484 kB / 0.7208 GB, free: 173.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007329/2.486, allocations: 7.156 MB / 0.7278 GB, free: 168.6 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/2.486, allocations: 8.516 kB / 0.7278 GB, free: 168.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.905e-05/2.486, allocations: 16 kB / 0.7278 GB, free: 168.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3004/2.786, allocations: 56.53 MB / 0.783 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/2.787, allocations: 175.7 kB / 0.7832 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007469/2.788, allocations: 129.1 kB / 0.7833 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/2.789, allocations: 122.8 kB / 0.7834 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002507/2.789, allocations: 124 kB / 0.7835 GB, free: 115.5 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.0004985/2.789, allocations: 267.2 kB / 0.7838 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/2.79, allocations: 55.25 kB / 0.7839 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03525/2.825, allocations: 8.711 MB / 0.7924 GB, free: 106.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.699e-05/2.825, allocations: 31.98 kB / 0.7924 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/2.825, allocations: 0 / 0.7924 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-05/2.825, allocations: 11.97 kB / 0.7924 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009829/2.835, allocations: 10.07 MB / 0.8022 GB, free: 96.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-05/2.835, allocations: 3.984 kB / 0.8022 GB, free: 96.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002602/2.835, allocations: 67.92 kB / 0.8023 GB, free: 96.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2898/3.125, allocations: 35.56 MB / 0.837 GB, free: 60.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/3.125, allocations: 43.81 kB / 0.8371 GB, free: 60.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/3.132, allocations: 7.488 MB / 0.8444 GB, free: 53.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-06/3.132, allocations: 8.5 kB / 0.8444 GB, free: 53.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006641/3.139, allocations: 7.517 MB / 0.8517 GB, free: 45.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007468/3.14, allocations: 355.6 kB / 0.8521 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/3.14, allocations: 16 kB / 0.8521 GB, free: 45.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008357/3.141, allocations: 63.52 kB / 0.8521 GB, free: 45.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/3.141, allocations: 76.86 kB / 0.8522 GB, free: 45.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/3.141, allocations: 98.27 kB / 0.8523 GB, free: 45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001922/3.141, allocations: 182 kB / 0.8525 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.81e-07/3.141, allocations: 4 kB / 0.8525 GB, free: 44.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002908/3.144, allocations: 0.8291 MB / 0.8533 GB, free: 44.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 {(11,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01099/3.155, allocations: 13.03 MB / 0.866 GB, free: 31.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008367/3.164, allocations: 9.024 MB / 0.8748 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/3.164, allocations: 0 / 0.8748 GB, free: 22.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002852/3.167, allocations: 3.134 MB / 0.8779 GB, free: 18.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/3.169, allocations: 448.1 kB / 0.8783 GB, free: 18.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3378/3.507, allocations: 28.28 MB / 0.906 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001303/3.509, allocations: 1.109 MB / 0.907 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001341/3.51, allocations: 261.3 kB / 0.9073 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004735/3.51, allocations: 352.5 kB / 0.9076 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.643e-06/3.51, allocations: 0 / 0.9076 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08835/3.599, allocations: 50.86 MB / 0.9573 GB, free: 133.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/3.599, allocations: 262.8 kB / 0.9575 GB, free: 133.2 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:73: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:106: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:113:6: error: redefinition of 'initializeStaticDataNLS56' void initializeStaticDataNLS56(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:51:6: note: previous definition is here void initializeStaticDataNLS56(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:127:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:65:6: note: previous definition is here void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1625:11: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[19] = sub_alloc_real_array(tmp24, tmp25); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2012: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:1950: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:2045:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1983:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2052:6: error: redefinition of 'initializeStaticDataNLS213' void initializeStaticDataNLS213(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1990:6: note: previous definition is here void initializeStaticDataNLS213(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2066:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2004:6: note: previous definition is here void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3562:11: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[18] = sub_alloc_real_array(tmp17, tmp18); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 10 errors generated. make: *** [: Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.o] Error 1