Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Physiolibrary_Physiolibrary.Media.Blood.ArterialComposition.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.ArterialComposition,fileNamePrefix="Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Media.Blood.ArterialComposition,fileNamePrefix="Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition",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.1685/0.1685, allocations: 15.28 MB / 30.51 MB, free: 4.34 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.001071/0.001071, allocations: 109.6 kB / 35.49 MB, free: 3.379 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.001639/0.001639, allocations: 196.5 kB / 40.59 MB, free: 7.445 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.66/1.66, allocations: 222.9 MB / 268.4 MB, free: 7.492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1697/0.1697, allocations: 23.36 MB / 346.1 MB, free: 0.793 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 113.8 kB / 417.8 MB, free: 30.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1548, allocations: 59.37 MB / 477.1 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.ArterialComposition): time 0.02535/0.1802, allocations: 20.56 MB / 497.7 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006232/0.1865, allocations: 4.544 MB / 0.4905 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003713/0.1869, allocations: 0 / 0.4905 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.1875, allocations: 67.61 kB / 0.4905 GB, free: 9.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.1944, allocations: 1.45 MB / 0.4919 GB, free: 8.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002777/0.1972, allocations: 0.7088 MB / 0.4926 GB, free: 7.785 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.199, allocations: 0.9559 MB / 0.4936 GB, free: 6.824 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1992, allocations: 33.08 kB / 0.4936 GB, free: 6.785 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002264/0.2014, allocations: 0.9334 MB / 0.4945 GB, free: 5.848 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.5227/0.7242, allocations: 23.87 MB / 0.5178 GB, free: 36.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.7246, allocations: 39.14 kB / 0.5179 GB, free: 36.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.9697/1.694, allocations: 78.17 MB / 0.5942 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003927/1.695, allocations: 270 kB / 0.5945 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007849/1.695, allocations: 405.3 kB / 0.5948 GB, free: 228 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007153/1.703, allocations: 2.117 MB / 0.5969 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.22e-05/1.703, allocations: 0 / 0.5969 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.063e-06/1.703, allocations: 3.938 kB / 0.5969 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.254e-05/1.703, allocations: 0 / 0.5969 GB, free: 14.45 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.003309/1.706, allocations: 1.212 MB / 0.5981 GB, free: 13.2 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.706, allocations: 8.031 kB / 0.5981 GB, free: 13.19 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000299/1.706, allocations: 221.1 kB / 0.5983 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/1.707, allocations: 83.81 kB / 0.5984 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003546/1.707, allocations: 263.9 kB / 0.5987 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/1.707, allocations: 65.94 kB / 0.5987 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/1.707, allocations: 76 kB / 0.5988 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/1.711, allocations: 3.474 MB / 0.6022 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.711, allocations: 0 / 0.6022 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.238e-05/1.711, allocations: 28 kB / 0.6022 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.711, allocations: 93.95 kB / 0.6023 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006803/1.718, allocations: 6.66 MB / 0.6088 GB, free: 2.188 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.012/1.73, allocations: 8.634 MB / 0.6172 GB, free: 9.562 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/1.733, allocations: 2.862 MB / 0.62 GB, free: 6.672 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/1.736, allocations: 2.7 MB / 0.6227 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/1.738, allocations: 1.823 MB / 0.6244 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/1.738, allocations: 47.12 kB / 0.6245 GB, free: 1.832 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 3.426e-06/1.738, allocations: 0 / 0.6245 GB, free: 1.832 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.03504/1.773, allocations: 12.87 MB / 0.6371 GB, free: 4.938 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.773, allocations: 137.5 kB / 0.6372 GB, free: 4.773 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/1.774, allocations: 287 kB / 0.6375 GB, free: 4.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001224/1.774, allocations: 41.7 kB / 0.6375 GB, free: 4.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/1.774, allocations: 370.3 kB / 0.6379 GB, free: 4.074 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004851/1.774, allocations: 474.8 kB / 0.6383 GB, free: 3.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004678/1.775, allocations: 274.8 kB / 0.6386 GB, free: 3.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/1.775, allocations: 310 kB / 0.6389 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/1.777, allocations: 2.113 MB / 0.6409 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/1.78, allocations: 2.51 MB / 0.6434 GB, free: 14.23 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005506/1.786, allocations: 4.943 MB / 0.6482 GB, free: 9.156 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/1.786, allocations: 4 kB / 0.6482 GB, free: 9.152 MB / 462.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008198/1.794, allocations: 7.156 MB / 0.6552 GB, free: 2.062 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.011e-05/1.794, allocations: 12 kB / 0.6552 GB, free: 2.051 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.054e-05/1.794, allocations: 16.09 kB / 0.6552 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.6491/2.443, allocations: 63.51 MB / 0.7172 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/2.444, allocations: 173.3 kB / 0.7174 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008244/2.445, allocations: 132.8 kB / 0.7175 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009614/2.446, allocations: 150.9 kB / 0.7177 GB, free: 177.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/2.446, allocations: 125.9 kB / 0.7178 GB, free: 177.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002315/2.448, allocations: 2.298 MB / 0.72 GB, free: 175.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002197/2.45, allocations: 2.507 MB / 0.7225 GB, free: 173.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004033/2.454, allocations: 4.937 MB / 0.7273 GB, free: 168.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.299e-05/2.454, allocations: 4 kB / 0.7273 GB, free: 168.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007255/2.462, allocations: 7.154 MB / 0.7343 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.593e-05/2.462, allocations: 8.703 kB / 0.7343 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-05/2.462, allocations: 12 kB / 0.7343 GB, free: 162.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3013/2.763, allocations: 56.59 MB / 0.7896 GB, free: 109.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/2.764, allocations: 175.7 kB / 0.7898 GB, free: 109.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007472/2.765, allocations: 129.1 kB / 0.7899 GB, free: 109.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/2.766, allocations: 130.8 kB / 0.79 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002205/2.766, allocations: 131.9 kB / 0.7901 GB, free: 109 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.0004252/2.766, allocations: 255.3 kB / 0.7904 GB, free: 108.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/2.767, allocations: 60.19 kB / 0.7904 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03544/2.802, allocations: 8.711 MB / 0.7989 GB, free: 100 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/2.802, allocations: 31.98 kB / 0.799 GB, free: 99.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/2.802, allocations: 0 / 0.799 GB, free: 99.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.703e-05/2.802, allocations: 11.8 kB / 0.799 GB, free: 99.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00987/2.812, allocations: 10.07 MB / 0.8088 GB, free: 89.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/2.812, allocations: 0 / 0.8088 GB, free: 89.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/2.812, allocations: 71.91 kB / 0.8089 GB, free: 89.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3163/3.129, allocations: 59.33 MB / 0.8668 GB, free: 30.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003725/3.129, allocations: 39.98 kB / 0.8669 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002702/3.129, allocations: 36.78 kB / 0.8669 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/3.129, allocations: 5.781 kB / 0.8669 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006387/3.136, allocations: 7.518 MB / 0.8742 GB, free: 22.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/3.137, allocations: 354.6 kB / 0.8746 GB, free: 22.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/3.137, allocations: 19.94 kB / 0.8746 GB, free: 22.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000663/3.137, allocations: 67.52 kB / 0.8747 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/3.138, allocations: 72.92 kB / 0.8747 GB, free: 22.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/3.138, allocations: 98.17 kB / 0.8748 GB, free: 22.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001825/3.138, allocations: 178 kB / 0.875 GB, free: 22.06 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/3.138, allocations: 4 kB / 0.875 GB, free: 22.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003201/3.141, allocations: 0.8243 MB / 0.8758 GB, free: 21.28 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.01143/3.153, allocations: 13.04 MB / 0.8885 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.3154/3.468, allocations: 9.343 MB / 0.8977 GB, free: 181.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.121e-05/3.468, allocations: 1.25 kB / 0.8977 GB, free: 181.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005398/3.474, allocations: 3.124 MB / 0.9007 GB, free: 180.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/3.476, allocations: 453.3 kB / 0.9011 GB, free: 180.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03324/3.51, allocations: 28.39 MB / 0.9289 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/3.51, allocations: 1.142 MB / 0.93 GB, free: 161.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001236/3.512, allocations: 271.2 kB / 0.9302 GB, free: 161.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/3.512, allocations: 386.5 kB / 0.9306 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of SimCode: time 1.352e-06/3.512, allocations: 0 / 0.9306 GB, free: 161.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09337/3.605, allocations: 54.64 MB / 0.984 GB, free: 107.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/3.606, allocations: 276.7 kB / 0.9842 GB, free: 106.7 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_ArterialComposition.o Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition.c In file included from Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition.c:7: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_functions.o Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_functions.c In file included from Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_functions.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_records.o Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_records.c In file included from Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_01exo.o Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_01exo.c In file included from Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_01exo.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.o Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c In file included from Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2: In file included from ./Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:113:6: error: redefinition of 'initializeSparsePatternNLS56' void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:44:6: note: previous definition is here void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:118:6: error: redefinition of 'initializeNonlinearPatternNLS56' void initializeNonlinearPatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:49:6: note: previous definition is here void initializeNonlinearPatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:141:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:72:6: note: previous definition is here void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:2088:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2019:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2093:6: error: redefinition of 'initializeNonlinearPatternNLS213' void initializeNonlinearPatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2024:6: note: previous definition is here void initializeNonlinearPatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:2116:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2047:6: note: previous definition is here void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:4056:6: error: redefinition of 'initializeSparsePatternNLS371' void initializeSparsePatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:3987:6: note: previous definition is here void initializeSparsePatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:4061:6: error: redefinition of 'initializeNonlinearPatternNLS371' void initializeNonlinearPatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:3992:6: note: previous definition is here void initializeNonlinearPatternNLS371(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:4084:6: error: redefinition of 'getIterationVarsNLS371' void getIterationVarsNLS371(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:4015:6: note: previous definition is here void getIterationVarsNLS371(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.o] Error 1