Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.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.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",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.001007/0.001007, allocations: 170.6 kB / 8.513 MB, free: 1.848 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.179/1.179, allocations: 221.4 MB / 230.3 MB, free: 7.625 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.0009224/0.0009224, allocations: 97.91 kB / 281.2 MB, free: 5.441 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.1815/0.1815, allocations: 44.15 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1766/0.3581, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.4498, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.843/4.293, allocations: 2.756 GB / 3.251 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/4.293, allocations: 79.19 kB / 3.251 GB, free: 17.57 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.6666/4.96, allocations: 211.6 MB / 3.457 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/4.96, allocations: 17.19 kB / 3.457 GB, free: 13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/4.962, allocations: 243.4 kB / 3.458 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/4.962, allocations: 278.5 kB / 3.458 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/4.962, allocations: 12 kB / 3.458 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/4.962, allocations: 20 kB / 3.458 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006169/4.963, allocations: 0.5088 MB / 3.458 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004087/4.963, allocations: 388.2 kB / 3.459 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/4.963, allocations: 7.938 kB / 3.459 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.521e-05/4.963, allocations: 4 kB / 3.459 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/4.963, allocations: 8 kB / 3.459 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.465/6.428, allocations: 373.2 MB / 3.823 GB, free: 81.42 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.588e-05/6.428, allocations: 41.02 kB / 3.823 GB, free: 81.38 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/6.429, allocations: 19.73 kB / 3.823 GB, free: 81.36 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09777/6.526, allocations: 46.05 MB / 3.868 GB, free: 39.21 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/6.527, allocations: 118.8 kB / 3.868 GB, free: 39.1 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/6.527, allocations: 0 / 3.868 GB, free: 39.1 MB / 0.5106 GB Notification: Performance of matching and sorting (n=10): time 0.001266/6.528, allocations: 360.4 kB / 3.869 GB, free: 38.91 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/6.528, allocations: 140.2 kB / 3.869 GB, free: 38.74 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/6.528, allocations: 225.8 kB / 3.869 GB, free: 38.58 MB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/6.528, allocations: 28.84 kB / 3.869 GB, free: 38.55 MB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 7.409e-05/6.528, allocations: 255.2 kB / 3.869 GB, free: 38.35 MB / 0.5106 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/6.528, allocations: 39.83 kB / 3.869 GB, free: 38.33 MB / 0.5106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/6.528, allocations: 0 / 3.869 GB, free: 38.33 MB / 0.5106 GB Notification: Performance of setup shared object (initialization): time 4.3e-05/6.528, allocations: 328.1 kB / 3.87 GB, free: 38.01 MB / 0.5106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/6.528, allocations: 62.28 kB / 3.87 GB, free: 37.97 MB / 0.5106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/6.528, allocations: 313.8 kB / 3.87 GB, free: 37.59 MB / 0.5106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/6.529, allocations: 115.7 kB / 3.87 GB, free: 37.52 MB / 0.5106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/6.529, allocations: 8 kB / 3.87 GB, free: 37.51 MB / 0.5106 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002255/6.531, allocations: 0.8171 MB / 3.871 GB, free: 37.06 MB / 0.5106 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/6.531, allocations: 4 kB / 3.871 GB, free: 37.05 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/6.531, allocations: 12.88 kB / 3.871 GB, free: 37.04 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/6.531, allocations: 12 kB / 3.871 GB, free: 37.03 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003473/6.532, allocations: 126.5 kB / 3.871 GB, free: 36.94 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/6.532, allocations: 15.84 kB / 3.871 GB, free: 36.93 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003887/6.532, allocations: 57.52 kB / 3.871 GB, free: 36.89 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/6.532, allocations: 34.78 kB / 3.871 GB, free: 36.86 MB / 0.5106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state_h_is.phase,state.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * Array equations: 0 * 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.421e-05/6.532, allocations: 137.1 kB / 3.871 GB, free: 36.75 MB / 0.5106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007753/6.533, allocations: 262.7 kB / 3.872 GB, free: 36.62 MB / 0.5106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/6.533, allocations: 245.6 kB / 3.872 GB, free: 36.44 MB / 0.5106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/6.533, allocations: 8 kB / 3.872 GB, free: 36.43 MB / 0.5106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/6.533, allocations: 3.906 kB / 3.872 GB, free: 36.43 MB / 0.5106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/6.533, allocations: 3.609 kB / 3.872 GB, free: 36.43 MB / 0.5106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/6.534, allocations: 0.5914 MB / 3.872 GB, free: 35.94 MB / 0.5106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/6.534, allocations: 7.859 kB / 3.872 GB, free: 35.94 MB / 0.5106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.08e-05/6.534, allocations: 16.5 kB / 3.872 GB, free: 35.93 MB / 0.5106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/6.534, allocations: 0 / 3.872 GB, free: 35.93 MB / 0.5106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/6.534, allocations: 7.906 kB / 3.872 GB, free: 35.92 MB / 0.5106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/6.534, allocations: 7.844 kB / 3.872 GB, free: 35.91 MB / 0.5106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/6.534, allocations: 0 / 3.872 GB, free: 35.91 MB / 0.5106 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009194/6.535, allocations: 0.5379 MB / 3.873 GB, free: 35.43 MB / 0.5106 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001035/6.536, allocations: 0.9652 MB / 3.874 GB, free: 34.48 MB / 0.5106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/6.536, allocations: 180.3 kB / 3.874 GB, free: 34.32 MB / 0.5106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/6.536, allocations: 4 kB / 3.874 GB, free: 34.32 MB / 0.5106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/6.536, allocations: 15.89 kB / 3.874 GB, free: 34.31 MB / 0.5106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/6.536, allocations: 4 kB / 3.874 GB, free: 34.3 MB / 0.5106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/6.536, allocations: 18.25 kB / 3.874 GB, free: 34.29 MB / 0.5106 GB Notification: Performance of sort global known variables: time 0.00019/6.537, allocations: 254.5 kB / 3.874 GB, free: 34.06 MB / 0.5106 GB Notification: Performance of remove unused functions: time 0.006467/6.543, allocations: 1.695 MB / 3.876 GB, free: 32.7 MB / 0.5106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * 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.00908/6.552, allocations: 2.151 MB / 3.878 GB, free: 31.05 MB / 0.5106 GB Notification: Performance of simCode: created initialization part: time 0.0003263/6.552, allocations: 171.6 kB / 3.878 GB, free: 30.92 MB / 0.5106 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/6.552, allocations: 0 / 3.878 GB, free: 30.92 MB / 0.5106 GB Notification: Performance of simCode: created simulation system equations: time 2.649e-05/6.553, allocations: 20.59 kB / 3.878 GB, free: 30.91 MB / 0.5106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/6.553, allocations: 25.92 kB / 3.878 GB, free: 30.89 MB / 0.5106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3282/6.881, allocations: 98.14 MB / 3.974 GB, free: 117.2 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/6.881, allocations: 0.8321 MB / 3.975 GB, free: 116.5 MB / 0.5106 GB Notification: Performance of SimCode: time 4.71e-07/6.881, allocations: 0 / 3.975 GB, free: 116.5 MB / 0.5106 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)