Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sources.TestSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSources") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.327e-05, allocations: 11.98 kB / 347 MB, free: 3.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3266, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.346/8.673, allocations: 3.553 GB / 3.952 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/8.673, allocations: 85.45 kB / 3.952 GB, free: 92.24 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.518/16.19, allocations: 1.406 GB / 5.358 GB, free: 43.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.677e-06/16.19, allocations: 0 / 5.358 GB, free: 43.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002287/16.19, allocations: 61.61 kB / 5.358 GB, free: 43.34 MB / 0.6198 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.02396/16.22, allocations: 6.794 MB / 5.365 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/16.22, allocations: 9.094 kB / 5.365 GB, free: 40.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/16.22, allocations: 282.6 kB / 5.365 GB, free: 40.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004273/16.22, allocations: 1.431 MB / 5.367 GB, free: 39.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/16.22, allocations: 138.8 kB / 5.367 GB, free: 39.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006487/16.22, allocations: 177.8 kB / 5.367 GB, free: 39.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006808/16.23, allocations: 2.878 MB / 5.37 GB, free: 39.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.201e-05/16.23, allocations: 0 / 5.37 GB, free: 39.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004144/16.23, allocations: 83.64 kB / 5.37 GB, free: 39.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002469/16.23, allocations: 170.9 kB / 5.37 GB, free: 39.52 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007939/16.24, allocations: 3.072 MB / 5.373 GB, free: 39.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02642/16.26, allocations: 11.31 MB / 5.384 GB, free: 35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005622/16.27, allocations: 2.224 MB / 5.386 GB, free: 34.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/16.27, allocations: 0.9599 MB / 5.387 GB, free: 34.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002894/16.28, allocations: 3.404 MB / 5.391 GB, free: 31.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.701e-05/16.28, allocations: 69.7 kB / 5.391 GB, free: 31.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/16.28, allocations: 269.6 kB / 5.391 GB, free: 31.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=155): time 6.786e-06/16.28, allocations: 3.844 kB / 5.391 GB, free: 31.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=155): time 0.005875/16.28, allocations: 2.219 MB / 5.393 GB, free: 30.97 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/16.28, allocations: 203.1 kB / 5.393 GB, free: 30.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003248/16.29, allocations: 1.681 MB / 5.395 GB, free: 30.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0004899/16.29, allocations: 60.89 kB / 5.395 GB, free: 30.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006252/16.29, allocations: 0.8316 MB / 5.396 GB, free: 30.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006465/16.29, allocations: 0.5278 MB / 5.396 GB, free: 29.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002497/16.29, allocations: 43.56 kB / 5.396 GB, free: 29.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000147/16.29, allocations: 383.7 kB / 5.397 GB, free: 29.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/16.29, allocations: 0.9904 MB / 5.398 GB, free: 29.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/16.29, allocations: 1.372 MB / 5.399 GB, free: 29.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/16.3, allocations: 1.335 MB / 5.4 GB, free: 28.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/16.3, allocations: 2.25 kB / 5.4 GB, free: 28.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=248) (initialization): time 0.00734/16.3, allocations: 2.969 MB / 5.403 GB, free: 28.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008519/16.31, allocations: 3.983 MB / 5.407 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/16.31, allocations: 12.09 kB / 5.407 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005128/16.31, allocations: 0.6639 MB / 5.408 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/16.31, allocations: 447.4 kB / 5.408 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/16.32, allocations: 1.623 MB / 5.41 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/16.32, allocations: 151.6 kB / 5.41 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005296/16.32, allocations: 130.3 kB / 5.41 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/16.32, allocations: 2.438 kB / 5.41 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00694/16.33, allocations: 2.758 MB / 5.413 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/16.33, allocations: 10.38 kB / 5.413 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/16.33, allocations: 304 kB / 5.413 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/16.33, allocations: 0.4889 MB / 5.413 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/16.33, allocations: 1.31 MB / 5.415 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/16.34, allocations: 124.9 kB / 5.415 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005245/16.34, allocations: 123.2 kB / 5.415 GB, free: 22.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (235): * Single equations (assignments): 228 * 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.000777/16.34, allocations: 220.7 kB / 5.415 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006846/16.34, allocations: 218 kB / 5.415 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008588/16.35, allocations: 3.696 MB / 5.419 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.402e-05/16.35, allocations: 21.95 kB / 5.419 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.57e-06/16.35, allocations: 0 / 5.419 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/16.35, allocations: 9.969 kB / 5.419 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/16.36, allocations: 5.72 MB / 5.425 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/16.36, allocations: 8.203 kB / 5.425 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/16.36, allocations: 301.9 kB / 5.425 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004938/16.37, allocations: 0.6311 MB / 5.426 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004068/16.37, allocations: 54.38 kB / 5.426 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/16.37, allocations: 1.621 MB / 5.427 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.853e-06/16.37, allocations: 6.062 kB / 5.427 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006112/16.38, allocations: 3.077 MB / 5.43 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/16.38, allocations: 368.8 kB / 5.431 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006211/16.38, allocations: 38.09 kB / 5.431 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/16.38, allocations: 124.7 kB / 5.431 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003412/16.38, allocations: 132.4 kB / 5.431 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003251/16.38, allocations: 109.5 kB / 5.431 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002666/16.38, allocations: 1.399 MB / 5.432 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.89e-07/16.38, allocations: 0 / 5.432 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.009921/16.39, allocations: 2.853 MB / 5.435 GB, free: 17.51 MB / 0.6198 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.01017/16.4, allocations: 3.706 MB / 5.439 GB, free: 16.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00908/16.41, allocations: 4.201 MB / 5.443 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/16.41, allocations: 7.453 kB / 5.443 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/16.41, allocations: 1.081 MB / 5.444 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007952/16.42, allocations: 1.208 MB / 5.445 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007863/16.43, allocations: 3.352 MB / 5.448 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/16.43, allocations: 1.649 MB / 5.45 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/16.43, allocations: 247.2 kB / 5.45 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.38e-06/16.43, allocations: 2.531 kB / 5.45 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.125/16.56, allocations: 84.02 MB / 5.532 GB, free: 9.527 MB / 0.6198 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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop545.cpp:80:65: error: use of undeclared identifier '_Closure55_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706532_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure55_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706532_Medium_T__phX_f__nonlinear(_functions, /*box double*/_system->_boundary2_P_ports1_P_p_, /*box double*/_system->_boundary2_P_ports1_P_h_outflow_, /*box BaseArray*/_system->_boundary2_P_X_), 190.0, 647.0, 1e-13, tmp1192); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop635.cpp:95:65: error: use of undeclared identifier '_Closure56_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure56_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/_system->_boundary3_P_ports1_P_p_, /*box double*/_system->_boundary3_P_ports1_P_h_outflow_, /*box BaseArray*/_system->_boundary3_P_X_), 190.0, 647.0, 1e-13, tmp1208); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:18: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop178.cpp:87:65: error: use of undeclared identifier '_Closure57_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706533_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure57_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706533_Medium_T__phX_f__nonlinear(_functions, /*box double*/_system->_boundary3_P_ports1_P_p_, /*box double*/_system->_boundary3_P_ports1_P_h_outflow_, /*box BaseArray*/_system->_boundary3_P_X_), 190.0, 647.0, 1e-13, tmp1222); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgLoopMain.cpp:21: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sources.TestSourcesAlgloop203.cpp:82:65: error: use of undeclared identifier '_Closure58_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706532_Medium_T__phX_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure58_Modelica_Fluid_Pipes__omcQuot_53746174696350697065247069706532_Medium_T__phX_f__nonlinear(_functions, /*box double*/_system->_boundary2_P_ports1_P_p_, /*box double*/_system->_boundary2_P_ports1_P_h_outflow_, /*box BaseArray*/_system->_boundary2_P_X_), 190.0, 647.0, 1e-13, tmp1237); ^ 4 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