Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.787e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1363, allocations: 61.88 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.567/0.7034, allocations: 123.6 MB / 0.522 GB, free: 12.67 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.7193, allocations: 8.377 MB / 0.5302 GB, free: 4.293 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000236/0.7196, allocations: 3.938 kB / 0.5302 GB, free: 4.289 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.7199, allocations: 51.77 kB / 0.5302 GB, free: 4.238 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007281/0.7272, allocations: 1.85 MB / 0.5321 GB, free: 2.383 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.7279, allocations: 139.7 kB / 0.5322 GB, free: 2.246 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006577/0.7285, allocations: 252 kB / 0.5324 GB, free: 2 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.7286, allocations: 4 kB / 0.5324 GB, free: 1.996 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005353/0.7291, allocations: 211.5 kB / 0.5326 GB, free: 1.789 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009743/0.7301, allocations: 315.5 kB / 0.5329 GB, free: 1.48 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/0.7414, allocations: 3.851 MB / 0.5367 GB, free: 13.62 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.7425, allocations: 104 kB / 0.5368 GB, free: 13.52 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.7428, allocations: 91.7 kB / 0.5369 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.743, allocations: 40 kB / 0.5369 GB, free: 13.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004876/0.7479, allocations: 1.42 MB / 0.5383 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7479, allocations: 0 / 0.5383 GB, free: 11.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.7479, allocations: 0 / 0.5383 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.748, allocations: 0 / 0.5383 GB, free: 11.98 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.003565/0.7515, allocations: 0.9826 MB / 0.5393 GB, free: 10.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7516, allocations: 12.03 kB / 0.5393 GB, free: 10.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.7519, allocations: 39.62 kB / 0.5393 GB, free: 10.89 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.7524, allocations: 250.6 kB / 0.5396 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.7525, allocations: 127.5 kB / 0.5397 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.7526, allocations: 24 kB / 0.5397 GB, free: 10.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.7539, allocations: 0.5681 MB / 0.5403 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.7539, allocations: 7.938 kB / 0.5403 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.754, allocations: 12 kB / 0.5403 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.7541, allocations: 24.55 kB / 0.5403 GB, free: 9.797 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.7564, allocations: 1.255 MB / 0.5415 GB, free: 8.543 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.003847/0.7603, allocations: 2.042 MB / 0.5435 GB, free: 6.355 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.7614, allocations: 256.2 kB / 0.5438 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004892/0.7663, allocations: 3.173 MB / 0.5469 GB, free: 2.395 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.7664, allocations: 38.56 kB / 0.5469 GB, free: 2.348 MB / 458.7 MB Notification: Performance of pre-optimization done (n=42): time 5.14e-06/0.7664, allocations: 0 / 0.5469 GB, free: 2.348 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002972/0.7693, allocations: 0.7964 MB / 0.5477 GB, free: 1.504 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.7694, allocations: 59.36 kB / 0.5477 GB, free: 1.434 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.7697, allocations: 182.3 kB / 0.5479 GB, free: 1.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.859e-05/0.7698, allocations: 33.69 kB / 0.5479 GB, free: 1.211 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.77, allocations: 262.2 kB / 0.5482 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/0.7702, allocations: 157.7 kB / 0.5483 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.7703, allocations: 16 kB / 0.5483 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.7704, allocations: 326.8 kB / 0.5487 GB, free: 464 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.7708, allocations: 109.2 kB / 0.5488 GB, free: 356 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.7714, allocations: 401.6 kB / 0.5491 GB, free: 15.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.7719, allocations: 179.3 kB / 0.5493 GB, free: 15.63 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.7719, allocations: 7.984 kB / 0.5493 GB, free: 15.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001599/0.7735, allocations: 0.5481 MB / 0.5499 GB, free: 15.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/0.7736, allocations: 14.66 kB / 0.5499 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.7737, allocations: 8 kB / 0.5499 GB, free: 15.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.7737, allocations: 16 kB / 0.5499 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.7751, allocations: 187.7 kB / 0.5501 GB, free: 14.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009511/0.7761, allocations: 1.196 MB / 0.5512 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.7768, allocations: 24 kB / 0.5513 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.7769, allocations: 51.98 kB / 0.5513 GB, free: 13.53 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003116/0.7772, allocations: 177.5 kB / 0.5515 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.7774, allocations: 27.81 kB / 0.5515 GB, free: 13.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7797, allocations: 0.6848 MB / 0.5522 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.7798, allocations: 4 kB / 0.5522 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.7798, allocations: 0 / 0.5522 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.7798, allocations: 3.984 kB / 0.5522 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001955/0.7818, allocations: 0.9436 MB / 0.5531 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.7818, allocations: 4 kB / 0.5531 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008904/0.7827, allocations: 103.8 kB / 0.5532 GB, free: 11.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/0.7828, allocations: 4 kB / 0.5532 GB, free: 11.42 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.116e-05/0.7828, allocations: 11.94 kB / 0.5532 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008951/0.7837, allocations: 1.18 MB / 0.5544 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.7838, allocations: 4.031 kB / 0.5544 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009177/0.7847, allocations: 417.8 kB / 0.5548 GB, free: 9.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002714/0.785, allocations: 152.6 kB / 0.5549 GB, free: 9.551 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.7851, allocations: 8 kB / 0.5549 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005039/0.7856, allocations: 19.94 kB / 0.555 GB, free: 9.523 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.7857, allocations: 27.91 kB / 0.555 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.7858, allocations: 23.98 kB / 0.555 GB, free: 9.473 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002559/0.786, allocations: 164.5 kB / 0.5552 GB, free: 9.312 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7861, allocations: 0 / 0.5552 GB, free: 9.312 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002121/0.7882, allocations: 471.6 kB / 0.5556 GB, free: 8.852 MB / 474.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 33 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/0.7913, allocations: 0.6781 MB / 0.5563 GB, free: 8.168 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.7929, allocations: 365.3 kB / 0.5566 GB, free: 7.812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/0.7929, allocations: 4 kB / 0.5566 GB, free: 7.809 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006461/0.7936, allocations: 140.5 kB / 0.5568 GB, free: 7.672 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.7947, allocations: 103.4 kB / 0.5569 GB, free: 7.57 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.7966, allocations: 0.7796 MB / 0.5576 GB, free: 6.742 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.7971, allocations: 0.7815 MB / 0.5584 GB, free: 5.926 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004882/0.7976, allocations: 79.38 kB / 0.5585 GB, free: 5.852 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7976, allocations: 0 / 0.5585 GB, free: 5.852 MB / 474.7 MB Notification: Performance of Templates: time 0.03353/0.8312, allocations: 13.6 MB / 0.5717 GB, free: 8.289 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.MoistAirCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirFunctions.cpp:553:34: error: use of undeclared identifier 'Modelica_' tmp148.push_back(Slice(1, 1, Modelica_.Media_.Air_.MoistAir_.nX_)); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:535:27: error: use of undeclared identifier 'Medium_P_nXi_' int tmp7_num_elems =(Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:539:180: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, _functions->_OMC_LIT61, /*box double*/_h_is_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp7)), 190.0, 647.0, 1e-13, tmp8); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestAllProperties.MoistAirCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:573:28: error: use of undeclared identifier 'Medium_P_nX_' int tmp11_num_elems =(Medium_P_nX_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:577:177: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_f__nonlinear(_functions, _functions->_OMC_LIT62, /*box double*/_s_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp11)), 190.0, 647.0, 1e-13, tmp12); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestAllProperties.MoistAirCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:646:28: error: use of undeclared identifier 'Medium_P_nXi_' int tmp19_num_elems =(Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirInitialize.cpp:650:177: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure2_f__nonlinear(_functions, _functions->_OMC_LIT62, /*box double*/_h_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp19)), 190.0, 647.0, 1e-13, tmp20); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestAllProperties.MoistAirCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:146:26: error: use of undeclared identifier 'Medium_P_nXi_' int tmp101_num_elems =(Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:150:177: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure3_f__nonlinear(_functions, _functions->_OMC_LIT61, /*box double*/_h_is_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp101)), 190.0, 647.0, 1e-13, tmp102); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestAllProperties.MoistAirCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:162:26: error: use of undeclared identifier 'Medium_P_nX_' int tmp103_num_elems =(Medium_P_nX_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:166:174: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure4_f__nonlinear(_functions, _functions->_OMC_LIT62, /*box double*/_s_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp103)), 190.0, 647.0, 1e-13, tmp104); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.TestAllProperties.MoistAirCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:178:26: error: use of undeclared identifier 'Medium_P_nXi_' int tmp105_num_elems =(Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.cpp:182:174: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure5_f__nonlinear(_functions, _functions->_OMC_LIT62, /*box double*/_h_, /*box BaseArray*//*t1*/(_functions->_OMC_LIT55)(/*t2*/tmp105)), 190.0, 647.0, 1e-13, tmp106); ^~~~~~~~~~~~~~~~~~~~~~~~ /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 ^ 13 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.MoistAirCalcHelperMain.o] Error 1