Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|boundary.ports.1..Xi_outflow.1.|boundary.ports.1..C_outflow.1.|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..C_outflow.1.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..C_outflow.1.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..C_outflow.1.|boundary4.ports.1..m_flow|boundary4.ports.1..p|boundary4.ports.1..h_outflow|boundary4.ports.1..Xi_outflow.1.|boundary4.ports.1..C_outflow.1.|boundary5.ports.1..m_flow|boundary5.ports.1..p|boundary5.ports.1..h_outflow|boundary5.ports.1..Xi_outflow.1.|boundary5.ports.1..C_outflow.1.|boundary6.ports.1..m_flow|boundary6.ports.1..p|boundary6.ports.1..h_outflow|boundary6.ports.1..Xi_outflow.1.|boundary6.ports.1..C_outflow.1.|boundary6.ports.2..m_flow|boundary6.ports.2..p|boundary6.ports.2..h_outflow|boundary6.ports.2..Xi_outflow.1.|boundary6.ports.2..C_outflow.1.|pipe.port_b.m_flow|pipe.port_b.p|pipe.port_b.h_outflow|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|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow|C.y|P.y|traceSubstance1.port_b.m_flow|traceSubstance1.port_b.p|traceSubstance1.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.662e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.14, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sources.TestSources): time 1.174/1.314, allocations: 234.2 MB / 0.6301 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.03513/1.349, allocations: 17.02 MB / 0.6467 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/1.352, allocations: 72.41 kB / 0.6467 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003467/1.355, allocations: 0.7975 MB / 0.6475 GB, free: 3.156 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01832/1.374, allocations: 3.894 MB / 0.6513 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.02275/1.397, allocations: 5.153 MB / 0.6564 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006237/1.403, allocations: 2.354 MB / 0.6587 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003208/1.406, allocations: 1.354 MB / 0.66 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/1.42, allocations: 4.248 MB / 0.6641 GB, free: 1.824 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005/1.425, allocations: 1.719 MB / 0.6658 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03782/1.463, allocations: 13.59 MB / 0.6791 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.005924/1.469, allocations: 489.7 kB / 0.6796 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.00279/1.472, allocations: 0.8961 MB / 0.6804 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002175/1.474, allocations: 275.6 kB / 0.6807 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02728/1.501, allocations: 7.143 MB / 0.6877 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.501, allocations: 0 / 0.6877 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.056e-06/1.501, allocations: 2.219 kB / 0.6877 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000134/1.501, allocations: 0 / 0.6877 GB, free: 10.83 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 480 * Number of variables: 480 Notification: Performance of Generate backend data structure: time 0.01966/1.521, allocations: 3.74 MB / 0.6913 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/1.521, allocations: 9.094 kB / 0.6913 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.523, allocations: 283 kB / 0.6916 GB, free: 8.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004165/1.528, allocations: 1.296 MB / 0.6929 GB, free: 7.652 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/1.528, allocations: 149 kB / 0.693 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006671/1.529, allocations: 177 kB / 0.6932 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009148/1.538, allocations: 2.969 MB / 0.6961 GB, free: 6.809 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/1.538, allocations: 8.766 kB / 0.6961 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004508/1.538, allocations: 83.42 kB / 0.6962 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003756/1.539, allocations: 163.7 kB / 0.6963 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/1.549, allocations: 3.274 MB / 0.6995 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03602/1.586, allocations: 11.53 MB / 0.7108 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008682/1.594, allocations: 2.384 MB / 0.7131 GB, free: 9.238 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004619/1.599, allocations: 3.405 MB / 0.7164 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001057/1.599, allocations: 59.09 kB / 0.7165 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00245/1.602, allocations: 265.7 kB / 0.7167 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=155): time 1.227e-05/1.602, allocations: 0 / 0.7167 GB, free: 4.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=155): time 0.01662/1.618, allocations: 3.57 MB / 0.7202 GB, free: 2.301 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000158/1.618, allocations: 197.2 kB / 0.7204 GB, free: 2.062 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005553/1.624, allocations: 1.699 MB / 0.7221 GB, free: 0.7656 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007687/1.625, allocations: 59.33 kB / 0.7221 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001148/1.626, allocations: 0.8423 MB / 0.723 GB, free: 196 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001269/1.627, allocations: 0.5267 MB / 0.7235 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/1.628, allocations: 42.44 kB / 0.7235 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003064/1.628, allocations: 385.9 kB / 0.7239 GB, free: 15.37 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005537/1.634, allocations: 1.079 MB / 0.7249 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006011/1.64, allocations: 1.506 MB / 0.7264 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006424/1.646, allocations: 1.421 MB / 0.7278 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-05/1.646, allocations: 4 kB / 0.7278 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01617/1.662, allocations: 3.212 MB / 0.7309 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002881/1.665, allocations: 4.324 MB / 0.7352 GB, free: 5.621 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.924e-05/1.666, allocations: 14.91 kB / 0.7352 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008811/1.674, allocations: 0.6879 MB / 0.7358 GB, free: 5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005861/1.68, allocations: 451.8 kB / 0.7363 GB, free: 4.598 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/1.684, allocations: 1.646 MB / 0.7379 GB, free: 3.121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005771/1.69, allocations: 139.5 kB / 0.738 GB, free: 3.016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009826/1.691, allocations: 121.8 kB / 0.7381 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/1.691, allocations: 7.938 kB / 0.7381 GB, free: 2.906 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01143/1.703, allocations: 3.007 MB / 0.7411 GB, free: 0.8359 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.438e-05/1.703, allocations: 8 kB / 0.7411 GB, free: 0.8281 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/1.705, allocations: 299.8 kB / 0.7414 GB, free: 0.5703 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004746/1.71, allocations: 498.4 kB / 0.7418 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/1.712, allocations: 1.32 MB / 0.7431 GB, free: 14.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00314/1.715, allocations: 133.3 kB / 0.7433 GB, free: 14.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000811/1.716, allocations: 124.4 kB / 0.7434 GB, free: 14.66 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 5 (traceSubstance.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance4.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002371/1.718, allocations: 0.5351 MB / 0.7439 GB, free: 14.31 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009055/1.719, allocations: 217.4 kB / 0.7441 GB, free: 14.1 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01286/1.732, allocations: 3.996 MB / 0.748 GB, free: 11.16 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-05/1.732, allocations: 17 kB / 0.748 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/1.732, allocations: 4 kB / 0.748 GB, free: 11.14 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.048e-05/1.732, allocations: 11.91 kB / 0.748 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/1.749, allocations: 5.865 MB / 0.7538 GB, free: 6.793 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.749, allocations: 11.94 kB / 0.7538 GB, free: 6.781 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002684/1.752, allocations: 300.4 kB / 0.7541 GB, free: 6.516 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005291/1.757, allocations: 0.6439 MB / 0.7547 GB, free: 5.945 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00043/1.758, allocations: 54.91 kB / 0.7547 GB, free: 5.914 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002266/1.76, allocations: 1.632 MB / 0.7563 GB, free: 4.449 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.259e-05/1.76, allocations: 8 kB / 0.7563 GB, free: 4.441 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/1.768, allocations: 3.234 MB / 0.7595 GB, free: 1.719 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.77, allocations: 371.8 kB / 0.7599 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009034/1.771, allocations: 42.92 kB / 0.7599 GB, free: 1.359 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003216/1.774, allocations: 117.3 kB / 0.76 GB, free: 1.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004495/1.774, allocations: 133.7 kB / 0.7601 GB, free: 1.156 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004134/1.775, allocations: 106.7 kB / 0.7602 GB, free: 1.066 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003266/1.778, allocations: 1.419 MB / 0.7616 GB, free: 32 kB / 0.573 GB Notification: Performance of sort global known variables: time 3.91e-07/1.778, allocations: 96 / 0.7616 GB, free: 32 kB / 0.573 GB Notification: Performance of remove unused functions: time 0.009419/1.788, allocations: 2.306 MB / 0.7639 GB, free: 13.89 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008376/1.796, allocations: 1.815 MB / 0.7656 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0136/1.81, allocations: 4.539 MB / 0.7701 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.791e-05/1.81, allocations: 9.719 kB / 0.7701 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003644/1.813, allocations: 1.182 MB / 0.7712 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01083/1.824, allocations: 1.205 MB / 0.7724 GB, free: 7.016 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.837, allocations: 4.859 MB / 0.7772 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001935/1.839, allocations: 1.657 MB / 0.7788 GB, free: 1.031 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.841, allocations: 247.6 kB / 0.779 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of SimCode: time 1.432e-06/1.841, allocations: 0 / 0.779 GB, free: 0.8047 MB / 0.5886 GB Notification: Performance of Templates: time 0.1809/2.022, allocations: 74.87 MB / 0.8521 GB, free: 6.551 MB / 0.6667 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources.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.Sources.TestSourcesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop551.cpp:82:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp933_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop551.cpp:86:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp934_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop551.cpp:90:248: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure14_f__nonlinear(_functions, /*box double*/_system->_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_system->_boundary2_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_boundary2_P_X_(/*t2*/tmp933)(/*t2*/tmp934) ), 190.0, 647.0, 1e-13, tmp935); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.Sources.TestSourcesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop643.cpp:97:26: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp951_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop643.cpp:101:26: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp952_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop643.cpp:105:248: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure15_f__nonlinear(_functions, /*box double*/_system->_pipe3_P_flowModel_P_states1_P_p_, /*box double*/_system->_boundary3_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_boundary3_P_X_(/*t2*/tmp951)(/*t2*/tmp952) ), 190.0, 647.0, 1e-13, tmp953); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.Sources.TestSourcesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop179.cpp:89:26: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp967_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop179.cpp:93:26: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp968_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop179.cpp:97:248: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure16_f__nonlinear(_functions, /*box double*/_system->_pipe3_P_flowModel_P_states1_P_p_, /*box double*/_system->_boundary3_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_boundary3_P_X_(/*t2*/tmp967)(/*t2*/tmp968) ), 190.0, 647.0, 1e-13, tmp969); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.Sources.TestSourcesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:21: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop204.cpp:84:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp984_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop204.cpp:88:26: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp985_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop204.cpp:92:248: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure17_f__nonlinear(_functions, /*box double*/_system->_pipe2_P_flowModel_P_states1_P_p_, /*box double*/_system->_boundary2_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_boundary2_P_X_(/*t2*/tmp984)(/*t2*/tmp985) ), 190.0, 647.0, 1e-13, tmp986); ^~~~~~~~~~~~~~~~~~~~~~~~ /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.Sources.TestSourcesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesFunctions.cpp:1491:34: error: use of undeclared identifier 'boundary1_' tmp644.push_back(Slice(1, 1, boundary1_.Medium_.nXi_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesFunctions.cpp:2234:34: error: use of undeclared identifier 'boundary3_' tmp696.push_back(Slice(1, 1, boundary3_.Medium_.nXi_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesFunctions.cpp:3341:34: error: use of undeclared identifier 'boundary6_' tmp769.push_back(Slice(1, 1, boundary6_.Medium_.nXi_)); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesInitialize.cpp:591:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp2_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesInitialize.cpp:595:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp3_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesInitialize.cpp:599:214: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_boundary5_P_p_, /*box double*/_boundary5_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _boundary5_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.Sources.TestSourcesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesInitialize.cpp:963:28: error: use of undeclared identifier 'pipe_P_Medium_P_nXi_' int tmp14_num_elems =(pipe_P_Medium_P_nXi_-1)/1+1; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.o] Error 1