Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.312/2.312, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.286e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1725, allocations: 61.88 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 1.206/1.378, allocations: 246.7 MB / 0.6422 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0493/1.428, allocations: 26.57 MB / 0.6681 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00427/1.432, allocations: 102.2 kB / 0.6682 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004512/1.437, allocations: 1.046 MB / 0.6692 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.02495/1.462, allocations: 6.181 MB / 0.6753 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01948/1.481, allocations: 5.003 MB / 0.6802 GB, free: 284 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.009288/1.49, allocations: 3.767 MB / 0.6838 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004368/1.495, allocations: 1.783 MB / 0.6856 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/1.508, allocations: 4.096 MB / 0.6896 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007179/1.515, allocations: 2.544 MB / 0.6921 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04189/1.557, allocations: 14.87 MB / 0.7066 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0063/1.564, allocations: 0.5828 MB / 0.7072 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.003765/1.568, allocations: 1.455 MB / 0.7086 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/1.57, allocations: 396 kB / 0.709 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.02735/1.598, allocations: 8.864 MB / 0.7176 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.598, allocations: 4 kB / 0.7176 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.671e-06/1.598, allocations: 3.938 kB / 0.7176 GB, free: 0.9688 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002081/1.598, allocations: 3.938 kB / 0.7176 GB, free: 0.9648 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: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.02071/1.619, allocations: 4.861 MB / 0.7224 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/1.619, allocations: 12.03 kB / 0.7224 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002485/1.621, allocations: 399.7 kB / 0.7228 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006222/1.628, allocations: 1.874 MB / 0.7246 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/1.628, allocations: 0.4917 MB / 0.7251 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/1.63, allocations: 285.2 kB / 0.7253 GB, free: 9.848 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01647/1.646, allocations: 4.912 MB / 0.7301 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/1.647, allocations: 11.69 kB / 0.7302 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008573/1.647, allocations: 122.7 kB / 0.7303 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006003/1.648, allocations: 274.2 kB / 0.7305 GB, free: 5.91 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01655/1.665, allocations: 5.087 MB / 0.7355 GB, free: 2.453 MB / 0.5417 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.05437/1.719, allocations: 22.12 MB / 0.7571 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009115/1.728, allocations: 2.657 MB / 0.7597 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004177/1.733, allocations: 3.298 MB / 0.7629 GB, free: 9.324 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001018/1.733, allocations: 64.75 kB / 0.763 GB, free: 9.273 MB / 0.573 GB Notification: Performance of pre-optimization done (n=232): time 5.39e-06/1.733, allocations: 0 / 0.763 GB, free: 9.273 MB / 0.573 GB Notification: Performance of matching and sorting (n=268): time 0.1116/1.844, allocations: 16 MB / 0.7786 GB, free: 12.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/1.844, allocations: 238.2 kB / 0.7788 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/1.85, allocations: 2.2 MB / 0.781 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0009175/1.851, allocations: 81.2 kB / 0.781 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001576/1.853, allocations: 1.403 MB / 0.7824 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001925/1.854, allocations: 0.9417 MB / 0.7833 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007133/1.855, allocations: 83.88 kB / 0.7834 GB, free: 8.824 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004058/1.856, allocations: 478.5 kB / 0.7839 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007922/1.864, allocations: 2.037 MB / 0.7859 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009329/1.873, allocations: 3.276 MB / 0.7891 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009239/1.882, allocations: 2.594 MB / 0.7916 GB, free: 2.332 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-05/1.882, allocations: 12 kB / 0.7916 GB, free: 2.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.02551/1.908, allocations: 6.149 MB / 0.7976 GB, free: 14.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.006282/1.914, allocations: 15.08 MB / 0.8123 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001596/1.914, allocations: 40 kB / 0.8124 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007892/1.922, allocations: 0.9491 MB / 0.8133 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007773/1.93, allocations: 0.9061 MB / 0.8142 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008373/1.939, allocations: 2.785 MB / 0.8169 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007335/1.946, allocations: 385.6 kB / 0.8173 GB, free: 9.652 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.947, allocations: 241.2 kB / 0.8175 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.948, allocations: 4 kB / 0.8175 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02368/1.971, allocations: 5.918 MB / 0.8233 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/1.971, allocations: 40 kB / 0.8233 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007631/1.979, allocations: 0.9451 MB / 0.8243 GB, free: 4.629 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007517/1.987, allocations: 0.8951 MB / 0.8251 GB, free: 3.824 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/1.995, allocations: 2.782 MB / 0.8278 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006022/2.001, allocations: 378.3 kB / 0.8282 GB, free: 1.043 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/2.002, allocations: 240 kB / 0.8284 GB, free: 0.8438 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.003313/2.006, allocations: 0.8847 MB / 0.8293 GB, free: 312 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/2.007, allocations: 308.4 kB / 0.8296 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/2.031, allocations: 6.578 MB / 0.836 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/2.031, allocations: 39.98 kB / 0.8361 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/2.031, allocations: 0 / 0.8361 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.974e-05/2.031, allocations: 11.95 kB / 0.8361 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03052/2.062, allocations: 8.791 MB / 0.8447 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.687e-05/2.062, allocations: 0 / 0.8447 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005279/2.067, allocations: 0.5331 MB / 0.8452 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3708/2.438, allocations: 1.134 MB / 0.8463 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009903/2.439, allocations: 109.6 kB / 0.8464 GB, free: 284.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007461/2.446, allocations: 2.664 MB / 0.849 GB, free: 283.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/2.446, allocations: 2.203 kB / 0.849 GB, free: 283.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02747/2.474, allocations: 7.268 MB / 0.8561 GB, free: 282.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003514/2.478, allocations: 0.9147 MB / 0.857 GB, free: 282 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001818/2.479, allocations: 73.03 kB / 0.857 GB, free: 281.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00595/2.485, allocations: 275.5 kB / 0.8573 GB, free: 281.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001059/2.487, allocations: 199.8 kB / 0.8575 GB, free: 281.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007327/2.487, allocations: 146.3 kB / 0.8576 GB, free: 281.8 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.004786/2.492, allocations: 1.702 MB / 0.8593 GB, free: 281.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.182e-06/2.492, allocations: 0 / 0.8593 GB, free: 281.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01563/2.508, allocations: 3.212 MB / 0.8624 GB, free: 280.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01091/2.519, allocations: 2.394 MB / 0.8648 GB, free: 280.5 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02854/2.547, allocations: 8.392 MB / 0.873 GB, free: 277.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/2.547, allocations: 1.281 kB / 0.873 GB, free: 277.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.008061/2.555, allocations: 2.312 MB / 0.8752 GB, free: 276.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01131/2.567, allocations: 1.316 MB / 0.8765 GB, free: 276.4 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02574/2.593, allocations: 9.002 MB / 0.8853 GB, free: 272.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/2.595, allocations: 2.285 MB / 0.8875 GB, free: 271.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002678/2.598, allocations: 382.8 kB / 0.8879 GB, free: 271.3 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/2.598, allocations: 0 / 0.8879 GB, free: 271.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.2228/2.821, allocations: 117.8 MB / 1.003 GB, free: 158.2 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstancesCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesFunctions.cpp:5413:35: error: use of undeclared identifier 'volume1_' tmp1125.push_back(Slice(1, 1, volume1_.Medium_.nXi_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesFunctions.cpp:6250:35: error: use of undeclared identifier 'volume2_' tmp1182.push_back(Slice(1, 1, volume2_.Medium_.nXi_)); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesFunctions.cpp:7087:35: error: use of undeclared identifier 'volume3_' tmp1239.push_back(Slice(1, 1, volume3_.Medium_.nXi_)); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1432:27: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp2_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1436:27: error: use of undeclared identifier 'pipe3_P_Medium_P_nXi_' int tmp3_num_elems =(pipe3_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1440:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure0_f__nonlinear(_functions, /*box double*/_source2_P_p_, /*box double*/_source2_P_ports3_P_h_outflow_, /*box BaseArray*//*t1*/ _source2_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.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1462:27: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp5_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1466:27: error: use of undeclared identifier 'pipe2_P_Medium_P_nXi_' int tmp6_num_elems =(pipe2_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1470: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_ports3_P_h_outflow_, /*box BaseArray*//*t1*/ _source2_P_X_(/*t2*/tmp5)(/*t2*/tmp6) ), 190.0, 647.0, 1e-13, tmp7); ^~~~~~~~~~~~~ /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.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1492: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.TestMultiPortTraceSubstancesInitialize.cpp:1496:27: error: use of undeclared identifier 'pipe1_P_Medium_P_nXi_' int tmp9_num_elems =(pipe1_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:1500:210: error: no matching function for call to object of type 'StatArrayDim1' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure2_f__nonlinear(_functions, /*box double*/_source2_P_p_, /*box double*/_source2_P_ports3_P_h_outflow_, /*box BaseArray*//*t1*/ _source2_P_X_(/*t2*/tmp8)(/*t2*/tmp9) ), 190.0, 647.0, 1e-13, tmp10); ^~~~~~~~~~~~~ /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.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2070:28: error: use of undeclared identifier 'pipe4_P_Medium_P_nXi_' int tmp44_num_elems =(pipe4_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2074:6: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp44) { /* ASUB */ ^ ~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2081:69: error: no matching constructor for initialization of 'TestMultiPortTraceSubstancesInitialize::_Closure3_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure3_f__nonlinear(_functions, /*box double*/_pipe6_P_flowModel_P_states1_P_p_, /*box double*/_multiPort_P_ports_b2_P_h_outflow_, /*box BaseArray*//*t1*/tmp43), 190.0, 647.0, 1e-13, tmp45); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1410:5: note: candidate constructor not viable: no known conversion from 'double' to 'BaseArray &' for 4th argument _Closure3_f__nonlinear(Functions* functions, double p, double h, BaseArray& X) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1403:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided class _Closure3_f__nonlinear ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1403:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 4 were provided In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2133:28: error: use of undeclared identifier 'pipe5_P_Medium_P_nXi_' int tmp53_num_elems =(pipe5_P_Medium_P_nXi_-1)/1+1; ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2137:6: error: statement requires expression of integer type ('DynArrayDim1' invalid) switch (/*t2*/tmp53) { /* ASUB */ ^ ~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2144:69: error: no matching constructor for initialization of 'TestMultiPortTraceSubstancesInitialize::_Closure4_f__nonlinear' }_functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure4_f__nonlinear(_functions, /*box double*/_pipe6_P_flowModel_P_states1_P_p_, /*box double*/_multiPort_P_ports_b2_P_h_outflow_, /*box BaseArray*//*t1*/tmp52), 190.0, 647.0, 1e-13, tmp54); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1428:5: note: candidate constructor not viable: no known conversion from 'double' to 'BaseArray &' for 4th argument _Closure4_f__nonlinear(Functions* functions, double p, double h, BaseArray& X) ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1421:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 4 were provided class _Closure4_f__nonlinear ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.h:1421:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 4 were provided In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.cpp:30: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesInitialize.cpp:2196:28: error: use of undeclared identifier 'pipe6_P_Medium_P_nXi_' int tmp62_num_elems =(pipe6_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.TestMultiPortTraceSubstancesCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstancesCalcHelperMain.o] Error 1