Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater") [: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.002815/0.002815, allocations: 181.5 kB / 7.457 MB, free: 2.504 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.216/1.216, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.001752/0.001752, allocations: 118.4 kB / 247.1 MB, free: 6.355 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.1858/0.1858, allocations: 39.95 MB / 331.9 MB, free: 4.891 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.501e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1032, allocations: 54.88 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/0.875, allocations: 369.1 MB / 0.7976 GB, free: 42 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.8753, allocations: 71.52 kB / 0.7977 GB, free: 41.97 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.03943/0.9147, allocations: 18.5 MB / 0.8158 GB, free: 26.86 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.9148, allocations: 4 kB / 0.8158 GB, free: 26.86 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.0009888/0.9158, allocations: 0.5702 MB / 0.8163 GB, free: 26.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9158, allocations: 12.03 kB / 0.8163 GB, free: 26.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.916, allocations: 27.8 kB / 0.8164 GB, free: 26.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.9163, allocations: 225.5 kB / 0.8166 GB, free: 25.98 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.9164, allocations: 119.3 kB / 0.8167 GB, free: 25.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.9164, allocations: 15.98 kB / 0.8167 GB, free: 25.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006412/0.9171, allocations: 0.7109 MB / 0.8174 GB, free: 25.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.9174, allocations: 282.4 kB / 0.8177 GB, free: 24.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.9174, allocations: 0 / 0.8177 GB, free: 24.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.9175, allocations: 7.938 kB / 0.8177 GB, free: 24.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.9175, allocations: 7.906 kB / 0.8177 GB, free: 24.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.92, allocations: 3.519 MB / 0.8211 GB, free: 21.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.9201, allocations: 46.36 kB / 0.8212 GB, free: 20.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.147e-05/0.9201, allocations: 16.58 kB / 0.8212 GB, free: 20.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004534/0.9206, allocations: 444.6 kB / 0.8216 GB, free: 20.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.887e-05/0.9206, allocations: 34.78 kB / 0.8216 GB, free: 20.46 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.9206, allocations: 0 / 0.8216 GB, free: 20.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001797/0.9208, allocations: 53.5 kB / 0.8217 GB, free: 20.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.9208, allocations: 55.31 kB / 0.8217 GB, free: 20.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.921, allocations: 218.4 kB / 0.822 GB, free: 20.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.921, allocations: 25.7 kB / 0.822 GB, free: 20.12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.9211, allocations: 252.5 kB / 0.8222 GB, free: 19.89 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/0.9211, allocations: 7.906 kB / 0.8222 GB, free: 19.88 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.9211, allocations: 0 / 0.8222 GB, free: 19.88 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.9212, allocations: 330.2 kB / 0.8225 GB, free: 19.55 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.84e-05/0.9212, allocations: 32 kB / 0.8226 GB, free: 19.54 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.9214, allocations: 342.5 kB / 0.8229 GB, free: 19.07 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003458/0.9217, allocations: 118.5 kB / 0.823 GB, free: 18.97 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9217, allocations: 4 kB / 0.823 GB, free: 18.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006025/0.9223, allocations: 332.1 kB / 0.8233 GB, free: 18.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.9224, allocations: 8 kB / 0.8233 GB, free: 18.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9224, allocations: 12 kB / 0.8234 GB, free: 18.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.346e-05/0.9224, allocations: 16 kB / 0.8234 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.9226, allocations: 95.52 kB / 0.8235 GB, free: 18.54 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.9227, allocations: 31.77 kB / 0.8235 GB, free: 18.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.923, allocations: 51.38 kB / 0.8235 GB, free: 18.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.923, allocations: 31.73 kB / 0.8236 GB, free: 18.43 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 8.254e-05/0.9231, allocations: 132.4 kB / 0.8237 GB, free: 18.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.9231, allocations: 15.81 kB / 0.8237 GB, free: 18.28 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.773e-05/0.9232, allocations: 20.55 kB / 0.8237 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.9232, allocations: 3.906 kB / 0.8237 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9232, allocations: 0 / 0.8237 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9232, allocations: 0 / 0.8237 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.9234, allocations: 169.1 kB / 0.8239 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9234, allocations: 0 / 0.8239 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.9234, allocations: 0 / 0.8239 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.9234, allocations: 3.938 kB / 0.8239 GB, free: 18.07 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.9234, allocations: 7.938 kB / 0.8239 GB, free: 18.06 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.9234, allocations: 4 kB / 0.8239 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9234, allocations: 0 / 0.8239 GB, free: 18.05 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001244/0.9235, allocations: 155 kB / 0.8241 GB, free: 17.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.9236, allocations: 104.6 kB / 0.8242 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.9237, allocations: 3.906 kB / 0.8242 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.9238, allocations: 11.67 kB / 0.8242 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.9238, allocations: 0 / 0.8242 GB, free: 17.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.9238, allocations: 4.031 kB / 0.8242 GB, free: 17.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.186e-05/0.9239, allocations: 147.8 kB / 0.8243 GB, free: 17.63 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004794/0.9244, allocations: 91.67 kB / 0.8244 GB, free: 17.55 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.000219/0.9246, allocations: 147.2 kB / 0.8245 GB, free: 17.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.9249, allocations: 133 kB / 0.8247 GB, free: 17.28 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9249, allocations: 4 kB / 0.8247 GB, free: 17.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.589e-05/0.9249, allocations: 3.938 kB / 0.8247 GB, free: 17.27 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.9251, allocations: 15.94 kB / 0.8247 GB, free: 17.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009075/0.9342, allocations: 4.061 MB / 0.8287 GB, free: 14.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.9345, allocations: 0.7513 MB / 0.8294 GB, free: 13.32 MB / 474.7 MB Notification: Performance of SimCode: time 8.72e-07/0.9345, allocations: 0 / 0.8294 GB, free: 13.32 MB / 474.7 MB Notification: Performance of Templates: time 0.006369/0.9409, allocations: 2.557 MB / 0.8319 GB, free: 10.79 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)