Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 270 MB / 282.7 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.866e-05/2.875e-05, allocations: 4 kB / 347 MB, free: 3.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 61.87 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5963/0.9208, allocations: 237.1 MB / 0.6308 GB, free: 9.555 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.9211, allocations: 91.44 kB / 0.6309 GB, free: 9.504 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068/1.989, allocations: 248.1 MB / 0.8732 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.228e-06/1.989, allocations: 0 / 0.8732 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.722e-05/1.989, allocations: 24.16 kB / 0.8732 GB, free: 62.77 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002498/1.991, allocations: 1.183 MB / 0.8744 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/1.991, allocations: 8.031 kB / 0.8744 GB, free: 61.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/1.993, allocations: 143.1 kB / 0.8745 GB, free: 61.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/1.994, allocations: 0.5482 MB / 0.8751 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.92e-05/1.994, allocations: 104.4 kB / 0.8752 GB, free: 60.69 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.994, allocations: 48 kB / 0.8752 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/1.996, allocations: 0.8071 MB / 0.876 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/1.996, allocations: 4 kB / 0.876 GB, free: 59.75 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-05/1.996, allocations: 27.98 kB / 0.876 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.515e-05/1.996, allocations: 40.92 kB / 0.8761 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/1.997, allocations: 0.5679 MB / 0.8766 GB, free: 59.11 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.005059/2.002, allocations: 4.488 MB / 0.881 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007296/2.003, allocations: 308 kB / 0.8813 GB, free: 53.98 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/2.003, allocations: 136.8 kB / 0.8814 GB, free: 53.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/2.004, allocations: 409.5 kB / 0.8818 GB, free: 53.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/2.004, allocations: 46.55 kB / 0.8819 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.594e-06/2.004, allocations: 4 kB / 0.8819 GB, free: 53.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.003743/2.008, allocations: 1.229 MB / 0.8831 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/2.008, allocations: 132.5 kB / 0.8832 GB, free: 51.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008314/2.008, allocations: 0.5736 MB / 0.8837 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/2.009, allocations: 33.7 kB / 0.8838 GB, free: 51.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/2.009, allocations: 417 kB / 0.8842 GB, free: 50.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/2.009, allocations: 126.2 kB / 0.8843 GB, free: 50.69 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/2.009, allocations: 16 kB / 0.8843 GB, free: 50.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.307e-05/2.009, allocations: 338.8 kB / 0.8846 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/2.009, allocations: 193.5 kB / 0.8848 GB, free: 50.15 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005129/2.01, allocations: 490.3 kB / 0.8853 GB, free: 49.53 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005145/2.01, allocations: 289.4 kB / 0.8856 GB, free: 49.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.008e-06/2.01, allocations: 7.938 kB / 0.8856 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001543/2.012, allocations: 0.7706 MB / 0.8863 GB, free: 48.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/2.012, allocations: 15.98 kB / 0.8863 GB, free: 48.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/2.012, allocations: 11.94 kB / 0.8863 GB, free: 48.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001535/2.014, allocations: 274.3 kB / 0.8866 GB, free: 48.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004766/2.014, allocations: 123.8 kB / 0.8867 GB, free: 48.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001134/2.015, allocations: 1.389 MB / 0.8881 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007991/2.016, allocations: 31.98 kB / 0.8881 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.924e-05/2.016, allocations: 43.98 kB / 0.8882 GB, free: 46.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/2.016, allocations: 152.9 kB / 0.8883 GB, free: 46.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/2.017, allocations: 67.22 kB / 0.8884 GB, free: 46.29 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/2.018, allocations: 0.6741 MB / 0.889 GB, free: 45.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/2.018, allocations: 8 kB / 0.889 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.8e-06/2.018, allocations: 4 kB / 0.889 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/2.018, allocations: 0 / 0.889 GB, free: 45.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002239/2.021, allocations: 1.193 MB / 0.8902 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.176e-06/2.021, allocations: 4 kB / 0.8902 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/2.021, allocations: 43.86 kB / 0.8902 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/2.022, allocations: 185.5 kB / 0.8904 GB, free: 44.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/2.022, allocations: 15.95 kB / 0.8904 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009817/2.023, allocations: 1.292 MB / 0.8917 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.888e-06/2.023, allocations: 0 / 0.8917 GB, free: 42.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/2.024, allocations: 0.7977 MB / 0.8925 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003513/2.025, allocations: 196.2 kB / 0.8927 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/2.025, allocations: 8 kB / 0.8927 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/2.026, allocations: 24.11 kB / 0.8927 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.667e-05/2.026, allocations: 23.97 kB / 0.8927 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-05/2.026, allocations: 27.97 kB / 0.8927 GB, free: 41.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006566/2.026, allocations: 439.2 kB / 0.8932 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.29e-07/2.026, allocations: 0 / 0.8932 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001229/2.028, allocations: 283.8 kB / 0.8934 GB, free: 40.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007503/2.028, allocations: 347.5 kB / 0.8938 GB, free: 40.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001167/2.03, allocations: 490.6 kB / 0.8942 GB, free: 40.08 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.876e-06/2.03, allocations: 0.8125 kB / 0.8942 GB, free: 40.08 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005314/2.03, allocations: 211.8 kB / 0.8944 GB, free: 39.87 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/2.032, allocations: 299.5 kB / 0.8947 GB, free: 39.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/2.034, allocations: 0.9305 MB / 0.8956 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/2.034, allocations: 0.9422 MB / 0.8966 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002509/2.035, allocations: 71.41 kB / 0.8966 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.78e-06/2.035, allocations: 0 / 0.8966 GB, free: 37.58 MB / 0.5261 GB Notification: Performance of Templates: time 0.02284/2.058, allocations: 16.62 MB / 0.9128 GB, free: 21.02 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47.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.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47AlgLoopMain.cpp:15: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47Algloop124.cpp:72:65: error: use of undeclared identifier '_Closure68_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure68_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_volume_P_vessel_ps_static_(2), /*box double*/_system->_volume_P_ports2_P_h_outflow_), 243.15, 373.15, 1e-13, tmp202); ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.cpp:25: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47AlgLoopMain.cpp:21: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47Algloop69.cpp:72:65: error: use of undeclared identifier '_Closure69_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__ph_f__nonlinear' _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure69_Modelica_Fluid_Pipes__omcQuot_537461746963506970652473686F727450697065_Medium_T__ph_f__nonlinear(_functions, /*box double*/_system->_volume_P_vessel_ps_static_(2), /*box double*/_system->_volume_P_ports2_P_h_outflow_), 243.15, 373.15, 1e-13, tmp214); ^ 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47CalcHelperMain.o] Error 1