Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.00128/0.00128, allocations: 183 kB / 7.454 MB, free: 1.559 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.248/1.248, allocations: 170.6 MB / 178.4 MB, free: 3.945 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001702/0.001702, allocations: 111.9 kB / 217.7 MB, free: 12.69 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1756/0.1756, allocations: 37.97 MB / 294.8 MB, free: 56 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.592e-06/6.823e-06, allocations: 0 / 349.5 MB, free: 29.15 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 48.69 MB / 398.2 MB, free: 12.44 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8393/0.9461, allocations: 362.8 MB / 0.7431 GB, free: 10.35 MB / 434.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.9464, allocations: 67.3 kB / 0.7432 GB, free: 10.32 MB / 434.8 MB Notification: Performance of FrontEnd: time 0.3064/1.253, allocations: 18.49 MB / 0.7612 GB, free: 132 MB / 434.8 MB Notification: Performance of Transformations before backend: time 2.165e-05/1.253, allocations: 7.672 kB / 0.7612 GB, free: 132 MB / 434.8 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.001197/1.254, allocations: 0.5665 MB / 0.7618 GB, free: 131.6 MB / 434.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.254, allocations: 7.812 kB / 0.7618 GB, free: 131.6 MB / 434.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/1.254, allocations: 33.28 kB / 0.7618 GB, free: 131.6 MB / 434.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/1.255, allocations: 225 kB / 0.7621 GB, free: 131.4 MB / 434.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/1.255, allocations: 118 kB / 0.7622 GB, free: 131.3 MB / 434.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/1.255, allocations: 11.09 kB / 0.7622 GB, free: 131.3 MB / 434.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008128/1.256, allocations: 0.7195 MB / 0.7629 GB, free: 131.3 MB / 434.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003757/1.256, allocations: 286.9 kB / 0.7632 GB, free: 131.2 MB / 434.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.256, allocations: 0 / 0.7632 GB, free: 131.2 MB / 434.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/1.256, allocations: 0.5 kB / 0.7632 GB, free: 131.2 MB / 434.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/1.256, allocations: 7.438 kB / 0.7632 GB, free: 131.2 MB / 434.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/1.259, allocations: 3.514 MB / 0.7666 GB, free: 127.7 MB / 434.8 MB Notification: Performance of preOpt comSubExp (simulation): time 9.636e-05/1.259, allocations: 45.3 kB / 0.7666 GB, free: 127.7 MB / 434.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/1.259, allocations: 19.61 kB / 0.7667 GB, free: 127.7 MB / 434.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000525/1.26, allocations: 438.2 kB / 0.7671 GB, free: 127.3 MB / 434.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/1.26, allocations: 39.17 kB / 0.7671 GB, free: 127.3 MB / 434.8 MB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/1.26, allocations: 3.125 kB / 0.7671 GB, free: 127.3 MB / 434.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001962/1.26, allocations: 52.7 kB / 0.7672 GB, free: 127.2 MB / 434.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/1.26, allocations: 51.41 kB / 0.7672 GB, free: 127.2 MB / 434.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/1.26, allocations: 217.4 kB / 0.7674 GB, free: 127.1 MB / 434.8 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/1.26, allocations: 25.7 kB / 0.7674 GB, free: 127 MB / 434.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.26, allocations: 249.2 kB / 0.7677 GB, free: 126.8 MB / 434.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/1.26, allocations: 14.66 kB / 0.7677 GB, free: 126.8 MB / 434.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-06/1.26, allocations: 0 / 0.7677 GB, free: 126.8 MB / 434.8 MB Notification: Performance of setup shared object (initialization): time 7.702e-05/1.26, allocations: 329.8 kB / 0.768 GB, free: 126.5 MB / 434.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.346e-05/1.26, allocations: 36.5 kB / 0.768 GB, free: 126.5 MB / 434.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000181/1.261, allocations: 338.5 kB / 0.7684 GB, free: 126.1 MB / 434.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/1.261, allocations: 119.7 kB / 0.7685 GB, free: 126.1 MB / 434.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.261, allocations: 3.875 kB / 0.7685 GB, free: 126.1 MB / 434.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007224/1.262, allocations: 346.5 kB / 0.7688 GB, free: 126 MB / 434.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.262, allocations: 6.938 kB / 0.7688 GB, free: 126 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.262, allocations: 11.78 kB / 0.7688 GB, free: 126 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/1.262, allocations: 16.53 kB / 0.7689 GB, free: 126 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/1.262, allocations: 99.62 kB / 0.7689 GB, free: 126 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-05/1.262, allocations: 27.05 kB / 0.769 GB, free: 126 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/1.262, allocations: 54.88 kB / 0.769 GB, free: 125.9 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-05/1.263, allocations: 26.19 kB / 0.769 GB, free: 125.9 MB / 434.8 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 0.0001175/1.263, allocations: 127.9 kB / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-05/1.263, allocations: 23.31 kB / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/1.263, allocations: 15.19 kB / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/1.263, allocations: 7.609 kB / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/1.263, allocations: 0 / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.263, allocations: 4 kB / 0.7692 GB, free: 125.8 MB / 434.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/1.263, allocations: 168.1 kB / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/1.263, allocations: 0 / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-07/1.263, allocations: 0 / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.263, allocations: 3.938 kB / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/1.263, allocations: 10.84 kB / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/1.263, allocations: 3.938 kB / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.263, allocations: 0 / 0.7694 GB, free: 125.6 MB / 434.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001457/1.263, allocations: 153 kB / 0.7695 GB, free: 125.5 MB / 434.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001262/1.263, allocations: 107.8 kB / 0.7696 GB, free: 125.4 MB / 434.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.198e-05/1.263, allocations: 0 / 0.7696 GB, free: 125.4 MB / 434.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/1.264, allocations: 3.906 kB / 0.7697 GB, free: 125.4 MB / 434.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.62e-05/1.264, allocations: 0 / 0.7697 GB, free: 125.4 MB / 434.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/1.264, allocations: 7.656 kB / 0.7697 GB, free: 125.4 MB / 434.8 MB Notification: Performance of sort global known variables: time 0.0001263/1.264, allocations: 146.7 kB / 0.7698 GB, free: 125.3 MB / 434.8 MB Notification: Performance of remove unused functions: time 0.0006324/1.264, allocations: 86.53 kB / 0.7699 GB, free: 125.3 MB / 434.8 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.0002816/1.265, allocations: 163.3 kB / 0.77 GB, free: 125.2 MB / 434.8 MB Notification: Performance of simCode: created initialization part: time 0.0003012/1.265, allocations: 131.4 kB / 0.7702 GB, free: 125.1 MB / 434.8 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.265, allocations: 0 / 0.7702 GB, free: 125.1 MB / 434.8 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-05/1.265, allocations: 5 kB / 0.7702 GB, free: 125.1 MB / 434.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/1.265, allocations: 23.45 kB / 0.7702 GB, free: 125.1 MB / 434.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/1.275, allocations: 4.05 MB / 0.7741 GB, free: 124.8 MB / 434.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002644/1.276, allocations: 0.7554 MB / 0.7749 GB, free: 124.1 MB / 434.8 MB Notification: Performance of SimCode: time 9.62e-07/1.276, allocations: 0 / 0.7749 GB, free: 124.1 MB / 434.8 MB Notification: Performance of Templates: time 0.006445/1.282, allocations: 2.564 MB / 0.7774 GB, free: 123.7 MB / 434.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)