Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001042/0.001042, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.215/1.215, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008935/0.0008931, allocations: 107.8 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008222/0.0008222, allocations: 43.94 kB / 327.2 MB, free: 336 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2309, allocations: 46.62 MB / 373.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.3831/0.6141, allocations: 212.7 MB / 0.5727 GB, free: 3.145 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0148/0.6289, allocations: 13.73 MB / 0.5861 GB, free: 11.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001288/0.6303, allocations: 27.75 kB / 0.5862 GB, free: 11.15 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.6315, allocations: 409.5 kB / 0.5865 GB, free: 10.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009498/0.641, allocations: 3.171 MB / 0.5896 GB, free: 8.074 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006589/0.6476, allocations: 2.461 MB / 0.592 GB, free: 5.895 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003713/0.6514, allocations: 3.791 MB / 0.5958 GB, free: 2.203 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.6526, allocations: 0.6662 MB / 0.5964 GB, free: 1.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007518/0.6601, allocations: 2.805 MB / 0.5991 GB, free: 14.98 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001965/0.6621, allocations: 1.097 MB / 0.6002 GB, free: 13.97 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004225/0.6625, allocations: 60 kB / 0.6003 GB, free: 13.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01207/0.6746, allocations: 6.873 MB / 0.607 GB, free: 7.395 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008562/0.6755, allocations: 492.8 kB / 0.6075 GB, free: 6.922 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.6769, allocations: 0.583 MB / 0.608 GB, free: 6.344 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.6876, allocations: 4.994 MB / 0.6129 GB, free: 1.637 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6877, allocations: 0 / 0.6129 GB, free: 1.637 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6877, allocations: 4 kB / 0.6129 GB, free: 1.633 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.182e-05/0.6877, allocations: 0 / 0.6129 GB, free: 1.633 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.005218/0.693, allocations: 2.136 MB / 0.615 GB, free: 15.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.693, allocations: 8.031 kB / 0.615 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006005/0.6936, allocations: 126.8 kB / 0.6151 GB, free: 15.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.695, allocations: 0.6818 MB / 0.6158 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/0.6951, allocations: 140.6 kB / 0.6159 GB, free: 14.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001716/0.6953, allocations: 82.03 kB / 0.616 GB, free: 14.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002309/0.6976, allocations: 1.472 MB / 0.6174 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.6977, allocations: 3.984 kB / 0.6174 GB, free: 12.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.6978, allocations: 42.2 kB / 0.6175 GB, free: 12.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/0.6979, allocations: 69.97 kB / 0.6175 GB, free: 12.74 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.7001, allocations: 1.471 MB / 0.619 GB, free: 11.27 MB / 442.7 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.008354/0.7085, allocations: 6.34 MB / 0.6252 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.7104, allocations: 0.9858 MB / 0.6261 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.7111, allocations: 0.523 MB / 0.6266 GB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001592/0.7127, allocations: 2.06 MB / 0.6287 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.7128, allocations: 51.55 kB / 0.6287 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004349/0.7132, allocations: 106.1 kB / 0.6288 GB, free: 412 kB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 4.187e-06/0.7133, allocations: 0 / 0.6288 GB, free: 412 kB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.01557/0.7288, allocations: 4.804 MB / 0.6335 GB, free: 11.56 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.7289, allocations: 111.8 kB / 0.6336 GB, free: 11.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009431/0.7299, allocations: 0.7776 MB / 0.6344 GB, free: 10.64 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.47e-05/0.73, allocations: 53.7 kB / 0.6344 GB, free: 10.58 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002786/0.7303, allocations: 444.4 kB / 0.6348 GB, free: 10.14 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.7305, allocations: 350.6 kB / 0.6352 GB, free: 9.805 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003921/0.7309, allocations: 246.7 kB / 0.6354 GB, free: 9.559 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.7311, allocations: 402.7 kB / 0.6358 GB, free: 9.156 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001155/0.7323, allocations: 0.6266 MB / 0.6364 GB, free: 8.523 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/0.7336, allocations: 0.9576 MB / 0.6373 GB, free: 7.418 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.7361, allocations: 1.662 MB / 0.639 GB, free: 5.602 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.7361, allocations: 4 kB / 0.639 GB, free: 5.598 MB / 458.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003612/0.7398, allocations: 1.937 MB / 0.6409 GB, free: 3.641 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.651e-05/0.7398, allocations: 71.39 kB / 0.6409 GB, free: 3.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.7399, allocations: 12 kB / 0.6409 GB, free: 3.547 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001435/0.7413, allocations: 307.4 kB / 0.6412 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7423, allocations: 279.5 kB / 0.6415 GB, free: 2.973 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.7438, allocations: 0.9094 MB / 0.6424 GB, free: 2.039 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.7449, allocations: 99.89 kB / 0.6425 GB, free: 1.941 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.745, allocations: 75.98 kB / 0.6426 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001464/0.7465, allocations: 0.8576 MB / 0.6434 GB, free: 1.004 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001352/0.7479, allocations: 0.9498 MB / 0.6443 GB, free: 15.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002494/0.7504, allocations: 1.635 MB / 0.6459 GB, free: 14.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.7504, allocations: 4 kB / 0.6459 GB, free: 14.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.00368/0.7541, allocations: 1.91 MB / 0.6478 GB, free: 12.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.7542, allocations: 67.94 kB / 0.6478 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/0.7542, allocations: 15.98 kB / 0.6479 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.7556, allocations: 315.7 kB / 0.6482 GB, free: 11.77 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000982/0.7566, allocations: 275.6 kB / 0.6484 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/0.7581, allocations: 0.9075 MB / 0.6493 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.7592, allocations: 107.8 kB / 0.6494 GB, free: 10.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.7594, allocations: 75.97 kB / 0.6495 GB, free: 10.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 2 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0004245/0.7598, allocations: 256.6 kB / 0.6497 GB, free: 10.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.7601, allocations: 98.81 kB / 0.6498 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.7639, allocations: 1.921 MB / 0.6517 GB, free: 8.086 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.7639, allocations: 15.98 kB / 0.6517 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7639, allocations: 0 / 0.6517 GB, free: 8.07 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.7639, allocations: 3.984 kB / 0.6517 GB, free: 8.066 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00518/0.7691, allocations: 3.033 MB / 0.6547 GB, free: 4.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7691, allocations: 3.938 kB / 0.6547 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000781/0.7699, allocations: 187.8 kB / 0.6549 GB, free: 4.789 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.7716, allocations: 378.6 kB / 0.6552 GB, free: 4.418 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-05/0.7717, allocations: 35.98 kB / 0.6553 GB, free: 4.383 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001307/0.773, allocations: 0.8801 MB / 0.6561 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.773, allocations: 4.031 kB / 0.6561 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3635/1.137, allocations: 32.44 MB / 0.6878 GB, free: 213.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/1.137, allocations: 323.1 kB / 0.6881 GB, free: 213.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.137, allocations: 33.62 kB / 0.6881 GB, free: 213.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000859/1.138, allocations: 84.25 kB / 0.6882 GB, free: 213.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/1.138, allocations: 70.53 kB / 0.6883 GB, free: 213.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.138, allocations: 57.38 kB / 0.6883 GB, free: 213.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006079/1.139, allocations: 0.5695 MB / 0.6889 GB, free: 213.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.139, allocations: 3.625 kB / 0.6889 GB, free: 213.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005713/1.145, allocations: 2.393 MB / 0.6912 GB, free: 213.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * 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 (99): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005862/1.151, allocations: 2.141 MB / 0.6933 GB, free: 212.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00402/1.155, allocations: 2.624 MB / 0.6959 GB, free: 211.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.155, allocations: 5.125 kB / 0.6959 GB, free: 211.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.156, allocations: 0.7394 MB / 0.6966 GB, free: 210.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.158, allocations: 0.5223 MB / 0.6971 GB, free: 210.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005134/1.163, allocations: 3.812 MB / 0.7009 GB, free: 207 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004366/1.164, allocations: 1.17 MB / 0.702 GB, free: 205.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001981/1.166, allocations: 0.688 MB / 0.7027 GB, free: 205.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/1.166, allocations: 167.3 kB / 0.7028 GB, free: 205 MB / 490.7 MB Notification: Performance of SimCode: time 4.81e-07/1.166, allocations: 0 / 0.7028 GB, free: 205 MB / 490.7 MB Notification: Performance of Templates: time 0.0962/1.263, allocations: 95.66 MB / 0.7963 GB, free: 109.2 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_functions.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_records.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_01exo.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_02nls.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_02nls.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.o Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.c Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.c:91:76: error: subscripted value is not an array, pointer, or vector real_array_create(&tmp0, ((modelica_real*)&((parentJacobian->seedVars[2])[((modelica_integer) 1) - 1] /* volume.medium.Xi.SeedA[1] SEED_VAR */)), 1, (_index_t)1); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.c:92:25: error: passing 'modelica_real' (aka 'double') to parameter of incompatible type 'real_array' (aka 'struct base_array_s') usub_alloc_real_array(sum_real_array(tmp0),&tmp1); ^~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/real_array.h:148:52: note: passing argument to parameter 'a' here extern void usub_alloc_real_array(const real_array a, real_array* dest); ^ Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.c:93:522: error: invalid operands to binary expression ('real_array' (aka 'struct base_array_s') and 'modelica_real' (aka 'double')) (parentJacobian->tmpVars[32]) /* der(volume.ports.2.h_outflow.$pDERA.dummyVarA) JACOBIAN_DIFF_VAR */ = ((parentJacobian->seedVars[3]) /* volume.medium.p.SeedA SEED_VAR */) * ((parentJacobian->tmpVars[7]) /* $cse30 JACOBIAN_DIFF_VAR */) + ((parentJacobian->seedVars[1]) /* volume.medium.T.SeedA SEED_VAR */) * ((parentJacobian->tmpVars[6]) /* $cse31 JACOBIAN_DIFF_VAR */) + ((parentJacobian->seedVars[2]) /* volume.medium.Xi.SeedA[1] SEED_VAR */) * ((parentJacobian->tmpVars[5]) /* $cse32 JACOBIAN_DIFF_VAR */) + (tmp1) * ((parentJacobian->tmpVars[4]) /* $cse33 JACOBIAN_DIFF_VAR */) + ((parentJacobian->resultVars[3]) /* der(volume.medium.p.$pDERA.dummyVarA) JACOBIAN_VAR */) * ((parentJacobian->tmpVars[3]) /* $cse34 JACOBIAN_DIFF_VAR */) + ((parentJacobian->resultVars[1]) /* der(volume.medium.T.$pDERA.dummyVarA) JACOBIAN_VAR */) * ((parentJacobian->tmpVars[2]) /* $cse35 JACOBIAN_DIFF_VAR */) + ((parentJacobian->resultVars[2]) /* der(volume.medium.Xi.$pDERA.dummyVarA[1]) JACOBIAN_VAR */) * ((parentJacobian->tmpVars[1]) /* $cse36 JACOBIAN_DIFF_VAR */ - (parentJacobian->tmpVars[0]) /* $cse37 JACOBIAN_DIFF_VAR */); ~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. make: *** [: Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_03lsy.o] Error 1