Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002204/0.002204, allocations: 187.3 kB / 7.456 MB, free: 2.316 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.299/1.299, allocations: 194.2 MB / 202.1 MB, free: 8.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001772/0.001772, allocations: 123.3 kB / 247.1 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1854/0.1854, allocations: 39.94 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.404e-06/7.424e-06, allocations: 0 / 392.8 MB, free: 75.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 54.87 MB / 447.6 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7557/0.8578, allocations: 294.2 MB / 0.7244 GB, free: 134.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.8581, allocations: 71.95 kB / 0.7245 GB, free: 134.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.04347/0.9016, allocations: 19.83 MB / 0.7439 GB, free: 114.3 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.9016, allocations: 0 / 0.7439 GB, free: 114.3 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009593/0.9026, allocations: 0.5686 MB / 0.7444 GB, free: 113.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.9027, allocations: 8.031 kB / 0.7444 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.9029, allocations: 27.8 kB / 0.7445 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.9031, allocations: 230.7 kB / 0.7447 GB, free: 113.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.9033, allocations: 115.3 kB / 0.7448 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.9033, allocations: 12 kB / 0.7448 GB, free: 113.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006699/0.904, allocations: 0.715 MB / 0.7455 GB, free: 112.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.9043, allocations: 277.9 kB / 0.7458 GB, free: 112.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.9043, allocations: 4 kB / 0.7458 GB, free: 112.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.9044, allocations: 4 kB / 0.7458 GB, free: 112.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.9044, allocations: 7.906 kB / 0.7458 GB, free: 112.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002233/0.9066, allocations: 3.196 MB / 0.7489 GB, free: 108.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.193e-05/0.9067, allocations: 53.62 kB / 0.749 GB, free: 108.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.9068, allocations: 24.92 kB / 0.749 GB, free: 108.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.9069, allocations: 170.2 kB / 0.7491 GB, free: 108.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.9069, allocations: 34.56 kB / 0.7492 GB, free: 108.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 2.094e-06/0.9069, allocations: 0 / 0.7492 GB, free: 108.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005678/0.9075, allocations: 144.8 kB / 0.7493 GB, free: 108 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.9076, allocations: 55.41 kB / 0.7494 GB, free: 108 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.9077, allocations: 199.6 kB / 0.7496 GB, free: 107.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.9077, allocations: 25.7 kB / 0.7496 GB, free: 107.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.9078, allocations: 222.6 kB / 0.7498 GB, free: 107.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.9078, allocations: 47.53 kB / 0.7498 GB, free: 107.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.9079, allocations: 0 / 0.7498 GB, free: 107.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.825e-05/0.9079, allocations: 326.8 kB / 0.7502 GB, free: 107.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.835e-05/0.908, allocations: 32.88 kB / 0.7502 GB, free: 107.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.9081, allocations: 309.2 kB / 0.7505 GB, free: 106.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003183/0.9084, allocations: 103.8 kB / 0.7506 GB, free: 106.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9085, allocations: 4 kB / 0.7506 GB, free: 106.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006442/0.9091, allocations: 321.2 kB / 0.7509 GB, free: 106.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9091, allocations: 4 kB / 0.7509 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9092, allocations: 8 kB / 0.7509 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.9092, allocations: 20.62 kB / 0.7509 GB, free: 106.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.9095, allocations: 107.8 kB / 0.751 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.9096, allocations: 23.92 kB / 0.751 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.9098, allocations: 12 kB / 0.7511 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.9099, allocations: 28 kB / 0.7511 GB, free: 106 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.91, allocations: 124.7 kB / 0.7512 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.91, allocations: 27.7 kB / 0.7512 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.9103, allocations: 100.2 kB / 0.7513 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.9103, allocations: 0 / 0.7513 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.9103, allocations: 0 / 0.7513 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.9103, allocations: 0 / 0.7513 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.9107, allocations: 380.8 kB / 0.7517 GB, free: 105.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9107, allocations: 7.969 kB / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.9108, allocations: 23.98 kB / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9108, allocations: 8 kB / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.9109, allocations: 0 / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9109, allocations: 128 / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.9109, allocations: 12.03 kB / 0.7517 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001884/0.9111, allocations: 220.3 kB / 0.7519 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.9112, allocations: 116.8 kB / 0.7521 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.9112, allocations: 0 / 0.7521 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.9114, allocations: 11.98 kB / 0.7521 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.9115, allocations: 4 kB / 0.7521 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.9115, allocations: 7.984 kB / 0.7521 GB, free: 104.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.798e-05/0.9116, allocations: 140.5 kB / 0.7522 GB, free: 104.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004878/0.9121, allocations: 95.94 kB / 0.7523 GB, free: 104.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002378/0.9123, allocations: 171 kB / 0.7525 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002501/0.9126, allocations: 145.5 kB / 0.7526 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9126, allocations: 0 / 0.7526 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 3.964e-05/0.9126, allocations: 23.94 kB / 0.7526 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.9129, allocations: 32.08 kB / 0.7527 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.9134, allocations: 194.8 kB / 0.7528 GB, free: 104.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.9136, allocations: 0.7592 MB / 0.7536 GB, free: 103.3 MB / 474.7 MB Notification: Performance of SimCode: time 4e-07/0.9136, allocations: 0 / 0.7536 GB, free: 103.3 MB / 474.7 MB Notification: Performance of Templates: time 0.006172/0.9198, allocations: 3.179 MB / 0.7567 GB, free: 100.1 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)