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.1159/0.1159, 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.0008249/0.000825, 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.001173/0.001173, allocations: 172.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.435/1.435, allocations: 223.3 MB / 268.9 MB, free: 256 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1841/0.1841, allocations: 23.39 MB / 347.7 MB, free: 6.535 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004849, allocations: 22 kB / 420.3 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3184, allocations: 60.47 MB / 480.8 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.ArterialComposition): time 0.01799/0.3365, allocations: 20.22 MB / 0.4893 GB, free: 16.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.3416, allocations: 4.618 MB / 0.4938 GB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.3421, allocations: 0 / 0.4938 GB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.3426, allocations: 67.61 kB / 0.4939 GB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005061/0.3477, allocations: 1.441 MB / 0.4953 GB, free: 9.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00237/0.3501, allocations: 0.6733 MB / 0.4959 GB, free: 9.277 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00124/0.3513, allocations: 1.003 MB / 0.4969 GB, free: 8.273 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3514, allocations: 37.08 kB / 0.4969 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.3536, allocations: 0.906 MB / 0.4978 GB, free: 7.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2902/0.6438, allocations: 22.23 MB / 0.5195 GB, free: 2.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.6441, allocations: 31.98 kB / 0.5196 GB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.271/1.915, allocations: 73.15 MB / 0.591 GB, free: 86.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004687/1.915, allocations: 261.4 kB / 0.5913 GB, free: 86.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007262/1.916, allocations: 421 kB / 0.5917 GB, free: 86.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006742/1.923, allocations: 2.098 MB / 0.5937 GB, free: 86.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.923, allocations: 3.938 kB / 0.5937 GB, free: 86.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.474e-06/1.923, allocations: 0.9375 kB / 0.5937 GB, free: 86.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/1.923, allocations: 0 / 0.5937 GB, free: 86.32 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.002508/1.925, allocations: 1.111 MB / 0.5948 GB, free: 85.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/1.925, allocations: 9.25 kB / 0.5948 GB, free: 85.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/1.926, allocations: 221.4 kB / 0.595 GB, free: 85.61 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/1.926, allocations: 87.69 kB / 0.5951 GB, free: 85.56 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/1.926, allocations: 264.9 kB / 0.5954 GB, free: 85.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/1.926, allocations: 64.22 kB / 0.5954 GB, free: 85.3 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.926, allocations: 73.19 kB / 0.5955 GB, free: 85.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/1.931, allocations: 3.476 MB / 0.5989 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/1.931, allocations: 3.969 kB / 0.5989 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.311e-05/1.931, allocations: 38.56 kB / 0.5989 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.931, allocations: 88.03 kB / 0.599 GB, free: 85.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005605/1.936, allocations: 6.66 MB / 0.6055 GB, free: 83.13 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.008733/1.945, allocations: 8.618 MB / 0.6139 GB, free: 75.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/1.947, allocations: 2.866 MB / 0.6167 GB, free: 72.34 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/1.949, allocations: 2.711 MB / 0.6194 GB, free: 69.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/1.951, allocations: 1.837 MB / 0.6212 GB, free: 67.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/1.951, allocations: 41.25 kB / 0.6212 GB, free: 67.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 3.356e-06/1.951, allocations: 3.906 kB / 0.6212 GB, free: 67.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.03188/1.983, allocations: 12.88 MB / 0.6338 GB, free: 54.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.983, allocations: 142.9 kB / 0.6339 GB, free: 54.43 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/1.983, allocations: 287 kB / 0.6342 GB, free: 54.14 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.917e-05/1.983, allocations: 41.7 kB / 0.6342 GB, free: 54.09 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.983, allocations: 375.1 kB / 0.6346 GB, free: 53.72 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/1.984, allocations: 459.2 kB / 0.635 GB, free: 53.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/1.984, allocations: 118 kB / 0.6351 GB, free: 53.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.817e-05/1.984, allocations: 310 kB / 0.6354 GB, free: 52.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001479/1.985, allocations: 2.108 MB / 0.6375 GB, free: 50.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001618/1.987, allocations: 2.511 MB / 0.6399 GB, free: 48.06 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/1.99, allocations: 4.946 MB / 0.6448 GB, free: 42.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.99, allocations: 4 kB / 0.6448 GB, free: 42.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.00538/1.996, allocations: 7.16 MB / 0.6518 GB, free: 35.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.996, allocations: 469.4 kB / 0.6522 GB, free: 35.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/1.996, allocations: 12 kB / 0.6522 GB, free: 35.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4182/2.414, allocations: 105 MB / 0.7548 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000671/2.415, allocations: 169.8 kB / 0.755 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006733/2.422, allocations: 4.809 MB / 0.7597 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/2.423, allocations: 138.8 kB / 0.7598 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002505/2.423, allocations: 124 kB / 0.7599 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/2.423, allocations: 8 kB / 0.7599 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007827/2.431, allocations: 7.082 MB / 0.7668 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.197e-05/2.431, allocations: 12 kB / 0.7669 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7243/3.155, allocations: 98.1 MB / 0.8627 GB, free: 127 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/3.156, allocations: 178.5 kB / 0.8628 GB, free: 126.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/3.161, allocations: 4.751 MB / 0.8675 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009397/3.162, allocations: 128.3 kB / 0.8676 GB, free: 122 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/3.162, allocations: 132 kB / 0.8677 GB, free: 121.9 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.0004634/3.163, allocations: 354.8 kB / 0.868 GB, free: 121.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002109/3.163, allocations: 62.81 kB / 0.8681 GB, free: 121.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.033/3.196, allocations: 8.695 MB / 0.8766 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.932e-05/3.196, allocations: 31.98 kB / 0.8766 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/3.196, allocations: 0 / 0.8766 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.65e-05/3.196, allocations: 7.984 kB / 0.8766 GB, free: 112.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/3.206, allocations: 10.07 MB / 0.8865 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/3.206, allocations: 0 / 0.8865 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/3.207, allocations: 68.03 kB / 0.8865 GB, free: 102.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3834/3.59, allocations: 77.13 MB / 0.9619 GB, free: 25.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002259/3.59, allocations: 43.94 kB / 0.9619 GB, free: 25.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006303/3.597, allocations: 7.501 MB / 0.9692 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/3.597, allocations: 0 / 0.9692 GB, free: 17.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/3.603, allocations: 7.517 MB / 0.9766 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006623/3.603, allocations: 359.6 kB / 0.9769 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/3.604, allocations: 22.45 kB / 0.9769 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007574/3.604, allocations: 67.45 kB / 0.977 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/3.605, allocations: 76.92 kB / 0.9771 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/3.605, allocations: 95.98 kB / 0.9772 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001737/3.605, allocations: 178 kB / 0.9773 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/3.605, allocations: 0 / 0.9773 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0028/3.608, allocations: 0.8241 MB / 0.9781 GB, free: 8.75 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.267/3.875, allocations: 13.02 MB / 0.9908 GB, free: 200.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01038/3.885, allocations: 9.507 MB / 1 GB, free: 195.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/3.885, allocations: 0 / 1 GB, free: 195.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002647/3.888, allocations: 3.137 MB / 1.003 GB, free: 193 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002566/3.89, allocations: 441.3 kB / 1.004 GB, free: 192.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/3.912, allocations: 28.31 MB / 1.031 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/3.912, allocations: 1.106 MB / 1.032 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001063/3.913, allocations: 269.8 kB / 1.033 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002897/3.914, allocations: 347.3 kB / 1.033 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.302e-06/3.914, allocations: 0 / 1.033 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07133/3.985, allocations: 49.96 MB / 1.082 GB, free: 113.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/3.985, allocations: 279 kB / 1.082 GB, free: 112.8 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_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: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_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: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_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: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_ArterialComposition_02nls.c:71:6: error: redefinition of 'residualFunc56' void residualFunc56(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.c:102:6: error: redefinition of 'initializeSparsePatternNLS56' void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:41:6: note: previous definition is here void initializeSparsePatternNLS56(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:109:6: error: redefinition of 'initializeStaticDataNLS56' void initializeStaticDataNLS56(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:48:6: note: previous definition is here void initializeStaticDataNLS56(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:123:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:62:6: note: previous definition is here void getIterationVarsNLS56(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.c:2088:6: error: redefinition of 'residualFunc213' void residualFunc213(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.c:2119:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2058:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2126:6: error: redefinition of 'initializeStaticDataNLS213' void initializeStaticDataNLS213(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2065:6: note: previous definition is here void initializeStaticDataNLS213(void *inData, threadData_t *threadData, void *inSystemData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2140:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2079:6: note: previous definition is here void getIterationVarsNLS213(struct DATA *inData, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.o] Error 1