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.1281/0.1281, 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.001463/0.001463, allocations: 107.4 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.001828/0.001829, allocations: 197.1 kB / 40.47 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.697/1.697, allocations: 222.9 MB / 268.3 MB, free: 6.398 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.3627/0.3627, allocations: 23.35 MB / 346 MB, free: 0.5547 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 121.8 kB / 417.6 MB, free: 30.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1534, allocations: 59.38 MB / 477 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Media.Blood.ArterialComposition): time 0.02895/0.1824, allocations: 20.64 MB / 497.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.1883, allocations: 4.692 MB / 0.4905 GB, free: 9.898 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.1887, allocations: 4 kB / 0.4905 GB, free: 9.895 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004243/0.1891, allocations: 75.59 kB / 0.4906 GB, free: 9.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00456/0.1937, allocations: 1.434 MB / 0.492 GB, free: 8.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.1963, allocations: 0.6661 MB / 0.4926 GB, free: 7.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1978, allocations: 1.003 MB / 0.4936 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.84e-05/0.1979, allocations: 33.09 kB / 0.4937 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.2, allocations: 0.8982 MB / 0.4945 GB, free: 5.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3008/0.5008, allocations: 22.25 MB / 0.5163 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003198/0.5011, allocations: 28 kB / 0.5163 GB, free: 1.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.28/1.781, allocations: 73.16 MB / 0.5877 GB, free: 7.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/1.781, allocations: 261.4 kB / 0.588 GB, free: 6.961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000642/1.782, allocations: 385.3 kB / 0.5884 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00675/1.789, allocations: 2.104 MB / 0.5904 GB, free: 4.848 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/1.789, allocations: 0.6562 kB / 0.5904 GB, free: 4.848 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/1.789, allocations: 4 kB / 0.5904 GB, free: 4.844 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/1.789, allocations: 4 kB / 0.5904 GB, free: 4.84 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.002768/1.792, allocations: 1.206 MB / 0.5916 GB, free: 3.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.792, allocations: 12.59 kB / 0.5916 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000247/1.792, allocations: 220.8 kB / 0.5918 GB, free: 3.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/1.792, allocations: 87.81 kB / 0.5919 GB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002197/1.792, allocations: 255.5 kB / 0.5921 GB, free: 3.004 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/1.792, allocations: 61.94 kB / 0.5922 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/1.793, allocations: 83.94 kB / 0.5923 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003565/1.796, allocations: 3.475 MB / 0.5957 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/1.796, allocations: 0 / 0.5957 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.034e-05/1.796, allocations: 32 kB / 0.5957 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.891e-05/1.796, allocations: 93.95 kB / 0.5958 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005994/1.802, allocations: 6.656 MB / 0.6023 GB, free: 8.578 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.01163/1.814, allocations: 8.632 MB / 0.6107 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003317/1.817, allocations: 2.854 MB / 0.6135 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002639/1.82, allocations: 2.706 MB / 0.6162 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002255/1.822, allocations: 1.829 MB / 0.6179 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/1.822, allocations: 47.56 kB / 0.618 GB, free: 8.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=138): time 4.018e-06/1.822, allocations: 4 kB / 0.618 GB, free: 8.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=138): time 0.0338/1.856, allocations: 12.86 MB / 0.6305 GB, free: 11.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.856, allocations: 145.5 kB / 0.6307 GB, free: 11.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/1.857, allocations: 283.4 kB / 0.631 GB, free: 10.87 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-05/1.857, allocations: 45.7 kB / 0.631 GB, free: 10.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/1.857, allocations: 362.1 kB / 0.6313 GB, free: 10.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/1.858, allocations: 470.8 kB / 0.6318 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004033/1.858, allocations: 274.8 kB / 0.6321 GB, free: 9.734 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/1.858, allocations: 310 kB / 0.6323 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/1.86, allocations: 2.113 MB / 0.6344 GB, free: 7.312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002477/1.863, allocations: 2.513 MB / 0.6369 GB, free: 4.629 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/1.868, allocations: 4.939 MB / 0.6417 GB, free: 15.56 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.94e-05/1.868, allocations: 8 kB / 0.6417 GB, free: 15.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007462/1.875, allocations: 7.17 MB / 0.6487 GB, free: 8.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/1.875, allocations: 8 kB / 0.6487 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/1.875, allocations: 12 kB / 0.6487 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.6329/2.508, allocations: 63.46 MB / 0.7107 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007705/2.509, allocations: 170.8 kB / 0.7109 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000926/2.51, allocations: 133.5 kB / 0.711 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/2.511, allocations: 143.7 kB / 0.7111 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/2.512, allocations: 125.3 kB / 0.7112 GB, free: 177.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003175/2.515, allocations: 2.3 MB / 0.7135 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002653/2.517, allocations: 2.514 MB / 0.7159 GB, free: 175.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005662/2.523, allocations: 4.933 MB / 0.7208 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.338e-05/2.523, allocations: 3.969 kB / 0.7208 GB, free: 173.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007883/2.531, allocations: 7.159 MB / 0.7277 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/2.531, allocations: 8 kB / 0.7278 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-05/2.531, allocations: 12 kB / 0.7278 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3093/2.841, allocations: 56.53 MB / 0.783 GB, free: 116.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/2.841, allocations: 179.7 kB / 0.7831 GB, free: 116.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007358/2.842, allocations: 125.1 kB / 0.7833 GB, free: 116 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/2.843, allocations: 122.8 kB / 0.7834 GB, free: 115.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002659/2.843, allocations: 132 kB / 0.7835 GB, free: 115.7 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.0005111/2.844, allocations: 258.4 kB / 0.7838 GB, free: 115.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/2.844, allocations: 63.23 kB / 0.7838 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03506/2.879, allocations: 8.709 MB / 0.7923 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/2.879, allocations: 31.98 kB / 0.7923 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/2.879, allocations: 0 / 0.7923 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.124e-05/2.879, allocations: 3.984 kB / 0.7924 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008097/2.887, allocations: 10.08 MB / 0.8022 GB, free: 96.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/2.888, allocations: 4 kB / 0.8022 GB, free: 96.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/2.888, allocations: 71.91 kB / 0.8023 GB, free: 96.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2918/3.18, allocations: 35.55 MB / 0.837 GB, free: 60.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003646/3.18, allocations: 46.8 kB / 0.837 GB, free: 60.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008521/3.189, allocations: 7.496 MB / 0.8443 GB, free: 53.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/3.189, allocations: 3.938 kB / 0.8444 GB, free: 53.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007291/3.196, allocations: 7.513 MB / 0.8517 GB, free: 45.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007202/3.197, allocations: 359.6 kB / 0.852 GB, free: 45.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/3.197, allocations: 19.98 kB / 0.8521 GB, free: 45.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008062/3.198, allocations: 59.53 kB / 0.8521 GB, free: 45.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/3.198, allocations: 76.86 kB / 0.8522 GB, free: 45.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/3.198, allocations: 99.98 kB / 0.8523 GB, free: 45.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001791/3.198, allocations: 178 kB / 0.8524 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/3.198, allocations: 0 / 0.8524 GB, free: 45.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002927/3.201, allocations: 0.8315 MB / 0.8533 GB, free: 44.29 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.01158/3.213, allocations: 13.03 MB / 0.866 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009163/3.222, allocations: 9.024 MB / 0.8748 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/3.222, allocations: 0 / 0.8748 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/3.225, allocations: 3.127 MB / 0.8778 GB, free: 19.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/3.228, allocations: 448.5 kB / 0.8783 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3682/3.596, allocations: 28.29 MB / 0.9059 GB, free: 175.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/3.597, allocations: 1.105 MB / 0.907 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001524/3.599, allocations: 270.2 kB / 0.9072 GB, free: 174.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/3.6, allocations: 352.8 kB / 0.9076 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of SimCode: time 2.695e-06/3.6, allocations: 0 / 0.9076 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/3.711, allocations: 50.86 MB / 0.9572 GB, free: 134 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003769/3.712, allocations: 273.3 kB / 0.9575 GB, free: 133.6 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:73: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:106: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:113:6: error: redefinition of 'initializeStaticDataNLS56' void initializeStaticDataNLS56(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.c:127:6: error: redefinition of 'getIterationVarsNLS56' void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:65:6: note: previous definition is here void getIterationVarsNLS56(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:2045:6: error: redefinition of 'initializeSparsePatternNLS213' void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:1983:6: note: previous definition is here void initializeSparsePatternNLS213(NONLINEAR_SYSTEM_DATA* inSysData) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_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_ArterialComposition_02nls.c:2066:6: error: redefinition of 'getIterationVarsNLS213' void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_02nls.c:2004:6: note: previous definition is here void getIterationVarsNLS213(DATA* data, double *array) ^ Physiolibrary_Physiolibrary_Media_Blood_ArterialComposition_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_ArterialComposition_02nls.o] Error 1