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.09875/0.09875, allocations: 15.27 MB / 30.54 MB, free: 5.707 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.0008096/0.0008099, allocations: 118.1 kB / 35.58 MB, free: 1.125 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.0009788/0.0009788, allocations: 176.5 kB / 40.69 MB, free: 4.738 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.477/1.477, allocations: 223.3 MB / 268.9 MB, free: 2.016 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1561/0.1561, allocations: 23.39 MB / 347.6 MB, free: 6.758 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005026, allocations: 22 kB / 420.4 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3371, allocations: 60.46 MB / 480.8 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.VenousComposition): time 0.01775/0.3549, allocations: 20.26 MB / 0.4893 GB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00487/0.3598, allocations: 4.623 MB / 0.4938 GB, free: 11.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.3601, allocations: 0 / 0.4938 GB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004138/0.3605, allocations: 71.59 kB / 0.4939 GB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004506/0.365, allocations: 1.437 MB / 0.4953 GB, free: 9.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001974/0.367, allocations: 0.6691 MB / 0.496 GB, free: 9.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009872/0.368, allocations: 1.007 MB / 0.497 GB, free: 8.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3681, allocations: 33.06 kB / 0.497 GB, free: 8.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.3699, allocations: 0.8983 MB / 0.4979 GB, free: 7.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2967/0.6666, allocations: 22.24 MB / 0.5196 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003889/0.667, allocations: 24 kB / 0.5196 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.259/1.926, allocations: 73.17 MB / 0.5911 GB, free: 86.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004428/1.926, allocations: 259.5 kB / 0.5913 GB, free: 86.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006352/1.927, allocations: 419.7 kB / 0.5917 GB, free: 86.26 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006485/1.934, allocations: 2.108 MB / 0.5938 GB, free: 86.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.934, allocations: 0 / 0.5938 GB, free: 86.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.326e-06/1.934, allocations: 0 / 0.5938 GB, free: 86.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/1.934, allocations: 1.938 kB / 0.5938 GB, free: 86.12 MB / 430.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.002473/1.936, allocations: 1.108 MB / 0.5948 GB, free: 85.49 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/1.936, allocations: 11.25 kB / 0.5949 GB, free: 85.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002337/1.936, allocations: 218.2 kB / 0.5951 GB, free: 85.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/1.937, allocations: 83.03 kB / 0.5951 GB, free: 85.37 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/1.937, allocations: 264 kB / 0.5954 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/1.937, allocations: 60.84 kB / 0.5955 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/1.937, allocations: 74.56 kB / 0.5955 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/1.941, allocations: 3.472 MB / 0.5989 GB, free: 84.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/1.941, allocations: 0.5312 kB / 0.5989 GB, free: 84.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/1.942, allocations: 30.75 kB / 0.5989 GB, free: 84.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001322/1.942, allocations: 91.39 kB / 0.599 GB, free: 84.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005795/1.947, allocations: 6.659 MB / 0.6055 GB, free: 82.92 MB / 430.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.007254/1.955, allocations: 8.629 MB / 0.614 GB, free: 74.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/1.957, allocations: 2.865 MB / 0.6168 GB, free: 72.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001582/1.958, allocations: 2.706 MB / 0.6194 GB, free: 69.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/1.96, allocations: 1.833 MB / 0.6212 GB, free: 67.22 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.96, allocations: 45.16 kB / 0.6212 GB, free: 67.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 2.435e-06/1.96, allocations: 0 / 0.6212 GB, free: 67.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.03068/1.99, allocations: 12.89 MB / 0.6338 GB, free: 54.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.99, allocations: 139 kB / 0.634 GB, free: 54.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/1.991, allocations: 292.7 kB / 0.6342 GB, free: 53.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/1.991, allocations: 41.7 kB / 0.6343 GB, free: 53.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/1.991, allocations: 370.4 kB / 0.6346 GB, free: 53.39 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/1.991, allocations: 464.2 kB / 0.6351 GB, free: 52.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.991, allocations: 113.7 kB / 0.6352 GB, free: 52.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.123e-05/1.991, allocations: 306 kB / 0.6355 GB, free: 52.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001471/1.993, allocations: 2.106 MB / 0.6375 GB, free: 50.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/1.995, allocations: 2.517 MB / 0.64 GB, free: 47.73 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003373/1.998, allocations: 4.938 MB / 0.6448 GB, free: 42.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/1.998, allocations: 0 / 0.6448 GB, free: 42.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.005536/2.004, allocations: 7.168 MB / 0.6518 GB, free: 35.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002721/2.004, allocations: 464.8 kB / 0.6523 GB, free: 34.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/2.004, allocations: 12 kB / 0.6523 GB, free: 34.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4161/2.42, allocations: 105 MB / 0.7548 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/2.421, allocations: 177.9 kB / 0.755 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007493/2.428, allocations: 4.804 MB / 0.7597 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/2.43, allocations: 138.8 kB / 0.7598 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002876/2.43, allocations: 132 kB / 0.76 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/2.43, allocations: 7.938 kB / 0.76 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008496/2.439, allocations: 7.08 MB / 0.7669 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/2.439, allocations: 16.14 kB / 0.7669 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6499/3.089, allocations: 98.1 MB / 0.8627 GB, free: 126.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/3.089, allocations: 175.1 kB / 0.8629 GB, free: 126.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005013/3.094, allocations: 4.76 MB / 0.8675 GB, free: 121.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/3.095, allocations: 123.5 kB / 0.8676 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/3.096, allocations: 128 kB / 0.8677 GB, free: 121.5 MB / 0.5137 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.0005313/3.096, allocations: 347.2 kB / 0.8681 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002325/3.096, allocations: 73.02 kB / 0.8681 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03252/3.129, allocations: 8.694 MB / 0.8766 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.333e-05/3.129, allocations: 27.98 kB / 0.8767 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/3.129, allocations: 4 kB / 0.8767 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/3.129, allocations: 3.984 kB / 0.8767 GB, free: 112.4 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009284/3.138, allocations: 10.07 MB / 0.8865 GB, free: 102.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/3.139, allocations: 0 / 0.8865 GB, free: 102.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/3.139, allocations: 66.69 kB / 0.8866 GB, free: 102.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.376/3.515, allocations: 77.14 MB / 0.9619 GB, free: 25.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002603/3.515, allocations: 43.88 kB / 0.9619 GB, free: 24.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/3.522, allocations: 7.492 MB / 0.9693 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/3.522, allocations: 4 kB / 0.9693 GB, free: 17.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005828/3.527, allocations: 7.517 MB / 0.9766 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006166/3.528, allocations: 359.5 kB / 0.9769 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/3.528, allocations: 27.94 kB / 0.977 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007202/3.529, allocations: 59.53 kB / 0.977 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/3.529, allocations: 72.91 kB / 0.9771 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/3.529, allocations: 104 kB / 0.9772 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001574/3.529, allocations: 178 kB / 0.9774 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/3.529, allocations: 4 kB / 0.9774 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002512/3.532, allocations: 0.8241 MB / 0.9782 GB, free: 8.316 MB / 0.5137 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.309/3.841, allocations: 13.02 MB / 0.9909 GB, free: 200.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01088/3.852, allocations: 9.505 MB / 1 GB, free: 195.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/3.852, allocations: 0 / 1 GB, free: 195.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002687/3.855, allocations: 3.132 MB / 1.003 GB, free: 192.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/3.857, allocations: 453.7 kB / 1.004 GB, free: 192.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01958/3.877, allocations: 28.31 MB / 1.031 GB, free: 164 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/3.877, allocations: 1.106 MB / 1.032 GB, free: 162.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009304/3.878, allocations: 264.1 kB / 1.033 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/3.878, allocations: 359.2 kB / 1.033 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/3.879, allocations: 4 kB / 1.033 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06887/3.947, allocations: 49.96 MB / 1.082 GB, free: 112.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002618/3.948, allocations: 266 kB / 1.082 GB, free: 112.3 MB / 0.5137 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:155: ./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:155: ./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:155: ./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:71:6: error: redefinition of 'residualFunc56' void residualFunc56(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:10:6: note: previous definition is here void residualFunc56(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:102:6: error: redefinition of 'initializeSparsePatternNLS56' void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:41:6: note: previous definition is here void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:109:6: error: redefinition of 'initializeStaticDataNLS56' void initializeStaticDataNLS56(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:48:6: note: previous definition is here void initializeStaticDataNLS56(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:123:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:62:6: note: previous definition is here void getIterationVarsNLS56(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:1620:11: error: assigning to 'double' from incompatible type 'real_array_t' (aka 'struct base_array_s') res[19] = sub_alloc_real_array(tmp24, tmp25); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2088:6: error: redefinition of 'residualFunc213' void residualFunc213(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2027:6: note: previous definition is here void residualFunc213(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2119:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2058:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2126:6: error: redefinition of 'initializeStaticDataNLS213' void initializeStaticDataNLS213(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2065:6: note: previous definition is here void initializeStaticDataNLS213(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2140:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:2079:6: note: previous definition is here void getIterationVarsNLS213(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_VenousComposition_02nls.c:3635:11: error: assigning to 'double' from incompatible type 'real_array_t' (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