Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.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_pT,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 191.8 kB / 7.805 MB, free: 2.453 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.433/1.433, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009872/0.0009872, allocations: 100.3 kB / 261.4 MB, free: 13.55 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.2006/0.2006, allocations: 43.49 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2143/0.415, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.7395, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.081/6.82, allocations: 2.749 GB / 3.215 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/6.82, allocations: 76.28 kB / 3.215 GB, free: 101 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.8753/7.696, allocations: 209 MB / 3.419 GB, free: 83.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/7.696, allocations: 11.94 kB / 3.419 GB, free: 83.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/7.698, allocations: 196.7 kB / 3.419 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006/7.699, allocations: 272 kB / 3.419 GB, free: 83.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/7.699, allocations: 8 kB / 3.419 GB, free: 83.43 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/7.699, allocations: 19.94 kB / 3.419 GB, free: 83.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008109/7.699, allocations: 473.5 kB / 3.42 GB, free: 83.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005961/7.7, allocations: 382.4 kB / 3.42 GB, free: 82.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/7.7, allocations: 3.938 kB / 3.42 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.785e-05/7.7, allocations: 4 kB / 3.42 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/7.7, allocations: 8 kB / 3.42 GB, free: 82.63 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.155/8.855, allocations: 262.5 MB / 3.677 GB, free: 79.44 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/8.855, allocations: 78.23 kB / 3.677 GB, free: 79.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/8.856, allocations: 32.77 kB / 3.677 GB, free: 79.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1141/8.97, allocations: 46.29 MB / 3.722 GB, free: 36.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003535/8.97, allocations: 112.1 kB / 3.722 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 3.236e-06/8.97, allocations: 0 / 3.722 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.002398/8.972, allocations: 481.8 kB / 3.722 GB, free: 35.72 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/8.973, allocations: 81.02 kB / 3.723 GB, free: 35.62 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/8.973, allocations: 214.3 kB / 3.723 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/8.973, allocations: 33.72 kB / 3.723 GB, free: 35.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/8.973, allocations: 250.2 kB / 3.723 GB, free: 35.16 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/8.973, allocations: 46.5 kB / 3.723 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/8.973, allocations: 0 / 3.723 GB, free: 35.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.173e-05/8.973, allocations: 334.7 kB / 3.723 GB, free: 34.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.497e-05/8.973, allocations: 57 kB / 3.723 GB, free: 34.73 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/8.973, allocations: 322.5 kB / 3.724 GB, free: 34.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/8.974, allocations: 124.1 kB / 3.724 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/8.974, allocations: 4 kB / 3.724 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002309/8.976, allocations: 0.7858 MB / 3.725 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/8.976, allocations: 7.906 kB / 3.725 GB, free: 33.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/8.976, allocations: 12 kB / 3.725 GB, free: 33.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/8.976, allocations: 15.8 kB / 3.725 GB, free: 33.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005252/8.977, allocations: 136.8 kB / 3.725 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005038/8.977, allocations: 1.205 MB / 3.726 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/8.978, allocations: 16.36 kB / 3.726 GB, free: 32.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.034e-05/8.978, allocations: 31.98 kB / 3.726 GB, free: 32 MB / 0.5105 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.0001706/8.978, allocations: 137 kB / 3.726 GB, free: 31.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/8.979, allocations: 255.5 kB / 3.726 GB, free: 31.62 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/8.98, allocations: 0.8297 MB / 3.727 GB, free: 30.83 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/8.98, allocations: 7.984 kB / 3.727 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/8.98, allocations: 0 / 3.727 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/8.98, allocations: 0 / 3.727 GB, free: 30.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/8.98, allocations: 406.4 kB / 3.728 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/8.98, allocations: 2.688 kB / 3.728 GB, free: 30.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/8.98, allocations: 23.98 kB / 3.728 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/8.981, allocations: 168.1 kB / 3.728 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/8.981, allocations: 3.984 kB / 3.728 GB, free: 30.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005861/8.981, allocations: 1.368 MB / 3.729 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/8.981, allocations: 0 / 3.729 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001212/8.982, allocations: 0.7408 MB / 3.73 GB, free: 28.03 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001477/8.984, allocations: 1.17 MB / 3.731 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/8.984, allocations: 160.5 kB / 3.731 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/8.984, allocations: 0 / 3.731 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/8.984, allocations: 8 kB / 3.731 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/8.984, allocations: 15.89 kB / 3.731 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/8.984, allocations: 4 kB / 3.731 GB, free: 26.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001913/8.985, allocations: 216.6 kB / 3.731 GB, free: 26.43 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01058/8.995, allocations: 1.837 MB / 3.733 GB, free: 24.9 MB / 0.5105 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.01596/9.011, allocations: 2.308 MB / 3.735 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009684/9.012, allocations: 393.4 kB / 3.736 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/9.012, allocations: 0 / 3.736 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/9.013, allocations: 256.8 kB / 3.736 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/9.013, allocations: 36.48 kB / 3.736 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.613/9.626, allocations: 81.66 MB / 3.816 GB, free: 143.9 MB / 0.5106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/9.627, allocations: 0.8529 MB / 3.817 GB, free: 143.2 MB / 0.5106 GB Notification: Performance of SimCode: time 7.81e-07/9.627, allocations: 0 / 3.817 GB, free: 143.2 MB / 0.5106 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_WaterIF97_pT.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)