Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",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.002077/0.002077, allocations: 190.1 kB / 7.804 MB, free: 2.488 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.354/1.354, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001031/0.001031, allocations: 79.45 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.1897/0.1897, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1972/0.3869, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.6752, allocations: 58.84 MB / 476.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8997/1.575, allocations: 0.5085 GB / 0.974 GB, free: 39.61 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003509/1.575, allocations: 95.81 kB / 0.9741 GB, free: 39.56 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.7562/2.332, allocations: 233.9 MB / 1.203 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/2.332, allocations: 12 kB / 1.203 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/2.333, allocations: 139 kB / 1.203 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001282/2.334, allocations: 0.5483 MB / 1.203 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.3e-05/2.334, allocations: 84.39 kB / 1.203 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/2.335, allocations: 35.98 kB / 1.203 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008767/2.335, allocations: 0.5372 MB / 1.204 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/2.336, allocations: 0.743 MB / 1.205 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/2.336, allocations: 7.938 kB / 1.205 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-05/2.337, allocations: 0 / 1.205 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.875e-05/2.337, allocations: 40.98 kB / 1.205 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/2.341, allocations: 4.036 MB / 1.209 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/2.341, allocations: 206.4 kB / 1.209 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/2.341, allocations: 129.3 kB / 1.209 GB, free: 7.277 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/2.341, allocations: 28.86 kB / 1.209 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/2.341, allocations: 38.95 kB / 1.209 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/2.341, allocations: 0 / 1.209 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.005291/2.347, allocations: 1.43 MB / 1.21 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/2.347, allocations: 132.5 kB / 1.21 GB, free: 5.531 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/2.347, allocations: 473.9 kB / 1.211 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/2.347, allocations: 25.7 kB / 1.211 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/2.348, allocations: 338.8 kB / 1.211 GB, free: 4.691 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/2.348, allocations: 118.3 kB / 1.211 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/2.348, allocations: 4 kB / 1.211 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.992e-05/2.348, allocations: 374.8 kB / 1.212 GB, free: 4.195 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/2.348, allocations: 181.5 kB / 1.212 GB, free: 4.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003433/2.348, allocations: 493.1 kB / 1.212 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005971/2.349, allocations: 335.6 kB / 1.213 GB, free: 3.062 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/2.349, allocations: 8 kB / 1.213 GB, free: 3.055 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00143/2.35, allocations: 0.8254 MB / 1.213 GB, free: 2.219 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/2.35, allocations: 8.219 kB / 1.214 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/2.35, allocations: 8 kB / 1.214 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/2.352, allocations: 287.7 kB / 1.214 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/2.352, allocations: 127.8 kB / 1.214 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/2.353, allocations: 0.9624 MB / 1.215 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/2.354, allocations: 31.89 kB / 1.215 GB, free: 0.7773 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/2.354, allocations: 63.98 kB / 1.215 GB, free: 0.7148 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002023/2.354, allocations: 138.4 kB / 1.215 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/2.355, allocations: 63.25 kB / 1.215 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2056/2.56, allocations: 0.555 MB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/2.56, allocations: 3.75 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/2.56, allocations: 5.812 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/2.56, allocations: 6.812 kB / 1.216 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/2.562, allocations: 0.989 MB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/2.562, allocations: 0 / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/2.563, allocations: 188.5 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.36e-05/2.563, allocations: 22.31 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.693e-05/2.563, allocations: 21.2 kB / 1.217 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/2.565, allocations: 2.579 MB / 1.219 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/2.565, allocations: 0 / 1.219 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009325/2.566, allocations: 0.7014 MB / 1.22 GB, free: 140.7 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001359/2.567, allocations: 1.316 MB / 1.221 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/2.567, allocations: 178.3 kB / 1.222 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/2.567, allocations: 3.75 kB / 1.222 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/2.568, allocations: 18.59 kB / 1.222 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.914e-05/2.568, allocations: 27.31 kB / 1.222 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.615e-05/2.568, allocations: 38.3 kB / 1.222 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0003895/2.568, allocations: 343.7 kB / 1.222 GB, free: 140 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002109/2.57, allocations: 433.7 kB / 1.222 GB, free: 140 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/2.572, allocations: 1.18 MB / 1.224 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008746/2.573, allocations: 492.5 kB / 1.224 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.573, allocations: 0 / 1.224 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/2.574, allocations: 408.1 kB / 1.224 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/2.575, allocations: 234.6 kB / 1.225 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/2.577, allocations: 0.8791 MB / 1.225 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008692/2.578, allocations: 1.077 MB / 1.227 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of SimCode: time 6.42e-07/2.578, allocations: 0 / 1.227 GB, free: 138.8 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)