Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.389/2.389, allocations: 284.8 MB / 292.1 MB, free: 9.754 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.001648/0.001648, allocations: 182.9 kB / 360.3 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.924/1.924, allocations: 205.1 MB / 0.6187 GB, free: 3.289 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.001228/0.001227, allocations: 96.64 kB / 0.7317 GB, free: 1.754 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6733/0.6746, allocations: 121.4 MB / 0.8502 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.9735, allocations: 115.2 MB / 0.9628 GB, free: 56.95 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8262/1.8, allocations: 143.6 MB / 1.103 GB, free: 32.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003329/1.8, allocations: 78.67 kB / 1.103 GB, free: 32.88 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.04427/1.844, allocations: 8.261 MB / 1.111 GB, free: 32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/1.845, allocations: 8.375 kB / 1.111 GB, free: 32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008588/1.845, allocations: 102.3 kB / 1.111 GB, free: 31.98 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/1.846, allocations: 170.7 kB / 1.111 GB, free: 31.78 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-05/1.846, allocations: 48.45 kB / 1.111 GB, free: 31.74 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/1.846, allocations: 11.72 kB / 1.111 GB, free: 31.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000469/1.846, allocations: 144.6 kB / 1.112 GB, free: 31.74 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/1.847, allocations: 151.5 kB / 1.112 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.847, allocations: 0 / 1.112 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/1.847, allocations: 0 / 1.112 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/1.847, allocations: 3.812 kB / 1.112 GB, free: 31.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001876/1.849, allocations: 0.8854 MB / 1.113 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007999/1.849, allocations: 117 kB / 1.113 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007069/1.85, allocations: 61.08 kB / 1.113 GB, free: 31.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001428/1.852, allocations: 0.5197 MB / 1.113 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/1.852, allocations: 34.41 kB / 1.113 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.106e-06/1.852, allocations: 0 / 1.113 GB, free: 30.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.001001/1.853, allocations: 179.7 kB / 1.113 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/1.853, allocations: 62.39 kB / 1.114 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.853, allocations: 111.8 kB / 1.114 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/1.853, allocations: 29.39 kB / 1.114 GB, free: 30.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.012e-05/1.853, allocations: 129.6 kB / 1.114 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/1.853, allocations: 41.92 kB / 1.114 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.764e-05/1.853, allocations: 0 / 1.114 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/1.853, allocations: 317.5 kB / 1.114 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/1.853, allocations: 56.88 kB / 1.114 GB, free: 29.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/1.854, allocations: 80.77 kB / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/1.854, allocations: 96.48 kB / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.854, allocations: 3.938 kB / 1.114 GB, free: 29.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001099/1.855, allocations: 214 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.855, allocations: 7.75 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.855, allocations: 0 / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.664e-05/1.856, allocations: 0 / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/1.856, allocations: 43.52 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/1.856, allocations: 3.906 kB / 1.115 GB, free: 29.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.857, allocations: 22.27 kB / 1.115 GB, free: 29.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/1.857, allocations: 10.08 kB / 1.115 GB, free: 29.65 MB / 0.7136 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 9.974e-05/1.857, allocations: 108.7 kB / 1.115 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/1.857, allocations: 11.56 kB / 1.115 GB, free: 29.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009972/1.858, allocations: 199.9 kB / 1.115 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/1.858, allocations: 0 / 1.115 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.858, allocations: 3.906 kB / 1.115 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.858, allocations: 0 / 1.115 GB, free: 29.49 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/1.86, allocations: 0.963 MB / 1.116 GB, free: 28.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.86, allocations: 0 / 1.116 GB, free: 28.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004045/1.861, allocations: 40.75 kB / 1.116 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.861, allocations: 0 / 1.116 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/1.861, allocations: 0 / 1.116 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.861, allocations: 6.859 kB / 1.116 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.861, allocations: 0 / 1.116 GB, free: 28.71 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009113/1.862, allocations: 319.3 kB / 1.116 GB, free: 44.52 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001154/1.863, allocations: 0.6824 MB / 1.117 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-05/1.863, allocations: 95.19 kB / 1.117 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.207e-05/1.863, allocations: 3.875 kB / 1.117 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/1.863, allocations: 14.97 kB / 1.117 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/1.863, allocations: 13.95 kB / 1.117 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.864, allocations: 10.06 kB / 1.117 GB, free: 43.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.122e-05/1.864, allocations: 99.28 kB / 1.117 GB, free: 43.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001582/1.865, allocations: 144.8 kB / 1.117 GB, free: 43.73 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.0007757/1.866, allocations: 237.8 kB / 1.118 GB, free: 43.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004636/1.866, allocations: 149.2 kB / 1.118 GB, free: 43.6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.867, allocations: 0 / 1.118 GB, free: 43.6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/1.867, allocations: 68.84 kB / 1.118 GB, free: 43.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/1.867, allocations: 18.47 kB / 1.118 GB, free: 43.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/1.87, allocations: 317 kB / 1.118 GB, free: 43.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/1.87, allocations: 0.7474 MB / 1.119 GB, free: 42.77 MB / 0.7292 GB Notification: Performance of SimCode: time 1.623e-06/1.87, allocations: 0 / 1.119 GB, free: 42.77 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)