Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|cp|cp2|cv|cv2|h2|d2|err_T|err_d|err_u|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 170.2 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001269, allocations: 91.81 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2921/0.2921, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.417e-06/9.648e-06, allocations: 224 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 58.85 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.799, allocations: 193.6 MB / 0.6544 GB, free: 113.1 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.7993, allocations: 74.2 kB / 0.6545 GB, free: 113.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.1932/0.9925, allocations: 54.24 MB / 0.7075 GB, free: 93.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.9926, allocations: 4 kB / 0.7075 GB, free: 93.8 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001593/0.9942, allocations: 0.618 MB / 0.7081 GB, free: 93.15 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.9943, allocations: 16.02 kB / 0.7081 GB, free: 93.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.995, allocations: 51.45 kB / 0.7081 GB, free: 93.09 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.9953, allocations: 218.4 kB / 0.7083 GB, free: 92.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.9953, allocations: 8 kB / 0.7083 GB, free: 92.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.288e-05/0.9954, allocations: 11.98 kB / 0.7084 GB, free: 92.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004355/0.9958, allocations: 221.7 kB / 0.7086 GB, free: 92.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00037/0.9962, allocations: 219.5 kB / 0.7088 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.9962, allocations: 3.938 kB / 0.7088 GB, free: 92.44 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.9963, allocations: 3.906 kB / 0.7088 GB, free: 92.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.9963, allocations: 4 kB / 0.7088 GB, free: 92.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003025/0.9993, allocations: 3.523 MB / 0.7122 GB, free: 88.45 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.9995, allocations: 52.95 kB / 0.7123 GB, free: 88.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.838e-05/0.9996, allocations: 24.23 kB / 0.7123 GB, free: 88.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.9999, allocations: 348.8 kB / 0.7126 GB, free: 87.97 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/1, allocations: 120.7 kB / 0.7127 GB, free: 87.85 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 2.525e-06/1, allocations: 3.938 kB / 0.7128 GB, free: 87.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=13): time 0.001493/1.002, allocations: 233.9 kB / 0.713 GB, free: 87.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/1.002, allocations: 106.8 kB / 0.7131 GB, free: 87.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/1.002, allocations: 158.9 kB / 0.7132 GB, free: 87.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/1.002, allocations: 25.7 kB / 0.7133 GB, free: 87.32 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/1.002, allocations: 235.7 kB / 0.7135 GB, free: 87.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/1.002, allocations: 42.61 kB / 0.7135 GB, free: 87.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/1.002, allocations: 0 / 0.7135 GB, free: 87.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/1.002, allocations: 322.3 kB / 0.7138 GB, free: 86.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/1.002, allocations: 34.75 kB / 0.7139 GB, free: 86.72 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/1.002, allocations: 177 kB / 0.714 GB, free: 86.49 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/1.005, allocations: 225.3 kB / 0.7142 GB, free: 86.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.005, allocations: 0 / 0.7142 GB, free: 86.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002883/1.008, allocations: 393.4 kB / 0.7146 GB, free: 85.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.008, allocations: 4 kB / 0.7146 GB, free: 85.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/1.008, allocations: 15.98 kB / 0.7146 GB, free: 85.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.008, allocations: 4 kB / 0.7146 GB, free: 85.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/1.009, allocations: 128.6 kB / 0.7148 GB, free: 85.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004421/1.01, allocations: 0.6124 MB / 0.7154 GB, free: 85.15 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/1.01, allocations: 4 kB / 0.7154 GB, free: 85.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/1.01, allocations: 27.98 kB / 0.7154 GB, free: 85.12 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/1.01, allocations: 45.48 kB / 0.7154 GB, free: 85.07 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.35e-05/1.01, allocations: 15.81 kB / 0.7155 GB, free: 85.05 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/1.011, allocations: 384.3 kB / 0.7158 GB, free: 84.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/1.012, allocations: 4 kB / 0.7158 GB, free: 84.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.012, allocations: 7.938 kB / 0.7158 GB, free: 84.68 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/1.012, allocations: 0 / 0.7158 GB, free: 84.68 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/1.013, allocations: 467.2 kB / 0.7163 GB, free: 84.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.013, allocations: 0 / 0.7163 GB, free: 84.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007728/1.013, allocations: 59.94 kB / 0.7163 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.013, allocations: 0 / 0.7163 GB, free: 84.17 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/1.013, allocations: 15.92 kB / 0.7163 GB, free: 84.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003918/1.014, allocations: 0.5931 MB / 0.7169 GB, free: 83.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.014, allocations: 4.031 kB / 0.7169 GB, free: 83.54 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007265/1.015, allocations: 286.7 kB / 0.7172 GB, free: 83.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000165/1.015, allocations: 130 kB / 0.7173 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.729e-05/1.015, allocations: 3.938 kB / 0.7173 GB, free: 83.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/1.015, allocations: 7.875 kB / 0.7173 GB, free: 83.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/1.015, allocations: 11.89 kB / 0.7173 GB, free: 83.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/1.015, allocations: 12 kB / 0.7174 GB, free: 83.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001027/1.015, allocations: 121.6 kB / 0.7175 GB, free: 82.98 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001249/1.017, allocations: 258.5 kB / 0.7177 GB, free: 82.74 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001479/1.018, allocations: 473.8 kB / 0.7182 GB, free: 82.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000957/1.019, allocations: 168.6 kB / 0.7183 GB, free: 82.14 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/1.019, allocations: 384 / 0.7183 GB, free: 82.14 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/1.02, allocations: 86.27 kB / 0.7184 GB, free: 82.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/1.02, allocations: 19.67 kB / 0.7184 GB, free: 82.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06405/1.084, allocations: 20.3 MB / 0.7383 GB, free: 63.94 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005214/1.085, allocations: 0.7863 MB / 0.739 GB, free: 63.13 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/1.085, allocations: 4 kB / 0.739 GB, free: 63.12 MB / 474.7 MB Notification: Performance of Templates: time 0.01466/1.099, allocations: 7.15 MB / 0.746 GB, free: 55.97 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.makefile b'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=7 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp/" -I. -I"." -I"." -I"." -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:424:26: error: use of undeclared identifier \'poly_Cp_\'\n double tmp43_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n./OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47Functions.cpp:424:39: error: use of undeclared identifier \'poly_Cp_\'\n double tmp43_data[]={poly_Cp_(1), poly_Cp_(2)};\n ^\n2 errors generated.\n: recipe for target \'OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47CalcHelperMain.o] Error 1\n'