Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.002368/0.002368, allocations: 190.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 213.4 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009168/0.0009166, allocations: 98.44 kB / 261.4 MB, free: 13.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1999/0.1999, allocations: 43.49 MB / 352.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2215/0.4215, allocations: 64.97 MB / 417.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.7908, allocations: 58.85 MB / 476.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.109/6.9, allocations: 2.751 GB / 3.216 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/6.9, allocations: 75.25 kB / 3.217 GB, free: 111.1 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.8369/7.737, allocations: 209.5 MB / 3.421 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/7.737, allocations: 9.25 kB / 3.421 GB, free: 90.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/7.74, allocations: 242.5 kB / 3.421 GB, free: 90.24 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006541/7.74, allocations: 279.6 kB / 3.422 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/7.74, allocations: 11.22 kB / 3.422 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.192e-05/7.741, allocations: 16.66 kB / 3.422 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000937/7.741, allocations: 0.5164 MB / 3.422 GB, free: 89.87 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/7.742, allocations: 380.8 kB / 3.423 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/7.742, allocations: 3.656 kB / 3.423 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.816e-05/7.742, allocations: 1.031 kB / 3.423 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/7.742, allocations: 13.5 kB / 3.423 GB, free: 89.65 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.561/9.303, allocations: 373.2 MB / 3.787 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/9.303, allocations: 40.25 kB / 3.787 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/9.303, allocations: 20.52 kB / 3.787 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.11/9.413, allocations: 46.03 MB / 3.832 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/9.414, allocations: 119.1 kB / 3.832 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/9.414, allocations: 0 / 3.832 GB, free: 129.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.001773/9.415, allocations: 362 kB / 3.832 GB, free: 129.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/9.416, allocations: 135.3 kB / 3.833 GB, free: 129.7 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/9.416, allocations: 219.2 kB / 3.833 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.14e-05/9.416, allocations: 28.89 kB / 3.833 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001967/9.416, allocations: 264.3 kB / 3.833 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.606e-05/9.416, allocations: 36.97 kB / 3.833 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/9.416, allocations: 0 / 3.833 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/9.416, allocations: 328.7 kB / 3.833 GB, free: 129 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/9.417, allocations: 67.09 kB / 3.834 GB, free: 129 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/9.417, allocations: 311 kB / 3.834 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/9.417, allocations: 114.3 kB / 3.834 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/9.417, allocations: 9.156 kB / 3.834 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00265/9.42, allocations: 0.8163 MB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/9.42, allocations: 4.781 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/9.42, allocations: 7.688 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/9.42, allocations: 20.88 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/9.421, allocations: 124 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.025e-05/9.421, allocations: 25.17 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/9.421, allocations: 56.12 kB / 3.835 GB, free: 128.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/9.421, allocations: 31.28 kB / 3.835 GB, free: 128.6 MB / 0.5105 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 0.0001491/9.421, allocations: 133.8 kB / 3.835 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008751/9.422, allocations: 273.6 kB / 3.835 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/9.423, allocations: 234.2 kB / 3.836 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/9.423, allocations: 11.31 kB / 3.836 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/9.423, allocations: 3.438 kB / 3.836 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/9.423, allocations: 0 / 3.836 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/9.423, allocations: 0.5934 MB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/9.423, allocations: 7.688 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.388e-05/9.424, allocations: 12.8 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/9.424, allocations: 7.781 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/9.424, allocations: 3.844 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/9.424, allocations: 0.75 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/9.424, allocations: 5.875 kB / 3.836 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00105/9.425, allocations: 0.5332 MB / 3.837 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001415/9.426, allocations: 0.9598 MB / 3.838 GB, free: 127 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/9.426, allocations: 181.9 kB / 3.838 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/9.426, allocations: 6.031 kB / 3.838 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/9.427, allocations: 18.62 kB / 3.838 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/9.427, allocations: 8.969 kB / 3.838 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/9.427, allocations: 7.547 kB / 3.838 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003424/9.427, allocations: 256.7 kB / 3.838 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01109/9.438, allocations: 1.688 MB / 3.84 GB, free: 126.8 MB / 0.5105 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.01628/9.455, allocations: 2.142 MB / 3.842 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007568/9.455, allocations: 178.1 kB / 3.842 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/9.455, allocations: 0 / 3.842 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.648e-05/9.456, allocations: 24.05 kB / 3.842 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/9.456, allocations: 23.38 kB / 3.842 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2462/9.703, allocations: 97.76 MB / 3.938 GB, free: 75.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005341/9.703, allocations: 0.828 MB / 3.938 GB, free: 75.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.215e-06/9.703, allocations: 0 / 3.938 GB, free: 75.13 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph.pipe 2>&1)