Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiPort.ports_b.1..m_flow|multiPort.ports_b.1..p|multiPort.ports_b.1..h_outflow|multiPort.ports_b.1..Xi_outflow.1.|multiPort.ports_b.2..m_flow|multiPort.ports_b.2..p|multiPort.ports_b.2..h_outflow|multiPort.ports_b.2..Xi_outflow.1.|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.383e-05/3.379e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1327, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort): time 0.6253/0.7581, allocations: 165 MB / 0.5625 GB, free: 3.211 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.02242/0.7806, allocations: 7.792 MB / 0.5701 GB, free: 11.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.7818, allocations: 31.75 kB / 0.5701 GB, free: 11.37 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.7837, allocations: 378.1 kB / 0.5705 GB, free: 11 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009237/0.7929, allocations: 1.803 MB / 0.5722 GB, free: 9.191 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01227/0.8052, allocations: 2.438 MB / 0.5746 GB, free: 6.746 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003545/0.8088, allocations: 1.071 MB / 0.5756 GB, free: 5.672 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001494/0.8103, allocations: 0.5159 MB / 0.5762 GB, free: 5.156 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002568/0.8129, allocations: 0.7287 MB / 0.5769 GB, free: 4.426 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002504/0.8155, allocations: 0.7561 MB / 0.5776 GB, free: 3.668 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02133/0.8368, allocations: 6.515 MB / 0.584 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.002114/0.839, allocations: 236 kB / 0.5842 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0008462/0.8399, allocations: 379.1 kB / 0.5846 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.8404, allocations: 116 kB / 0.5847 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.009892/0.8503, allocations: 3.333 MB / 0.5879 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.8503, allocations: 0 / 0.5879 GB, free: 9.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.345e-06/0.8504, allocations: 3.938 kB / 0.5879 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.744e-05/0.8504, allocations: 0 / 0.5879 GB, free: 9.086 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007029/0.8574, allocations: 1.812 MB / 0.5897 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8575, allocations: 8.031 kB / 0.5897 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/0.8583, allocations: 122.7 kB / 0.5898 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/0.8603, allocations: 0.6759 MB / 0.5905 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.545e-05/0.8604, allocations: 61.97 kB / 0.5905 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.8606, allocations: 67.98 kB / 0.5906 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00363/0.8643, allocations: 1.254 MB / 0.5918 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.8643, allocations: 3.938 kB / 0.5918 GB, free: 4.977 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/0.8645, allocations: 31.98 kB / 0.5919 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.8647, allocations: 77.95 kB / 0.5919 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004378/0.8691, allocations: 1.405 MB / 0.5933 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.8842, allocations: 4.973 MB / 0.5982 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.8875, allocations: 0.8478 MB / 0.599 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.8887, allocations: 0.7796 MB / 0.5997 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.8888, allocations: 50.94 kB / 0.5998 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=53): time 3.707e-06/0.8888, allocations: 0 / 0.5998 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.004375/0.8932, allocations: 1.224 MB / 0.601 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/0.8934, allocations: 107.2 kB / 0.6011 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.8954, allocations: 0.8833 MB / 0.602 GB, free: 10 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/0.8956, allocations: 37.7 kB / 0.602 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00046/0.8961, allocations: 469.7 kB / 0.6024 GB, free: 9.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.8964, allocations: 189.4 kB / 0.6026 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.8965, allocations: 12 kB / 0.6026 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.8967, allocations: 350.8 kB / 0.603 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.8982, allocations: 465.7 kB / 0.6034 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.8998, allocations: 0.601 MB / 0.604 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.9014, allocations: 0.5417 MB / 0.6045 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.9015, allocations: 0 / 0.6045 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.003824/0.9053, allocations: 1.204 MB / 0.6057 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005448/0.9059, allocations: 1.13 MB / 0.6068 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9059, allocations: 0 / 0.6068 GB, free: 4.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.473e-05/0.9059, allocations: 12 kB / 0.6068 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/0.9078, allocations: 211.6 kB / 0.607 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.9078, allocations: 7.953 kB / 0.607 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/0.9095, allocations: 138.7 kB / 0.6072 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.9097, allocations: 47.97 kB / 0.6072 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.9098, allocations: 4 kB / 0.6072 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003552/0.9133, allocations: 1.116 MB / 0.6083 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.9134, allocations: 7.984 kB / 0.6083 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9134, allocations: 8 kB / 0.6083 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/0.9152, allocations: 203.7 kB / 0.6085 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.9152, allocations: 8.281 kB / 0.6085 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.9164, allocations: 87.34 kB / 0.6086 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/0.9166, allocations: 47.97 kB / 0.6086 GB, free: 2.988 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 101 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007782/0.9173, allocations: 285.5 kB / 0.6089 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.9178, allocations: 98.88 kB / 0.609 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003805/0.9216, allocations: 1.227 MB / 0.6102 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/0.9217, allocations: 8 kB / 0.6102 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.9217, allocations: 0 / 0.6102 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.9217, allocations: 7.922 kB / 0.6102 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3409/1.263, allocations: 1.871 MB / 0.6121 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.263, allocations: 3.547 kB / 0.6121 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/1.264, allocations: 112.7 kB / 0.6122 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/1.264, allocations: 4.875 kB / 0.6122 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/1.264, allocations: 16.94 kB / 0.6122 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.234e-05/1.264, allocations: 9.656 kB / 0.6122 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/1.264, allocations: 3.391 kB / 0.6122 GB, free: 179.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002915/1.267, allocations: 1.037 MB / 0.6132 GB, free: 179.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/1.268, allocations: 237.2 kB / 0.6134 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/1.268, allocations: 10.44 kB / 0.6134 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001604/1.27, allocations: 47.33 kB / 0.6135 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.27, allocations: 46.59 kB / 0.6135 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.27, allocations: 36.3 kB / 0.6136 GB, free: 179.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001925/1.272, allocations: 0.751 MB / 0.6143 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.81e-07/1.272, allocations: 0 / 0.6143 GB, free: 179.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004561/1.277, allocations: 1.104 MB / 0.6154 GB, free: 179 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0043/1.281, allocations: 1.008 MB / 0.6164 GB, free: 178.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005024/1.286, allocations: 1.547 MB / 0.6179 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.31e-05/1.286, allocations: 2.844 kB / 0.6179 GB, free: 178.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001226/1.287, allocations: 375.6 kB / 0.6182 GB, free: 178.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004528/1.292, allocations: 496.7 kB / 0.6187 GB, free: 178.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004662/1.297, allocations: 2.024 MB / 0.6207 GB, free: 177 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007886/1.297, allocations: 1.065 MB / 0.6217 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/1.298, allocations: 110.8 kB / 0.6218 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/1.298, allocations: 5.062 kB / 0.6218 GB, free: 176.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.06408/1.362, allocations: 27.85 MB / 0.649 GB, free: 163.1 MB / 0.5105 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:325:27: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp2_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:329:27: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp3_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:333:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_source3_P_p_, /*box double*/_source3_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source3_P_X_(/*t2*/tmp2)(/*t2*/tmp3) ), 190.0, 647.0, 1e-13, tmp4); ^~~~~~~~~~~~~ /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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:422:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp7_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:426:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp8_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:430:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_f__nonlinear(_functions, /*box double*/_source2_P_p_, /*box double*/_source2_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source2_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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:780:28: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp17_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:784:28: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp18_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:788:230: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure2_f__nonlinear(_functions, /*box double*/_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_source1_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source1_P_X_(/*t2*/tmp17)(/*t2*/tmp18) ), 190.0, 647.0, 1e-13, tmp19); ^~~~~~~~~~~~~ /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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:900:28: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp38_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:904:28: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp39_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortInitialize.cpp:908:230: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure3_f__nonlinear(_functions, /*box double*/_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_source1_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source1_P_X_(/*t2*/tmp38)(/*t2*/tmp39) ), 190.0, 647.0, 1e-13, tmp40); ^~~~~~~~~~~~~ /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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:278:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp219_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:282:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp220_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:286:227: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure4_f__nonlinear(_functions, /*box double*/_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_source1_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source1_P_X_(/*t2*/tmp219)(/*t2*/tmp220) ), 190.0, 647.0, 1e-13, tmp221); ^~~~~~~~~~~~~ /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.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.cpp:36: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:465:26: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp238_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:469:26: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp239_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort.cpp:473:227: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure5_f__nonlinear(_functions, /*box double*/_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_source1_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source1_P_X_(/*t2*/tmp238)(/*t2*/tmp239) ), 190.0, 647.0, 1e-13, tmp240); ^~~~~~~~~~~~~ /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 ^ 18 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortCalcHelperMain.o] Error 1