Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID.I.y|ductIn.mediums.1..T|ductIn.mediums.1..Xi.1.|ductIn.mediums.1..p|ductIn.mediums.2..T|ductIn.mediums.2..Xi.1.|ductIn.mediums.2..p|ductOut.mediums.1..T|ductOut.mediums.1..Xi.1.|ductOut.mediums.1..p|ductOut.mediums.2..T|ductOut.mediums.2..Xi.1.|ductOut.mediums.2..p|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls") Notification: Performance of loadModel(Modelica): time 2.355/2.355, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.554e-05, allocations: 8 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls): time 0.7639/0.8757, allocations: 199.3 MB / 0.5315 GB, free: 3.07 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.03219/0.9079, allocations: 13.23 MB / 0.5444 GB, free: 5.816 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002767/0.9108, allocations: 83.44 kB / 0.5445 GB, free: 5.734 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.9145, allocations: 0.8592 MB / 0.5454 GB, free: 4.871 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.9282, allocations: 3.325 MB / 0.5486 GB, free: 1.535 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01547/0.9437, allocations: 3.901 MB / 0.5524 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.008768/0.9525, allocations: 3.549 MB / 0.5559 GB, free: 10.07 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003775/0.9563, allocations: 1.539 MB / 0.5574 GB, free: 8.523 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01299/0.9693, allocations: 3.691 MB / 0.561 GB, free: 4.824 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005775/0.9752, allocations: 2.058 MB / 0.563 GB, free: 2.762 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.4403/1.416, allocations: 7.855 MB / 0.5707 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00416/1.42, allocations: 381.6 kB / 0.571 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003263/1.423, allocations: 1.507 MB / 0.5725 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002657/1.426, allocations: 391.8 kB / 0.5729 GB, free: 9.531 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01653/1.442, allocations: 6.597 MB / 0.5793 GB, free: 9.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.442, allocations: 2.781 kB / 0.5793 GB, free: 9.051 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.005e-06/1.442, allocations: 2.297 kB / 0.5793 GB, free: 9.051 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002287/1.443, allocations: 0 / 0.5793 GB, free: 9.051 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 829 * Number of variables: 829 Notification: Performance of Generate backend data structure: time 0.02001/1.463, allocations: 4.282 MB / 0.5835 GB, free: 7.211 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/1.463, allocations: 9.875 kB / 0.5835 GB, free: 7.211 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/1.466, allocations: 411.7 kB / 0.5839 GB, free: 7.027 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007323/1.473, allocations: 1.954 MB / 0.5858 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005562/1.474, allocations: 350.8 kB / 0.5862 GB, free: 6.434 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001756/1.476, allocations: 299.8 kB / 0.5864 GB, free: 6.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01827/1.494, allocations: 5.373 MB / 0.5917 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/1.494, allocations: 10.66 kB / 0.5917 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001441/1.496, allocations: 120.4 kB / 0.5918 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008708/1.497, allocations: 416.1 kB / 0.5922 GB, free: 5.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.515, allocations: 5.679 MB / 0.5978 GB, free: 5.895 MB / 458.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.05482/1.57, allocations: 22.16 MB / 0.6194 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01199/1.582, allocations: 3.723 MB / 0.623 GB, free: 8.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003934/1.586, allocations: 3.215 MB / 0.6262 GB, free: 5.402 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008493/1.595, allocations: 2.689 MB / 0.6288 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002723/1.597, allocations: 283.6 kB / 0.6291 GB, free: 4.379 MB / 474.7 MB Notification: Performance of pre-optimization done (n=317): time 1.757e-05/1.597, allocations: 0 / 0.6291 GB, free: 4.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=377): time 0.2362/1.834, allocations: 33.54 MB / 0.6618 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002982/1.834, allocations: 488.5 kB / 0.6623 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/1.839, allocations: 1.923 MB / 0.6642 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00148/1.841, allocations: 103.2 kB / 0.6643 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/1.843, allocations: 1.237 MB / 0.6655 GB, free: 5.266 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002869/1.846, allocations: 1.331 MB / 0.6668 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009112/1.847, allocations: 84.44 kB / 0.6669 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004806/1.847, allocations: 484.2 kB / 0.6673 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01162/1.859, allocations: 2.955 MB / 0.6702 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.872, allocations: 3.98 MB / 0.6741 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01291/1.885, allocations: 3.492 MB / 0.6775 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.482e-05/1.885, allocations: 8 kB / 0.6775 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=541) (initialization): time 0.04673/1.932, allocations: 9.605 MB / 0.6869 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.004875/1.936, allocations: 10.38 MB / 0.697 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/1.937, allocations: 32 kB / 0.6971 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01838/1.955, allocations: 2.688 MB / 0.6997 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008884/1.964, allocations: 0.9361 MB / 0.7006 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.983, allocations: 6.73 MB / 0.7072 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009112/1.992, allocations: 0.549 MB / 0.7077 GB, free: 144 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001811/1.994, allocations: 232.6 kB / 0.7079 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.994, allocations: 4 kB / 0.7079 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03911/2.033, allocations: 8.703 MB / 0.7164 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000125/2.033, allocations: 24.94 kB / 0.7165 GB, free: 9.684 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01607/2.049, allocations: 2.502 MB / 0.7189 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008757/2.058, allocations: 0.9405 MB / 0.7198 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/2.076, allocations: 6.575 MB / 0.7262 GB, free: 0.8477 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007821/2.083, allocations: 0.5235 MB / 0.7267 GB, free: 404 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001605/2.085, allocations: 224.3 kB / 0.727 GB, free: 216 kB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 118 * Number of states: 0 () * Number of discrete variables: 17 (traceVolume.ind,traceDuctIn.ind,traceDuctOut.ind,$whenCondition1,$PRE.numberOfPeople.nextTimeEvent,volume.regularFlow[1],volume.regularFlow[2],volume.regularFlow[3],volume.regularFlow[4],volume.inFlow[4],volume.inFlow[3],volume.inFlow[2],volume.inFlow[1],numberOfPeople.nextTimeEvent,$PRE.numberOfPeople.nextTimeEventScaled,numberOfPeople.nextTimeEventScaled,PID.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (500): * Single equations (assignments): 491 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.004528/2.09, allocations: 1.025 MB / 0.728 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/2.091, allocations: 312.3 kB / 0.7283 GB, free: 15.27 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03419/2.125, allocations: 8.94 MB / 0.737 GB, free: 8.848 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.923e-05/2.126, allocations: 44 kB / 0.737 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.808e-05/2.126, allocations: 0 / 0.737 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02744/2.153, allocations: 6.869 MB / 0.7437 GB, free: 3.805 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04923/2.202, allocations: 13.23 MB / 0.7567 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-05/2.202, allocations: 4 kB / 0.7567 GB, free: 10.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007293/2.21, allocations: 0.7051 MB / 0.7574 GB, free: 9.773 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02125/2.231, allocations: 3.05 MB / 0.7603 GB, free: 7.039 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001439/2.233, allocations: 175.4 kB / 0.7605 GB, free: 6.938 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/2.249, allocations: 6.361 MB / 0.7667 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/2.249, allocations: 1.594 kB / 0.7667 GB, free: 1.285 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3595/2.608, allocations: 11.48 MB / 0.7779 GB, free: 278.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004438/2.613, allocations: 1.091 MB / 0.779 GB, free: 278 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/2.615, allocations: 134.8 kB / 0.7791 GB, free: 278 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007936/2.623, allocations: 424.2 kB / 0.7795 GB, free: 277.9 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001395/2.624, allocations: 257.4 kB / 0.7798 GB, free: 277.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001037/2.626, allocations: 178.8 kB / 0.7799 GB, free: 277.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003552/2.629, allocations: 1.459 MB / 0.7814 GB, free: 277.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.51e-07/2.629, allocations: 0 / 0.7814 GB, free: 277.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01486/2.644, allocations: 2.891 MB / 0.7842 GB, free: 277.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 21 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1],ductOut.mCs_scaled[1,1],ductOut.mCs_scaled[2,1],ductOut.mediums[1].p,ductOut.mediums[1].Xi[1],ductOut.mediums[1].T,ductOut.mediums[2].p,ductOut.mediums[2].Xi[1],ductOut.mediums[2].T,PID.I.y,ductIn.mCs_scaled[1,1],ductIn.mCs_scaled[2,1],ductIn.mediums[1].p,ductIn.mediums[1].Xi[1],ductIn.mediums[1].T,ductIn.mediums[2].p,ductIn.mediums[2].Xi[1],ductIn.mediums[2].T) * Number of discrete variables: 3 ($whenCondition1,numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Number of discrete states: 2 (numberOfPeople.nextTimeEvent,numberOfPeople.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (373): * Single equations (assignments): 361 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 6,2 6,1 7,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01014/2.654, allocations: 2.015 MB / 0.7862 GB, free: 276.7 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03941/2.694, allocations: 11.43 MB / 0.7973 GB, free: 273.1 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/2.694, allocations: 0.6562 kB / 0.7973 GB, free: 273.1 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01275/2.706, allocations: 3.52 MB / 0.8008 GB, free: 272.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0124/2.719, allocations: 1.408 MB / 0.8021 GB, free: 271.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03365/2.753, allocations: 11.69 MB / 0.8135 GB, free: 263.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003614/2.756, allocations: 2.463 MB / 0.816 GB, free: 261.4 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00327/2.76, allocations: 388.4 kB / 0.8163 GB, free: 261.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.923e-06/2.76, allocations: 0 / 0.8163 GB, free: 261.1 MB / 0.573 GB Notification: Performance of Templates: time 0.2414/3.001, allocations: 150.3 MB / 0.9631 GB, free: 111.7 MB / 0.573 GB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:26: In file included from ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgLoopMain.cpp:21: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop1450.cpp:82:26: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp993_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop1450.cpp:86:26: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp994_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop1450.cpp:90:237: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure7_f__nonlinear(_functions, /*box double*/_system->_ductIn_P_statesFM1_P_p_, /*box double*/_system->_freshAir_P_ports2_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_freshAir_P_X_(/*t2*/tmp993)(/*t2*/tmp994) ), 190.0, 647.0, 1e-13, tmp995); ^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:26: In file included from ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgLoopMain.cpp:39: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop418.cpp:84:27: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp1060_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop418.cpp:88:27: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp1061_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsAlgloop418.cpp:92:237: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure8_f__nonlinear(_functions, /*box double*/_system->_ductIn_P_statesFM1_P_p_, /*box double*/_system->_freshAir_P_ports2_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_freshAir_P_X_(/*t2*/tmp1060)(/*t2*/tmp1061) ), 190.0, 647.0, 1e-13, tmp1062); ^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsFunctions.cpp:349:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp638.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsFunctions.cpp:4018:34: error: use of undeclared identifier 'volume_' tmp856.push_back(Slice(1, 1, volume_.Medium_.nXi_)); ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:1470:28: error: use of undeclared identifier 'ductOut_P_Medium_P_nXi_' int tmp13_num_elems =(ductOut_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:1474:28: error: use of undeclared identifier 'ductOut_P_Medium_P_nXi_' int tmp14_num_elems =(ductOut_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:1478:224: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_ductOut_P_statesFM4_P_p_, /*box double*/_boundary4_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _boundary4_P_X_(/*t2*/tmp13)(/*t2*/tmp14) ), 190.0, 647.0, 1e-13, tmp15); ^~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:3614:29: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp120_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:3618:203: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_f__nonlinear(_functions, /*box double*/__z[20], /*box double*/_volume_P_ports4_P_h_outflow_, /*box BaseArray*//*t1*/ tmp119(/*t2*/tmp120) ), 190.0, 647.0, 1e-13, tmp121); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:30: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:3994:29: error: use of undeclared identifier 'ductOut_P_Medium_P_nXi_' int tmp144_num_elems =(ductOut_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsInitialize.cpp:3998:203: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure2_f__nonlinear(_functions, /*box double*/__z[20], /*box double*/_volume_P_ports4_P_h_outflow_, /*box BaseArray*//*t1*/ tmp143(/*t2*/tmp144) ), 190.0, 647.0, 1e-13, tmp145); ^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.cpp:156:26: error: use of undeclared identifier 'ductOut_P_Medium_P_nXi_' int tmp419_num_elems =(ductOut_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.cpp:160:26: error: use of undeclared identifier 'ductOut_P_Medium_P_nXi_' int tmp420_num_elems =(ductOut_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.cpp:164:221: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure3_f__nonlinear(_functions, /*box double*/_ductOut_P_statesFM4_P_p_, /*box double*/_boundary4_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _boundary4_P_X_(/*t2*/tmp419)(/*t2*/tmp420) ), 190.0, 647.0, 1e-13, tmp421); ^~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:986:16: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual T& operator()(const vector& idx) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:995:23: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual T& operator()(size_t index) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:977:22: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'const vector' (aka 'const vector') for 1st argument virtual const T& operator()(const vector& idx) const ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1004:29: note: candidate function not viable: no known conversion from 'DynArrayDim1' to 'size_t' (aka 'unsigned long') for 1st argument inline virtual const T& operator()(size_t index) const ^ In file included from OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.cpp:36: ./OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControls.cpp:1130:26: error: use of undeclared identifier 'ductIn_P_Medium_P_nXi_' int tmp486_num_elems =(ductIn_P_Medium_P_nXi_-1)/1+1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2WithControlsCalcHelperMain.o] Error 1