Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.312e-05, allocations: 8 kB / 349.1 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1761, allocations: 61.88 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6007/0.7769, allocations: 150.3 MB / 0.5481 GB, free: 1.801 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01467/0.7916, allocations: 6.828 MB / 0.5548 GB, free: 10.96 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.7928, allocations: 23.81 kB / 0.5548 GB, free: 10.93 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.7942, allocations: 322.3 kB / 0.5551 GB, free: 10.62 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006536/0.8008, allocations: 1.543 MB / 0.5566 GB, free: 9.07 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005785/0.8066, allocations: 1.391 MB / 0.558 GB, free: 7.676 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002605/0.8093, allocations: 0.9781 MB / 0.5589 GB, free: 6.691 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.8104, allocations: 435.2 kB / 0.5593 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.8147, allocations: 1.271 MB / 0.5606 GB, free: 4.992 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.8165, allocations: 0.565 MB / 0.5611 GB, free: 4.426 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01184/0.8283, allocations: 4.288 MB / 0.5653 GB, free: 136 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001491/0.8299, allocations: 152 kB / 0.5655 GB, free: 15.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008176/0.8307, allocations: 351 kB / 0.5658 GB, free: 15.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004516/0.8312, allocations: 112 kB / 0.5659 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006658/0.8379, allocations: 2.326 MB / 0.5682 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.838, allocations: 0 / 0.5682 GB, free: 13.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.838, allocations: 0 / 0.5682 GB, free: 13.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/0.838, allocations: 0 / 0.5682 GB, free: 13.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005451/0.8435, allocations: 1.427 MB / 0.5696 GB, free: 11.73 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.8436, allocations: 8.031 kB / 0.5696 GB, free: 11.72 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007385/0.8443, allocations: 110.9 kB / 0.5697 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.846, allocations: 0.5668 MB / 0.5702 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.8462, allocations: 117.4 kB / 0.5704 GB, free: 10.88 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.8464, allocations: 75.89 kB / 0.5704 GB, free: 10.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003208/0.8496, allocations: 1.153 MB / 0.5716 GB, free: 9.598 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.006e-05/0.8497, allocations: 11.94 kB / 0.5716 GB, free: 9.586 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.8499, allocations: 31.95 kB / 0.5716 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.8501, allocations: 65.89 kB / 0.5717 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.8537, allocations: 1.159 MB / 0.5728 GB, free: 8.328 MB / 490.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.01186/0.8656, allocations: 5.017 MB / 0.5777 GB, free: 2.973 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003071/0.8687, allocations: 0.8362 MB / 0.5785 GB, free: 2.133 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.8706, allocations: 1.619 MB / 0.5801 GB, free: 168 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.736e-05/0.8708, allocations: 55.06 kB / 0.5801 GB, free: 104 kB / 490.7 MB Notification: Performance of pre-optimization done (n=70): time 4.328e-06/0.8708, allocations: 0 / 0.5801 GB, free: 104 kB / 490.7 MB Notification: Performance of matching and sorting (n=82): time 0.02571/0.8965, allocations: 4.141 MB / 0.5842 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.767e-05/0.8966, allocations: 119.5 kB / 0.5843 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8979, allocations: 0.5813 MB / 0.5849 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002691/0.8982, allocations: 41.7 kB / 0.5849 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.8986, allocations: 410.1 kB / 0.5853 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/0.899, allocations: 295.8 kB / 0.5856 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.8991, allocations: 20 kB / 0.5856 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.8993, allocations: 346.8 kB / 0.5859 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001813/0.9011, allocations: 0.4899 MB / 0.5864 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.9033, allocations: 0.7562 MB / 0.5871 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002074/0.9054, allocations: 0.5846 MB / 0.5877 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.9054, allocations: 0 / 0.5877 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006134/0.9115, allocations: 1.642 MB / 0.5893 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.9116, allocations: 15.95 kB / 0.5893 GB, free: 6.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.117e-05/0.9117, allocations: 8.594 kB / 0.5893 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.9251, allocations: 1.374 MB / 0.5907 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.9265, allocations: 155.7 kB / 0.5908 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.9312, allocations: 1.542 MB / 0.5923 GB, free: 3.348 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.933, allocations: 95.83 kB / 0.5924 GB, free: 3.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.9332, allocations: 55.97 kB / 0.5925 GB, free: 3.199 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0007675/0.934, allocations: 293.5 kB / 0.5928 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.9343, allocations: 83.06 kB / 0.5928 GB, free: 2.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/0.9403, allocations: 1.724 MB / 0.5945 GB, free: 1.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.9404, allocations: 15.98 kB / 0.5945 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9404, allocations: 0 / 0.5945 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-05/0.9404, allocations: 3.984 kB / 0.5945 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.9482, allocations: 2.652 MB / 0.5971 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.9483, allocations: 0 / 0.5971 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/0.951, allocations: 263.7 kB / 0.5974 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003221/0.9542, allocations: 384.3 kB / 0.5978 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002389/0.9545, allocations: 39.86 kB / 0.5978 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.9586, allocations: 2.276 MB / 0.6 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9586, allocations: 0 / 0.6 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006997/0.9656, allocations: 2.124 MB / 0.6021 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009542/0.9666, allocations: 303.9 kB / 0.6024 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.9669, allocations: 27.98 kB / 0.6024 GB, free: 8.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001659/0.9686, allocations: 71.94 kB / 0.6025 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002404/0.9689, allocations: 64.86 kB / 0.6025 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001808/0.9691, allocations: 43.97 kB / 0.6026 GB, free: 8.469 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001031/0.9701, allocations: 483 kB / 0.603 GB, free: 8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9702, allocations: 4 kB / 0.603 GB, free: 7.996 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00275/0.9729, allocations: 0.6167 MB / 0.6036 GB, free: 7.379 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002917/0.9759, allocations: 0.7205 MB / 0.6043 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004861/0.9808, allocations: 1.244 MB / 0.6056 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/0.9808, allocations: 11.84 kB / 0.6056 GB, free: 5.395 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003217/0.9841, allocations: 0.694 MB / 0.6063 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/0.9882, allocations: 477.5 kB / 0.6067 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.9964, allocations: 2.543 MB / 0.6092 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008786/0.9973, allocations: 1.062 MB / 0.6102 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006691/0.998, allocations: 91.41 kB / 0.6103 GB, free: 472 kB / 0.5105 GB Notification: Performance of SimCode: time 1.352e-06/0.9981, allocations: 4 kB / 0.6103 GB, free: 468 kB / 0.5105 GB Notification: Performance of Templates: time 0.3824/1.381, allocations: 27.16 MB / 0.6368 GB, free: 169.7 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirAlgloop82.cpp:122:26: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp339_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirAlgloop82.cpp:126:208: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure4_f__nonlinear(_functions, /*box double*/__z[2], /*box double*/_system->_volume_P_ports2_P_h_outflow_, /*box BaseArray*//*t1*/ tmp338(/*t2*/tmp339) ), 190.0, 647.0, 1e-13, tmp340); ^~~~~~ /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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirFunctions.cpp:1426:34: error: use of undeclared identifier 'volume_' tmp258.push_back(Slice(1, 1, volume_.Medium_.nXi_)); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirInitialize.cpp:597:27: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp7_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirInitialize.cpp:601:27: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp8_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirInitialize.cpp:605:234: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_shortPipe_P_flowModel_P_states2_P_p_, /*box double*/_ambient_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _ambient_P_X_(/*t2*/tmp7)(/*t2*/tmp8) ), 190.0, 647.0, 1e-13, tmp9); ^~~~~~~~~~~~~ /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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.cpp:156:26: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp115_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.cpp:160:26: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp116_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.cpp:164:231: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_f__nonlinear(_functions, /*box double*/_shortPipe_P_flowModel_P_states2_P_p_, /*box double*/_ambient_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _ambient_P_X_(/*t2*/tmp115)(/*t2*/tmp116) ), 190.0, 647.0, 1e-13, tmp117); ^~~~~~~~~~~~~ /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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.cpp:369:26: error: use of undeclared identifier 'shortPipe_P_Medium_P_nXi_' int tmp129_num_elems =(shortPipe_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.cpp:373:199: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure2_f__nonlinear(_functions, /*box double*/__z[2], /*box double*/_volume_P_ports2_P_h_outflow_, /*box BaseArray*//*t1*/ tmp128(/*t2*/tmp129) ), 190.0, 647.0, 1e-13, tmp130); ^~~~~~ /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 ^ 11 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1