Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [: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 4.0.0+maint.om/package.mo): time 0.0009946/0.0009947, allocations: 171.4 kB / 8.514 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 221.4 MB / 230.3 MB, free: 7.785 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009203/0.0009203, allocations: 88.67 kB / 281.2 MB, free: 5.535 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1546/0.1546, allocations: 44.14 MB / 376.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1699/0.3245, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.4151, allocations: 61.91 MB / 0.4942 GB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5463/0.9614, allocations: 300.3 MB / 0.7874 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001787/0.9616, allocations: 70.08 kB / 0.7875 GB, free: 88.32 MB / 0.4948 GB 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.04242/1.004, allocations: 20.92 MB / 0.8079 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/1.004, allocations: 13.19 kB / 0.8079 GB, free: 69.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/1.004, allocations: 23.81 kB / 0.808 GB, free: 69.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/1.004, allocations: 234.7 kB / 0.8082 GB, free: 69.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.209e-05/1.005, allocations: 115.3 kB / 0.8083 GB, free: 68.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/1.005, allocations: 12 kB / 0.8083 GB, free: 68.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005969/1.005, allocations: 0.7111 MB / 0.809 GB, free: 68.22 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/1.005, allocations: 277.9 kB / 0.8093 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/1.006, allocations: 7.938 kB / 0.8093 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/1.006, allocations: 3.906 kB / 0.8093 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/1.006, allocations: 11.98 kB / 0.8093 GB, free: 67.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/1.007, allocations: 3.192 MB / 0.8124 GB, free: 64.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.169e-05/1.007, allocations: 45.7 kB / 0.8124 GB, free: 64.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/1.007, allocations: 20.89 kB / 0.8125 GB, free: 64.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/1.008, allocations: 170.2 kB / 0.8126 GB, free: 63.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/1.008, allocations: 30.56 kB / 0.8127 GB, free: 63.87 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/1.008, allocations: 0 / 0.8127 GB, free: 63.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0004728/1.008, allocations: 152.8 kB / 0.8128 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.364e-05/1.008, allocations: 51.41 kB / 0.8129 GB, free: 63.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/1.008, allocations: 203.7 kB / 0.813 GB, free: 63.44 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/1.008, allocations: 25.7 kB / 0.8131 GB, free: 63.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/1.008, allocations: 222.6 kB / 0.8133 GB, free: 63.19 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/1.008, allocations: 39.55 kB / 0.8133 GB, free: 63.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-06/1.008, allocations: 4.031 kB / 0.8133 GB, free: 63.14 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.854e-05/1.008, allocations: 330.8 kB / 0.8136 GB, free: 62.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.677e-05/1.008, allocations: 36.88 kB / 0.8137 GB, free: 62.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/1.009, allocations: 309.2 kB / 0.814 GB, free: 62.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002928/1.009, allocations: 111.8 kB / 0.8141 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.009, allocations: 4 kB / 0.8141 GB, free: 62.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005839/1.01, allocations: 313.8 kB / 0.8144 GB, free: 61.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.01, allocations: 12.12 kB / 0.8144 GB, free: 61.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.01, allocations: 16 kB / 0.8144 GB, free: 61.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.01, allocations: 16 kB / 0.8144 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.01, allocations: 111.8 kB / 0.8145 GB, free: 61.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.01, allocations: 15.94 kB / 0.8145 GB, free: 61.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002731/1.01, allocations: 15.98 kB / 0.8146 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/1.01, allocations: 24 kB / 0.8146 GB, free: 61.71 MB / 0.4948 GB 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 5.96e-05/1.01, allocations: 124.7 kB / 0.8147 GB, free: 61.58 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/1.01, allocations: 23.72 kB / 0.8147 GB, free: 61.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/1.011, allocations: 108.2 kB / 0.8148 GB, free: 61.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.784e-06/1.011, allocations: 4 kB / 0.8148 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/1.011, allocations: 3.984 kB / 0.8148 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/1.011, allocations: 0 / 0.8148 GB, free: 61.43 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/1.011, allocations: 380.7 kB / 0.8152 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.011, allocations: 0 / 0.8152 GB, free: 61.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/1.011, allocations: 19.98 kB / 0.8152 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.644e-06/1.011, allocations: 0 / 0.8152 GB, free: 60.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/1.011, allocations: 4 kB / 0.8152 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.011, allocations: 3.984 kB / 0.8152 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/1.011, allocations: 0 / 0.8152 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001593/1.011, allocations: 224.4 kB / 0.8154 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002023/1.012, allocations: 0.5988 MB / 0.816 GB, free: 60.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/1.012, allocations: 112.8 kB / 0.8161 GB, free: 59.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/1.012, allocations: 7.984 kB / 0.8161 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/1.012, allocations: 4 kB / 0.8161 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/1.012, allocations: 7.984 kB / 0.8161 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.012, allocations: 4 kB / 0.8162 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.024e-05/1.012, allocations: 140.5 kB / 0.8163 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001062/1.013, allocations: 99.89 kB / 0.8164 GB, free: 59.7 MB / 0.4948 GB 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.0001905/1.013, allocations: 175.1 kB / 0.8165 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002095/1.013, allocations: 144.1 kB / 0.8167 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.013, allocations: 4 kB / 0.8167 GB, free: 59.38 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.775e-05/1.014, allocations: 22.17 kB / 0.8167 GB, free: 59.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/1.014, allocations: 28.36 kB / 0.8167 GB, free: 59.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/1.014, allocations: 205.8 kB / 0.8169 GB, free: 59.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001727/1.014, allocations: 0.7553 MB / 0.8177 GB, free: 58.32 MB / 0.4948 GB Notification: Performance of SimCode: time 2.41e-07/1.014, allocations: 0 / 0.8177 GB, free: 58.32 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1)