Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 282.6 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.893e-05/3.898e-05, allocations: 0 / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.367, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5576/0.9246, allocations: 215.8 MB / 0.61 GB, free: 13.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.9249, allocations: 83.75 kB / 0.6101 GB, free: 13.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.036/2.961, allocations: 477.4 MB / 1.076 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.4e-06/2.961, allocations: 0 / 1.076 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001167/2.961, allocations: 31.98 kB / 1.076 GB, free: 59.38 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004504/2.965, allocations: 1.511 MB / 1.078 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/2.965, allocations: 8.031 kB / 1.078 GB, free: 57.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/2.97, allocations: 358.1 kB / 1.078 GB, free: 57.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/2.972, allocations: 0.8515 MB / 1.079 GB, free: 56.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.656e-05/2.972, allocations: 62 kB / 1.079 GB, free: 56.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/2.972, allocations: 84 kB / 1.079 GB, free: 56.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/2.976, allocations: 1.126 MB / 1.08 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/2.976, allocations: 7.984 kB / 1.08 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/2.976, allocations: 40 kB / 1.08 GB, free: 55.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.87e-05/2.976, allocations: 20 kB / 1.08 GB, free: 55.14 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/2.979, allocations: 0.8198 MB / 1.081 GB, free: 54.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007098/2.986, allocations: 5.385 MB / 1.086 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/2.988, allocations: 0.5297 MB / 1.087 GB, free: 47.97 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/2.989, allocations: 278.5 kB / 1.087 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/2.989, allocations: 1.394 MB / 1.089 GB, free: 45.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/2.989, allocations: 39.12 kB / 1.089 GB, free: 45.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009218/2.99, allocations: 130.9 kB / 1.089 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=65): time 4.329e-06/2.99, allocations: 4 kB / 1.089 GB, free: 45.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65): time 0.004265/2.995, allocations: 0.9201 MB / 1.09 GB, free: 44.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/2.995, allocations: 196.4 kB / 1.09 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/2.996, allocations: 0.8284 MB / 1.091 GB, free: 43.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/2.996, allocations: 37.7 kB / 1.091 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000299/2.997, allocations: 0.4902 MB / 1.091 GB, free: 43.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/2.997, allocations: 220.8 kB / 1.091 GB, free: 43.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/2.997, allocations: 20 kB / 1.091 GB, free: 43.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.802e-05/2.997, allocations: 342.8 kB / 1.092 GB, free: 42.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006613/2.998, allocations: 273.9 kB / 1.092 GB, free: 42.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/2.998, allocations: 471 kB / 1.092 GB, free: 41.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/2.999, allocations: 337.9 kB / 1.093 GB, free: 41.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7e-06/2.999, allocations: 4 kB / 1.093 GB, free: 41.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002231/3.001, allocations: 0.9106 MB / 1.094 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003645/3.002, allocations: 1.836 MB / 1.095 GB, free: 38.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/3.002, allocations: 7.984 kB / 1.095 GB, free: 38.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008692/3.011, allocations: 0.7655 MB / 1.096 GB, free: 37.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/3.012, allocations: 255.6 kB / 1.096 GB, free: 37.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/3.013, allocations: 0.7747 MB / 1.097 GB, free: 36.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/3.015, allocations: 99.72 kB / 1.097 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/3.015, allocations: 67.95 kB / 1.097 GB, free: 36.65 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/3.015, allocations: 4 kB / 1.097 GB, free: 36.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002188/3.017, allocations: 0.8081 MB / 1.098 GB, free: 35.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/3.017, allocations: 12.02 kB / 1.098 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/3.018, allocations: 76.75 kB / 1.098 GB, free: 35.74 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/3.019, allocations: 271.6 kB / 1.098 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/3.021, allocations: 1.627 MB / 1.1 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/3.022, allocations: 80 kB / 1.1 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/3.022, allocations: 55.97 kB / 1.1 GB, free: 33.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003075/3.022, allocations: 156.9 kB / 1.1 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/3.022, allocations: 122.5 kB / 1.1 GB, free: 33.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/3.027, allocations: 2.092 MB / 1.102 GB, free: 31.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/3.027, allocations: 12 kB / 1.102 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-06/3.027, allocations: 0 / 1.102 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/3.027, allocations: 7.984 kB / 1.102 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/3.031, allocations: 1.819 MB / 1.104 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/3.031, allocations: 4 kB / 1.104 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/3.032, allocations: 148.2 kB / 1.104 GB, free: 29.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004388/3.036, allocations: 0.5782 MB / 1.105 GB, free: 28.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/3.036, allocations: 27.98 kB / 1.105 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009899/3.037, allocations: 0.8174 MB / 1.106 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.599e-06/3.037, allocations: 3.953 kB / 1.106 GB, free: 27.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002325/3.04, allocations: 1.147 MB / 1.107 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007928/3.04, allocations: 315.3 kB / 1.107 GB, free: 26.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002826/3.041, allocations: 20 kB / 1.107 GB, free: 26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/3.042, allocations: 87.77 kB / 1.107 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/3.042, allocations: 60.48 kB / 1.107 GB, free: 25.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/3.042, allocations: 47.97 kB / 1.107 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001187/3.043, allocations: 0.7033 MB / 1.108 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.053e-06/3.043, allocations: 0 / 1.108 GB, free: 25.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002848/3.046, allocations: 0.7493 MB / 1.109 GB, free: 24.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/3.048, allocations: 486 kB / 1.109 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002835/3.05, allocations: 1.217 MB / 1.11 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.957e-06/3.05, allocations: 0 / 1.11 GB, free: 22.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008437/3.051, allocations: 340.7 kB / 1.111 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/3.054, allocations: 0.5154 MB / 1.111 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/3.058, allocations: 1.415 MB / 1.113 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/3.058, allocations: 1.103 MB / 1.114 GB, free: 19.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/3.059, allocations: 131.4 kB / 1.114 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of SimCode: time 1.687e-06/3.059, allocations: 0 / 1.114 GB, free: 19.07 MB / 0.5261 GB Notification: Performance of Templates: time 0.3591/3.418, allocations: 24.63 MB / 1.138 GB, free: 84.28 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.Valves.TestValvesIncompressibleReverseCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgLoopMain.cpp:12: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop263.cpp:85:65: error: use of undeclared identifier '_Closure114_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245632_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure114_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245632_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V2_P_port_a_P_h_outflow_), 273.15, 593.15, 1e-13, tmp442); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop263.cpp:96:65: error: use of undeclared identifier '_Closure115_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245635_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure115_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245635_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V5_P_port_b_P_h_outflow_), 273.15, 593.15, 1e-13, tmp446); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop263.cpp:99:65: error: use of undeclared identifier '_Closure116_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245633_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure116_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245633_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V3_P_port_a_P_h_outflow_), 273.15, 593.15, 1e-13, tmp447); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseCalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop84.cpp:95:65: error: use of undeclared identifier '_Closure117_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245633_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure117_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245633_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V3_P_port_a_P_h_outflow_), 273.15, 593.15, 1e-13, tmp459); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop84.cpp:107:65: error: use of undeclared identifier '_Closure118_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245632_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure118_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245632_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V2_P_port_a_P_h_outflow_), 273.15, 593.15, 1e-13, tmp465); ^ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseAlgloop84.cpp:110:65: error: use of undeclared identifier '_Closure119_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245635_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure119_Modelica_Fluid_Valves__omcQuot_56616C7665496E636F6D707265737369626C65245635_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_V2_P_port_b_P_p_, /*box double*/_system->_V5_P_port_b_P_h_outflow_), 273.15, 593.15, 1e-13, tmp466); ^ 6 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverseCalcHelperMain.o] Error 1