Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT") [: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.1+maint.om/package.mo): time 0.007127/0.007127, allocations: 176.8 kB / 7.45 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.513/1.513, allocations: 170.6 MB / 178.4 MB, free: 15.39 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002267/0.002267, allocations: 123.8 kB / 217.7 MB, free: 8.16 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1889/0.1889, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.061e-05/1.064e-05, allocations: 1.5 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.392/6.522, allocations: 2.472 GB / 2.861 GB, free: 40.35 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/6.522, allocations: 79.95 kB / 2.861 GB, free: 40.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.8203/7.342, allocations: 203.5 MB / 3.06 GB, free: 7.258 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.891e-05/7.342, allocations: 4 kB / 3.06 GB, free: 7.254 MB / 426.7 MB 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.01092/7.353, allocations: 1.733 MB / 3.061 GB, free: 5.477 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.533e-05/7.353, allocations: 8.031 kB / 3.061 GB, free: 5.469 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/7.356, allocations: 199.5 kB / 3.062 GB, free: 5.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/7.356, allocations: 270.6 kB / 3.062 GB, free: 4.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.434e-05/7.356, allocations: 11.94 kB / 3.062 GB, free: 4.957 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/7.356, allocations: 24 kB / 3.062 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007647/7.357, allocations: 469 kB / 3.062 GB, free: 4.473 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/7.358, allocations: 378 kB / 3.063 GB, free: 4.055 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/7.358, allocations: 3.938 kB / 3.063 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.495e-05/7.358, allocations: 5.781 kB / 3.063 GB, free: 4.047 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/7.358, allocations: 8 kB / 3.063 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.553/8.911, allocations: 255.7 MB / 3.312 GB, free: 92.76 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/8.911, allocations: 80.86 kB / 3.312 GB, free: 92.74 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.488e-05/8.911, allocations: 28.73 kB / 3.312 GB, free: 92.73 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1347/9.046, allocations: 46.27 MB / 3.358 GB, free: 70.86 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/9.046, allocations: 116.9 kB / 3.358 GB, free: 70.8 MB / 442.9 MB Notification: Performance of pre-optimization done (n=12): time 2.524e-06/9.046, allocations: 1.219 kB / 3.358 GB, free: 70.8 MB / 442.9 MB Notification: Performance of matching and sorting (n=13): time 0.002244/9.049, allocations: 477.2 kB / 3.358 GB, free: 70.72 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/9.049, allocations: 79.73 kB / 3.358 GB, free: 70.63 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/9.049, allocations: 214.8 kB / 3.358 GB, free: 70.53 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/9.049, allocations: 29.27 kB / 3.359 GB, free: 70.5 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/9.049, allocations: 251.5 kB / 3.359 GB, free: 70.33 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/9.049, allocations: 46.55 kB / 3.359 GB, free: 70.31 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.578e-05/9.049, allocations: 0 / 3.359 GB, free: 70.31 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 0.0001213/9.049, allocations: 335.8 kB / 3.359 GB, free: 70 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/9.049, allocations: 62.81 kB / 3.359 GB, free: 69.99 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/9.05, allocations: 312.3 kB / 3.359 GB, free: 69.65 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/9.05, allocations: 134.2 kB / 3.36 GB, free: 69.64 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/9.05, allocations: 0 / 3.36 GB, free: 69.64 MB / 442.9 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002416/9.053, allocations: 0.7824 MB / 3.36 GB, free: 69.59 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/9.053, allocations: 7.312 kB / 3.36 GB, free: 69.59 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.01e-05/9.053, allocations: 7.469 kB / 3.36 GB, free: 69.59 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/9.053, allocations: 20.84 kB / 3.36 GB, free: 69.59 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/9.053, allocations: 134.1 kB / 3.361 GB, free: 69.59 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006611/9.054, allocations: 1.201 MB / 3.362 GB, free: 68.42 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/9.054, allocations: 18.58 kB / 3.362 GB, free: 68.41 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.606e-05/9.055, allocations: 33.78 kB / 3.362 GB, free: 68.41 MB / 442.9 MB 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.0002026/9.055, allocations: 125.1 kB / 3.362 GB, free: 68.31 MB / 442.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008207/9.056, allocations: 266.4 kB / 3.362 GB, free: 68.3 MB / 442.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/9.057, allocations: 0.828 MB / 3.363 GB, free: 68.18 MB / 442.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/9.057, allocations: 10.42 kB / 3.363 GB, free: 68.18 MB / 442.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/9.057, allocations: 0 / 3.363 GB, free: 68.18 MB / 442.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/9.057, allocations: 3.828 kB / 3.363 GB, free: 68.18 MB / 442.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/9.057, allocations: 402.6 kB / 3.363 GB, free: 68.01 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/9.057, allocations: 0 / 3.363 GB, free: 68.01 MB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001239/9.057, allocations: 27.97 kB / 3.363 GB, free: 68.01 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/9.058, allocations: 162.4 kB / 3.364 GB, free: 67.98 MB / 442.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/9.058, allocations: 0 / 3.364 GB, free: 67.98 MB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007335/9.058, allocations: 1.377 MB / 3.365 GB, free: 66.87 MB / 442.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/9.058, allocations: 0.6562 kB / 3.365 GB, free: 66.87 MB / 442.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001247/9.06, allocations: 0.7391 MB / 3.366 GB, free: 66.76 MB / 442.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/9.06, allocations: 163.7 kB / 3.366 GB, free: 66.64 MB / 442.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/9.06, allocations: 0 / 3.366 GB, free: 66.64 MB / 442.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/9.06, allocations: 15.66 kB / 3.366 GB, free: 66.64 MB / 442.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/9.06, allocations: 7.406 kB / 3.366 GB, free: 66.64 MB / 442.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/9.06, allocations: 5.781 kB / 3.366 GB, free: 66.64 MB / 442.9 MB Notification: Performance of sort global known variables: time 0.0002246/9.06, allocations: 213.8 kB / 3.366 GB, free: 66.55 MB / 442.9 MB Notification: Performance of remove unused functions: time 0.01304/9.073, allocations: 1.672 MB / 3.368 GB, free: 66.55 MB / 442.9 MB 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.01804/9.092, allocations: 2.292 MB / 3.37 GB, free: 66.17 MB / 442.9 MB Notification: Performance of simCode: created initialization part: time 0.001127/9.093, allocations: 380.4 kB / 3.37 GB, free: 66.17 MB / 442.9 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/9.093, allocations: 0 / 3.37 GB, free: 66.17 MB / 442.9 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/9.093, allocations: 265.1 kB / 3.37 GB, free: 66.16 MB / 442.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004443/9.094, allocations: 31.62 kB / 3.37 GB, free: 66.16 MB / 442.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.195/9.289, allocations: 79.12 MB / 3.448 GB, free: 18.8 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004789/9.289, allocations: 0.8497 MB / 3.449 GB, free: 17.92 MB / 442.9 MB Notification: Performance of SimCode: time 1.543e-06/9.289, allocations: 0 / 3.449 GB, free: 17.92 MB / 442.9 MB Notification: Performance of Templates: time 0.3379/9.627, allocations: 42.29 MB / 3.49 GB, free: 97.11 MB / 442.9 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT.pipe 2>&1)