Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001058/0.001058, allocations: 197.8 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008639/0.000864, allocations: 94.86 kB / 286.3 MB, free: 5.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1746/0.1746, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.193/0.3677, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08308/0.4508, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.119/4.57, allocations: 2.757 GB / 3.261 GB, free: 154 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/4.57, allocations: 78.58 kB / 3.261 GB, free: 154 MB / 0.5261 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.6895/5.26, allocations: 211.3 MB / 3.468 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/5.26, allocations: 8.75 kB / 3.468 GB, free: 86.75 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001856/5.262, allocations: 243.6 kB / 3.468 GB, free: 86.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/5.262, allocations: 280.1 kB / 3.468 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/5.262, allocations: 7.594 kB / 3.468 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/5.262, allocations: 19.69 kB / 3.468 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006708/5.263, allocations: 0.5208 MB / 3.469 GB, free: 86.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004743/5.263, allocations: 370.8 kB / 3.469 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/5.263, allocations: 5.5 kB / 3.469 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/5.263, allocations: 9.922 kB / 3.469 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/5.263, allocations: 7.625 kB / 3.469 GB, free: 86.39 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.275/6.538, allocations: 391.4 MB / 3.851 GB, free: 21.37 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 6.758e-05/6.538, allocations: 35.23 kB / 3.851 GB, free: 21.33 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.901e-05/6.538, allocations: 22.27 kB / 3.851 GB, free: 21.3 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3563/6.894, allocations: 51.43 MB / 3.902 GB, free: 145.7 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/6.895, allocations: 116.8 kB / 3.902 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/6.895, allocations: 0 / 3.902 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of matching and sorting (n=10): time 0.0016/6.896, allocations: 370.7 kB / 3.902 GB, free: 145.6 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.429e-05/6.896, allocations: 136.8 kB / 3.902 GB, free: 145.4 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/6.896, allocations: 221.5 kB / 3.902 GB, free: 145.3 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/6.897, allocations: 29.45 kB / 3.903 GB, free: 145.3 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/6.897, allocations: 257.3 kB / 3.903 GB, free: 145.1 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/6.897, allocations: 37.08 kB / 3.903 GB, free: 145.1 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/6.897, allocations: 0 / 3.903 GB, free: 145.1 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 4.638e-05/6.897, allocations: 327.9 kB / 3.903 GB, free: 144.8 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/6.897, allocations: 59.69 kB / 3.903 GB, free: 144.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/6.897, allocations: 315.5 kB / 3.903 GB, free: 144.5 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/6.897, allocations: 123.5 kB / 3.904 GB, free: 144.5 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/6.897, allocations: 7.906 kB / 3.904 GB, free: 144.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002359/6.9, allocations: 0.8177 MB / 3.904 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/6.9, allocations: 11.31 kB / 3.904 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/6.9, allocations: 9.5 kB / 3.904 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/6.9, allocations: 12.06 kB / 3.904 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003742/6.9, allocations: 120.5 kB / 3.905 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/6.9, allocations: 19 kB / 3.905 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/6.901, allocations: 54.23 kB / 3.905 GB, free: 144.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/6.901, allocations: 34.89 kB / 3.905 GB, free: 144.4 MB / 0.5419 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 9.118e-05/6.901, allocations: 136 kB / 3.905 GB, free: 144.3 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000802/6.902, allocations: 269.3 kB / 3.905 GB, free: 144.3 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/6.902, allocations: 249.5 kB / 3.905 GB, free: 144.2 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/6.902, allocations: 3.906 kB / 3.905 GB, free: 144.2 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/6.902, allocations: 3.594 kB / 3.905 GB, free: 144.2 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/6.902, allocations: 2.812 kB / 3.905 GB, free: 144.2 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/6.903, allocations: 0.5893 MB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.155e-06/6.903, allocations: 7.125 kB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/6.903, allocations: 14.92 kB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/6.903, allocations: 3.688 kB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/6.903, allocations: 10.12 kB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/6.903, allocations: 0 / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.903, allocations: 6.375 kB / 3.906 GB, free: 143.8 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009638/6.904, allocations: 0.5318 MB / 3.906 GB, free: 143.5 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0012/6.905, allocations: 0.9696 MB / 3.907 GB, free: 142.8 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000153/6.905, allocations: 180.4 kB / 3.908 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.752e-05/6.905, allocations: 0 / 3.908 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/6.905, allocations: 18.61 kB / 3.908 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.262e-05/6.905, allocations: 8.844 kB / 3.908 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/6.905, allocations: 6.812 kB / 3.908 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002621/6.906, allocations: 257.8 kB / 3.908 GB, free: 142.6 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.007133/6.913, allocations: 1.718 MB / 3.909 GB, free: 142.6 MB / 0.5419 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.009575/6.922, allocations: 2.152 MB / 3.912 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0003557/6.923, allocations: 179.7 kB / 3.912 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/6.923, allocations: 3.844 kB / 3.912 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.824e-05/6.923, allocations: 20.97 kB / 3.912 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/6.923, allocations: 27.92 kB / 3.912 GB, free: 142.3 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1954/7.119, allocations: 98.34 MB / 4.008 GB, free: 114.1 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/7.119, allocations: 0.8287 MB / 4.009 GB, free: 113.3 MB / 0.5419 GB Notification: Performance of SimCode: time 7.32e-07/7.119, allocations: 4 kB / 4.009 GB, free: 113.3 MB / 0.5419 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)