Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 268.9 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.848e-05/4.848e-05, allocations: 7.984 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1865, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.27/1.457, allocations: 234.8 MB / 0.6305 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.04004/1.497, allocations: 20.74 MB / 0.6508 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/1.5, allocations: 83.28 kB / 0.6509 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.003639/1.503, allocations: 0.8378 MB / 0.6517 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0183/1.522, allocations: 4.509 MB / 0.6561 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0196/1.541, allocations: 4.967 MB / 0.6609 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.006386/1.548, allocations: 2.494 MB / 0.6634 GB, free: 2.48 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003358/1.551, allocations: 1.407 MB / 0.6648 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008575/1.56, allocations: 2.674 MB / 0.6674 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005354/1.565, allocations: 1.905 MB / 0.6692 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0384/1.604, allocations: 14 MB / 0.6829 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.005315/1.609, allocations: 0.504 MB / 0.6834 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.002518/1.612, allocations: 0.9621 MB / 0.6843 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002083/1.614, allocations: 282.6 kB / 0.6846 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02253/1.636, allocations: 7.452 MB / 0.6919 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.636, allocations: 0 / 0.6919 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/1.636, allocations: 4 kB / 0.6919 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001468/1.637, allocations: 0.75 kB / 0.6919 GB, free: 10.28 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01637/1.653, allocations: 3.856 MB / 0.6956 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.653, allocations: 8.656 kB / 0.6957 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/1.655, allocations: 295.4 kB / 0.6959 GB, free: 7.695 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004471/1.66, allocations: 1.398 MB / 0.6973 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/1.66, allocations: 145.3 kB / 0.6974 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008027/1.661, allocations: 188.2 kB / 0.6976 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009923/1.671, allocations: 3.132 MB / 0.7007 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.12e-05/1.671, allocations: 6.516 kB / 0.7007 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004417/1.671, allocations: 82.34 kB / 0.7008 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004102/1.672, allocations: 189.9 kB / 0.7009 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/1.683, allocations: 3.54 MB / 0.7044 GB, free: 2.566 MB / 0.5261 GB 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.03886/1.722, allocations: 13.06 MB / 0.7172 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005647/1.728, allocations: 1.727 MB / 0.7188 GB, free: 6.289 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002015/1.73, allocations: 1.666 MB / 0.7205 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.362e-05/1.73, allocations: 58.19 kB / 0.7205 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003249/1.733, allocations: 346.3 kB / 0.7209 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=153): time 6.823e-06/1.733, allocations: 0 / 0.7209 GB, free: 3.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=165): time 0.04895/1.782, allocations: 9.039 MB / 0.7297 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.782, allocations: 197.2 kB / 0.7299 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/1.786, allocations: 1.845 MB / 0.7317 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007082/1.787, allocations: 61.39 kB / 0.7317 GB, free: 11.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008918/1.788, allocations: 0.9126 MB / 0.7326 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.789, allocations: 0.581 MB / 0.7332 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/1.79, allocations: 44.31 kB / 0.7332 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002426/1.79, allocations: 404 kB / 0.7336 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004826/1.795, allocations: 1.333 MB / 0.7349 GB, free: 9.059 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005396/1.8, allocations: 1.71 MB / 0.7366 GB, free: 7.711 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/1.806, allocations: 1.576 MB / 0.7381 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-05/1.806, allocations: 6.531 kB / 0.7381 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01749/1.823, allocations: 4.054 MB / 0.7421 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001442/1.825, allocations: 3.373 MB / 0.7454 GB, free: 288 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/1.825, allocations: 8 kB / 0.7454 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/1.838, allocations: 1.299 MB / 0.7467 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004783/1.843, allocations: 0.5008 MB / 0.7471 GB, free: 14.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/1.848, allocations: 2.137 MB / 0.7492 GB, free: 12.83 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/1.854, allocations: 190.7 kB / 0.7494 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006481/1.854, allocations: 139.3 kB / 0.7496 GB, free: 12.56 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.854, allocations: 4 kB / 0.7496 GB, free: 12.55 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01649/1.871, allocations: 3.866 MB / 0.7533 GB, free: 9.871 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-05/1.871, allocations: 8 kB / 0.7533 GB, free: 9.863 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009286/1.88, allocations: 0.9479 MB / 0.7543 GB, free: 9.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004803/1.885, allocations: 0.4999 MB / 0.7548 GB, free: 8.559 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004957/1.89, allocations: 1.91 MB / 0.7566 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004029/1.894, allocations: 181.7 kB / 0.7568 GB, free: 6.738 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008233/1.895, allocations: 135.3 kB / 0.7569 GB, free: 6.625 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.002185/1.897, allocations: 0.5616 MB / 0.7575 GB, free: 6.27 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009139/1.898, allocations: 225.3 kB / 0.7577 GB, free: 6.047 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.914, allocations: 4.316 MB / 0.7619 GB, free: 2.934 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.75e-05/1.914, allocations: 23.98 kB / 0.7619 GB, free: 2.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/1.914, allocations: 0 / 0.7619 GB, free: 2.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-05/1.914, allocations: 10.59 kB / 0.7619 GB, free: 2.902 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.933, allocations: 5.682 MB / 0.7675 GB, free: 14.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/1.933, allocations: 4 kB / 0.7675 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002929/1.936, allocations: 302 kB / 0.7678 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009889/1.946, allocations: 1.14 MB / 0.7689 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005758/1.946, allocations: 68.2 kB / 0.7689 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/1.951, allocations: 2.052 MB / 0.771 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.951, allocations: 6.719 kB / 0.771 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0149/1.966, allocations: 4.648 MB / 0.7755 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.967, allocations: 419.3 kB / 0.7759 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001225/1.968, allocations: 48.67 kB / 0.7759 GB, free: 8.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004219/1.973, allocations: 159.8 kB / 0.7761 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006013/1.973, allocations: 126.9 kB / 0.7762 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004443/1.974, allocations: 101.5 kB / 0.7763 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003732/1.978, allocations: 1.53 MB / 0.7778 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.72e-07/1.978, allocations: 0 / 0.7778 GB, free: 6.586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01128/1.989, allocations: 2.493 MB / 0.7802 GB, free: 4.266 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,3 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.009018/1.998, allocations: 2.004 MB / 0.7822 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01881/2.017, allocations: 4.994 MB / 0.7871 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-05/2.017, allocations: 5.281 kB / 0.7871 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004929/2.022, allocations: 1.294 MB / 0.7883 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01066/2.033, allocations: 1.218 MB / 0.7895 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01475/2.047, allocations: 5.392 MB / 0.7948 GB, free: 8.211 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/2.049, allocations: 1.713 MB / 0.7965 GB, free: 6.539 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/2.052, allocations: 260.5 kB / 0.7967 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of SimCode: time 3.797e-06/2.052, allocations: 0 / 0.7967 GB, free: 6.301 MB / 0.6042 GB Notification: Performance of Templates: time 0.5712/2.623, allocations: 79.93 MB / 0.8748 GB, free: 287.5 MB / 0.6511 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestJunctionTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:115:26: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp990_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:119:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp990) { /* ASUB */ ^ ~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:126:66: error: use of undeclared identifier '_Closure12_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure12_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_1_P_h_outflow_, /*box BaseArray*//*t1*/tmp989), 190.0, 647.0, 1e-13, tmp991); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:155:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp1002_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:159:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp1003_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop690.cpp:163:211: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure13_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_3_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_pipe4_P_port_b_P_Xi_outflow_(/*t2*/tmp1002)(/*t2*/tmp1003) ), 190.0, 647.0, 1e-13, tmp1004); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.TestJunctionTraceSubstancesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:147:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp1041_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:151:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp1042_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:155:211: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure14_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_3_P_h_outflow_, /*box BaseArray*//*t1*/ _system->_pipe4_P_port_b_P_Xi_outflow_(/*t2*/tmp1041)(/*t2*/tmp1042) ), 190.0, 647.0, 1e-13, tmp1043); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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.TestJunctionTraceSubstancesCalcHelperMain.cpp:26: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:158:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp1045_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:162:3: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp1045) { /* ASUB */ ^ ~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesAlgloop207.cpp:169:66: error: use of undeclared identifier '_Closure15_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure15_f__nonlinear(_functions, /*box double*/__z[3], /*box double*/_system->_junction_P_port_1_P_h_outflow_, /*box BaseArray*//*t1*/tmp1044), 190.0, 647.0, 1e-13, tmp1046); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:525:27: error: use of undeclared identifier 'pipe5_P_Medium_P_nXi_' int tmp2_num_elems =(pipe5_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:529:27: error: use of undeclared identifier 'pipe5_P_Medium_P_nXi_' int tmp3_num_elems =(pipe5_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:533:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_source5_P_p_, /*box double*/_source5_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source5_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.TestJunctionTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:631:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp7_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:635:27: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp8_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:639:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_f__nonlinear(_functions, /*box double*/_source4_P_p_, /*box double*/_source4_P_ports1_P_h_outflow_, /*box BaseArray*//*t1*/ _source4_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.TestJunctionTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesInitialize.cpp:782:28: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp12_num_elems =(pipe3_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.Fittings.TestJunctionTraceSubstancesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstancesCalcHelperMain.o] Error 1