Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",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.001033/0.001033, allocations: 178.2 kB / 8.519 MB, free: 1.828 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.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.629 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.000947/0.000947, allocations: 89.67 kB / 281.2 MB, free: 5.438 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.1597/0.1597, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1743/0.3341, allocations: 68.04 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08989/0.424, allocations: 61.92 MB / 0.4942 GB, free: 1.504 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.776/4.2, allocations: 2.755 GB / 3.249 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002155/4.2, allocations: 79.78 kB / 3.249 GB, free: 20.23 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.6702/4.87, allocations: 211.1 MB / 3.455 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/4.87, allocations: 13.19 kB / 3.455 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/4.872, allocations: 203.5 kB / 3.455 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/4.872, allocations: 274.5 kB / 3.456 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/4.872, allocations: 8 kB / 3.456 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/4.872, allocations: 20 kB / 3.456 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006168/4.873, allocations: 477 kB / 3.456 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/4.873, allocations: 379.8 kB / 3.456 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/4.873, allocations: 2.625 kB / 3.456 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.79e-05/4.873, allocations: 4 kB / 3.456 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/4.873, allocations: 8 kB / 3.456 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.064/5.938, allocations: 262.4 MB / 3.713 GB, free: 147.2 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/5.938, allocations: 86.53 kB / 3.713 GB, free: 147.1 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/5.938, allocations: 33.23 kB / 3.713 GB, free: 147.1 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1091/6.047, allocations: 46.29 MB / 3.758 GB, free: 127.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001917/6.047, allocations: 119.8 kB / 3.758 GB, free: 127 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.864e-06/6.047, allocations: 4 kB / 3.758 GB, free: 127 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.00181/6.049, allocations: 470.9 kB / 3.759 GB, free: 127 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/6.049, allocations: 83.8 kB / 3.759 GB, free: 126.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/6.049, allocations: 215.1 kB / 3.759 GB, free: 126.8 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/6.049, allocations: 25.7 kB / 3.759 GB, free: 126.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/6.05, allocations: 250.9 kB / 3.759 GB, free: 126.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/6.05, allocations: 49.58 kB / 3.759 GB, free: 126.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/6.05, allocations: 0 / 3.759 GB, free: 126.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/6.05, allocations: 334.2 kB / 3.759 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/6.05, allocations: 61.86 kB / 3.759 GB, free: 126.2 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/6.05, allocations: 318.6 kB / 3.76 GB, free: 125.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005114/6.05, allocations: 121.6 kB / 3.76 GB, free: 125.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/6.05, allocations: 3.938 kB / 3.76 GB, free: 125.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002225/6.053, allocations: 0.7769 MB / 3.761 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/6.053, allocations: 11.5 kB / 3.761 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/6.053, allocations: 7.938 kB / 3.761 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/6.053, allocations: 19.64 kB / 3.761 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005271/6.053, allocations: 140 kB / 3.761 GB, free: 125.8 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004497/6.054, allocations: 1.198 MB / 3.762 GB, free: 124.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/6.054, allocations: 21.66 kB / 3.762 GB, free: 124.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/6.054, allocations: 34.3 kB / 3.762 GB, free: 124.7 MB / 0.5262 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.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 (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00014/6.054, allocations: 126.5 kB / 3.762 GB, free: 124.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007633/6.055, allocations: 267.6 kB / 3.762 GB, free: 124.5 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/6.056, allocations: 0.8309 MB / 3.763 GB, free: 124.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/6.056, allocations: 7.125 kB / 3.763 GB, free: 124.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/6.056, allocations: 3.906 kB / 3.763 GB, free: 124.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/6.056, allocations: 7.547 kB / 3.763 GB, free: 124.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/6.057, allocations: 398.6 kB / 3.764 GB, free: 124.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/6.057, allocations: 7.609 kB / 3.764 GB, free: 124.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/6.057, allocations: 22.72 kB / 3.764 GB, free: 124.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/6.057, allocations: 166.9 kB / 3.764 GB, free: 124.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/6.057, allocations: 3.875 kB / 3.764 GB, free: 124.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005976/6.058, allocations: 1.373 MB / 3.765 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/6.058, allocations: 0 / 3.765 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001148/6.059, allocations: 0.7319 MB / 3.766 GB, free: 123 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001373/6.06, allocations: 1.169 MB / 3.767 GB, free: 122.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/6.06, allocations: 162 kB / 3.767 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/6.06, allocations: 0 / 3.767 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/6.06, allocations: 11.59 kB / 3.767 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/6.061, allocations: 10.28 kB / 3.767 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/6.061, allocations: 3.938 kB / 3.767 GB, free: 122.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.0001718/6.061, allocations: 218.6 kB / 3.767 GB, free: 122.3 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.007265/6.068, allocations: 1.838 MB / 3.769 GB, free: 122.3 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0116/6.08, allocations: 2.302 MB / 3.771 GB, free: 122 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000833/6.08, allocations: 393.9 kB / 3.772 GB, free: 122 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/6.08, allocations: 0 / 3.772 GB, free: 122 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/6.081, allocations: 262.8 kB / 3.772 GB, free: 122 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003164/6.081, allocations: 34.16 kB / 3.772 GB, free: 122 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1795/6.261, allocations: 82.05 MB / 3.852 GB, free: 100.4 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/6.261, allocations: 0.8497 MB / 3.853 GB, free: 99.57 MB / 0.5262 GB Notification: Performance of SimCode: time 7.82e-07/6.261, allocations: 0 / 3.853 GB, free: 99.57 MB / 0.5262 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)