Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.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.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",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.001364/0.001364, allocations: 171.4 kB / 8.514 MB, free: 1.852 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.2/1.2, allocations: 221.4 MB / 230.3 MB, free: 7.715 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.0009129/0.0009128, allocations: 84.73 kB / 281.2 MB, free: 5.473 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.1622/0.1622, allocations: 44.14 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.3414, allocations: 68.05 MB / 444.1 MB, free: 15.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09518/0.4366, allocations: 61.9 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5251/0.9617, allocations: 236.3 MB / 0.7249 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/0.962, allocations: 98.58 kB / 0.725 GB, free: 168 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.9798/1.942, allocations: 373.2 MB / 1.089 GB, free: 159 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/1.942, allocations: 11.28 kB / 1.089 GB, free: 159 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001365/1.943, allocations: 156.6 kB / 1.09 GB, free: 158.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/1.944, allocations: 0.6084 MB / 1.09 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.948e-05/1.945, allocations: 89.61 kB / 1.09 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/1.945, allocations: 29.88 kB / 1.09 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007833/1.945, allocations: 0.5238 MB / 1.091 GB, free: 158.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/1.946, allocations: 0.7851 MB / 1.092 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.946, allocations: 0 / 1.092 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/1.946, allocations: 3.812 kB / 1.092 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/1.946, allocations: 42.31 kB / 1.092 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/1.95, allocations: 4.544 MB / 1.096 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/1.951, allocations: 269.8 kB / 1.096 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.951, allocations: 135.9 kB / 1.096 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/1.951, allocations: 432.8 kB / 1.097 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/1.951, allocations: 38.09 kB / 1.097 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=30): time 2.224e-06/1.951, allocations: 0 / 1.097 GB, free: 154.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36): time 0.003882/1.955, allocations: 1.401 MB / 1.098 GB, free: 154.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.955, allocations: 135.7 kB / 1.098 GB, free: 154.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004771/1.956, allocations: 474.1 kB / 1.099 GB, free: 154 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/1.956, allocations: 25.7 kB / 1.099 GB, free: 154 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/1.956, allocations: 343.3 kB / 1.099 GB, free: 153.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/1.956, allocations: 126 kB / 1.099 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/1.956, allocations: 3.25 kB / 1.099 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/1.956, allocations: 364.8 kB / 1.1 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/1.956, allocations: 200.3 kB / 1.1 GB, free: 153.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/1.957, allocations: 487.7 kB / 1.1 GB, free: 153 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/1.958, allocations: 355 kB / 1.101 GB, free: 153 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.958, allocations: 3.938 kB / 1.101 GB, free: 153 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001835/1.96, allocations: 0.8664 MB / 1.102 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.96, allocations: 3.938 kB / 1.102 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.96, allocations: 9.656 kB / 1.102 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/1.96, allocations: 230.1 kB / 1.102 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003999/1.961, allocations: 142.6 kB / 1.102 GB, free: 152.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/1.962, allocations: 1.46 MB / 1.103 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005331/1.963, allocations: 21.11 kB / 1.103 GB, free: 151.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.964e-05/1.963, allocations: 81.89 kB / 1.103 GB, free: 151.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/1.963, allocations: 141.2 kB / 1.104 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/1.963, allocations: 57.22 kB / 1.104 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002608/1.966, allocations: 1.178 MB / 1.105 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/1.966, allocations: 11.08 kB / 1.105 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.966, allocations: 0 / 1.105 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.966, allocations: 1.969 kB / 1.105 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001985/1.968, allocations: 1.308 MB / 1.106 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/1.968, allocations: 0 / 1.106 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/1.968, allocations: 44.12 kB / 1.106 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004954/1.968, allocations: 168.5 kB / 1.106 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.968, allocations: 13.95 kB / 1.106 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009124/1.969, allocations: 1.364 MB / 1.108 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.969, allocations: 0 / 1.108 GB, free: 150.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001621/1.971, allocations: 1.003 MB / 1.109 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001811/1.973, allocations: 1.696 MB / 1.11 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/1.973, allocations: 198.7 kB / 1.11 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/1.973, allocations: 0 / 1.11 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/1.974, allocations: 23.31 kB / 1.11 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/1.974, allocations: 27.27 kB / 1.111 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/1.974, allocations: 28.69 kB / 1.111 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003088/1.974, allocations: 339.8 kB / 1.111 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002/1.976, allocations: 454.2 kB / 1.111 GB, free: 149.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001046/1.977, allocations: 0.531 MB / 1.112 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008624/1.978, allocations: 0.5365 MB / 1.112 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.978, allocations: 3.844 kB / 1.112 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004623/1.978, allocations: 277.4 kB / 1.113 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/1.98, allocations: 237.4 kB / 1.113 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/2.012, allocations: 16.69 MB / 1.129 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/2.013, allocations: 1.068 MB / 1.13 GB, free: 148 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/2.013, allocations: 0 / 1.13 GB, free: 148 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650.pipe 2>&1)