Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.426/1.426, allocations: 285.5 MB / 292.8 MB, free: 9.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 187.5 kB / 361.1 MB, free: 384 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008569/0.0008573, allocations: 91.61 kB / 0.7326 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4944/0.4953, allocations: 121.4 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.68, allocations: 115.3 MB / 0.9638 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5063/1.186, allocations: 143.8 MB / 1.104 GB, free: 23.69 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/1.187, allocations: 81.98 kB / 1.104 GB, free: 23.69 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.02135/1.208, allocations: 8.257 MB / 1.112 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/1.208, allocations: 12 kB / 1.112 GB, free: 22.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/1.209, allocations: 99.17 kB / 1.112 GB, free: 22.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/1.209, allocations: 182.3 kB / 1.113 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/1.209, allocations: 40.09 kB / 1.113 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/1.209, allocations: 7.875 kB / 1.113 GB, free: 22.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002494/1.209, allocations: 155.4 kB / 1.113 GB, free: 22.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/1.209, allocations: 139.9 kB / 1.113 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/1.209, allocations: 0 / 1.113 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.209, allocations: 0 / 1.113 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.209, allocations: 3.969 kB / 1.113 GB, free: 22.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/1.21, allocations: 0.8853 MB / 1.114 GB, free: 21.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/1.211, allocations: 120.9 kB / 1.114 GB, free: 21.85 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/1.211, allocations: 60.61 kB / 1.114 GB, free: 21.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005752/1.211, allocations: 0.5209 MB / 1.114 GB, free: 21.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/1.211, allocations: 30.56 kB / 1.114 GB, free: 21.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/1.211, allocations: 3.984 kB / 1.114 GB, free: 21.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0005726/1.212, allocations: 182.4 kB / 1.115 GB, free: 21.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.566e-05/1.212, allocations: 51.41 kB / 1.115 GB, free: 21.13 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.569e-05/1.212, allocations: 116.1 kB / 1.115 GB, free: 37.04 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.212, allocations: 39.64 kB / 1.115 GB, free: 37 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.19e-05/1.212, allocations: 122.7 kB / 1.115 GB, free: 36.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/1.212, allocations: 46.33 kB / 1.115 GB, free: 36.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/1.212, allocations: 0 / 1.115 GB, free: 36.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001481/1.212, allocations: 320.8 kB / 1.115 GB, free: 36.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/1.212, allocations: 58.44 kB / 1.115 GB, free: 36.54 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.08e-05/1.213, allocations: 78.33 kB / 1.115 GB, free: 36.53 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/1.213, allocations: 95.42 kB / 1.116 GB, free: 36.52 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.213, allocations: 0 / 1.116 GB, free: 36.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005761/1.214, allocations: 215 kB / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/1.214, allocations: 7.75 kB / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.214, allocations: 0 / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/1.214, allocations: 0 / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/1.214, allocations: 38.34 kB / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/1.214, allocations: 7.625 kB / 1.116 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.214, allocations: 25.12 kB / 1.116 GB, free: 36.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/1.214, allocations: 11.28 kB / 1.116 GB, free: 36.46 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.624e-05/1.214, allocations: 107.7 kB / 1.116 GB, free: 36.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/1.214, allocations: 11.62 kB / 1.116 GB, free: 36.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005488/1.215, allocations: 197.1 kB / 1.116 GB, free: 36.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.215, allocations: 3.938 kB / 1.116 GB, free: 36.31 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/1.215, allocations: 7.844 kB / 1.116 GB, free: 36.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/1.215, allocations: 0 / 1.116 GB, free: 36.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/1.216, allocations: 0.9588 MB / 1.117 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.216, allocations: 3.969 kB / 1.117 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/1.216, allocations: 34.66 kB / 1.117 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.216, allocations: 0 / 1.117 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.216, allocations: 7.938 kB / 1.117 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.216, allocations: 2.766 kB / 1.117 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.216, allocations: 0 / 1.117 GB, free: 35.52 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005058/1.217, allocations: 310 kB / 1.117 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006069/1.218, allocations: 0.6893 MB / 1.118 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/1.218, allocations: 91.44 kB / 1.118 GB, free: 34.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/1.218, allocations: 7.188 kB / 1.118 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/1.218, allocations: 16.97 kB / 1.118 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/1.218, allocations: 11.36 kB / 1.118 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/1.218, allocations: 3.844 kB / 1.118 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.836e-05/1.218, allocations: 98.19 kB / 1.118 GB, free: 34.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009753/1.219, allocations: 144.8 kB / 1.118 GB, free: 34.55 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005417/1.22, allocations: 247.9 kB / 1.119 GB, free: 34.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002425/1.22, allocations: 145.6 kB / 1.119 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.22, allocations: 0 / 1.119 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.969e-05/1.22, allocations: 73.81 kB / 1.119 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.22, allocations: 18.34 kB / 1.119 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/1.222, allocations: 314.2 kB / 1.119 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/1.222, allocations: 0.7372 MB / 1.12 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/1.222, allocations: 0 / 1.12 GB, free: 33.59 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)