Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater",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.001655/0.001655, allocations: 192.8 kB / 8.523 MB, free: 2.66 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.136/1.136, allocations: 221.4 MB / 230.3 MB, free: 7.68 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009097, allocations: 101.4 kB / 281.2 MB, free: 5.219 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2573/0.2573, allocations: 44.13 MB / 376.1 MB, free: 44.82 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.09354/0.3509, allocations: 68.03 MB / 444.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09504/0.4459, allocations: 61.92 MB / 0.4942 GB, free: 1.145 MB / 382.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5766/1.023, allocations: 377.3 MB / 0.8627 GB, free: 20.88 MB / 0.4981 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/1.023, allocations: 70.33 kB / 0.8627 GB, free: 20.84 MB / 0.4981 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.04153/1.064, allocations: 19.59 MB / 0.8819 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/1.064, allocations: 15.92 kB / 0.8819 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/1.065, allocations: 23.81 kB / 0.8819 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/1.065, allocations: 230.7 kB / 0.8821 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.378e-05/1.065, allocations: 119.3 kB / 0.8822 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/1.065, allocations: 12 kB / 0.8822 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006099/1.065, allocations: 0.7072 MB / 0.8829 GB, free: 236 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/1.066, allocations: 281.9 kB / 0.8832 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/1.066, allocations: 4 kB / 0.8832 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/1.066, allocations: 8.406 kB / 0.8832 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.929e-05/1.066, allocations: 4 kB / 0.8832 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003098/1.069, allocations: 3.506 MB / 0.8866 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/1.069, allocations: 50.62 kB / 0.8867 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.384e-05/1.069, allocations: 24.88 kB / 0.8867 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/1.07, allocations: 441.9 kB / 0.8871 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/1.07, allocations: 38.56 kB / 0.8872 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/1.07, allocations: 0 / 0.8872 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000173/1.07, allocations: 53.69 kB / 0.8872 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.07, allocations: 59.34 kB / 0.8873 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/1.07, allocations: 212.8 kB / 0.8875 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.319e-05/1.07, allocations: 25.7 kB / 0.8875 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/1.07, allocations: 246.1 kB / 0.8877 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/1.07, allocations: 23.86 kB / 0.8878 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/1.07, allocations: 0 / 0.8878 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.07, allocations: 326.8 kB / 0.8881 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.913e-05/1.071, allocations: 36.86 kB / 0.8881 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002522/1.071, allocations: 332.1 kB / 0.8884 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/1.071, allocations: 119.8 kB / 0.8885 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/1.071, allocations: 4 kB / 0.8885 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000723/1.072, allocations: 341.2 kB / 0.8889 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.072, allocations: 11.94 kB / 0.8889 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.072, allocations: 8.844 kB / 0.8889 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/1.072, allocations: 16 kB / 0.8889 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/1.072, allocations: 103.7 kB / 0.889 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/1.072, allocations: 19.92 kB / 0.889 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/1.073, allocations: 47.44 kB / 0.8891 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/1.073, allocations: 32 kB / 0.8891 GB, free: 9.031 MB / 0.5137 GB 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 9.002e-05/1.073, allocations: 128.7 kB / 0.8892 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/1.073, allocations: 15.81 kB / 0.8892 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/1.073, allocations: 24.7 kB / 0.8893 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.073, allocations: 0 / 0.8893 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.073, allocations: 4 kB / 0.8893 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/1.073, allocations: 0 / 0.8893 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/1.073, allocations: 178.2 kB / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/1.073, allocations: 0 / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/1.073, allocations: 0 / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/1.073, allocations: 0 / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/1.073, allocations: 0 / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/1.073, allocations: 0 / 0.8894 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.073, allocations: 3.906 kB / 0.8894 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001321/1.073, allocations: 151.4 kB / 0.8896 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002478/1.073, allocations: 0.5348 MB / 0.8901 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.214e-05/1.074, allocations: 104.9 kB / 0.8902 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/1.074, allocations: 4 kB / 0.8902 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/1.074, allocations: 3.906 kB / 0.8902 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/1.074, allocations: 8 kB / 0.8902 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.074, allocations: 4 kB / 0.8902 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of sort global known variables: time 0.0001152/1.074, allocations: 145.2 kB / 0.8904 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001093/1.075, allocations: 91.94 kB / 0.8905 GB, free: 7.551 MB / 0.5137 GB 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.0002152/1.075, allocations: 155.1 kB / 0.8906 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002298/1.075, allocations: 137.4 kB / 0.8907 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.075, allocations: 3.938 kB / 0.8907 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-05/1.075, allocations: 4 kB / 0.8907 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/1.076, allocations: 12.48 kB / 0.8908 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009857/1.086, allocations: 4.227 MB / 0.8949 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/1.086, allocations: 0.7514 MB / 0.8956 GB, free: 2.184 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/1.086, allocations: 0 / 0.8956 GB, free: 2.184 MB / 0.5137 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_LinearColdWater.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1)