Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001366/0.001366, allocations: 177.2 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.688/1.688, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009188/0.0009187, allocations: 87.41 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2738/0.2748, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7206/0.9955, allocations: 116.3 MB / 0.9727 GB, free: 68.14 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/1.188, allocations: 144.7 MB / 1.114 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.188, allocations: 84.91 kB / 1.114 GB, free: 3.637 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.02489/1.213, allocations: 8.256 MB / 1.122 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.213, allocations: 8 kB / 1.122 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/1.213, allocations: 95.72 kB / 1.122 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.214, allocations: 174.9 kB / 1.122 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/1.214, allocations: 41.7 kB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/1.214, allocations: 15.89 kB / 1.122 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002764/1.214, allocations: 140 kB / 1.123 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/1.214, allocations: 141.5 kB / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.214, allocations: 7.938 kB / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/1.214, allocations: 0 / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/1.214, allocations: 9.219 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/1.216, allocations: 0.8901 MB / 1.124 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/1.216, allocations: 114.7 kB / 1.124 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/1.216, allocations: 66.47 kB / 1.124 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007052/1.217, allocations: 0.522 MB / 1.124 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/1.217, allocations: 42.55 kB / 1.124 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=14): time 3.507e-06/1.217, allocations: 0 / 1.124 GB, free: 8.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=14): time 0.0006387/1.217, allocations: 177.4 kB / 1.125 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/1.217, allocations: 59.41 kB / 1.125 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/1.218, allocations: 120.5 kB / 1.125 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/1.218, allocations: 29.7 kB / 1.125 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/1.218, allocations: 116.1 kB / 1.125 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/1.218, allocations: 43.92 kB / 1.125 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/1.218, allocations: 0 / 1.125 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.218, allocations: 322.8 kB / 1.125 GB, free: 7.906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/1.218, allocations: 59.95 kB / 1.125 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/1.218, allocations: 84.28 kB / 1.125 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004356/1.219, allocations: 95.84 kB / 1.125 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.219, allocations: 0.5625 kB / 1.125 GB, free: 7.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006354/1.219, allocations: 213.5 kB / 1.126 GB, free: 7.453 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.219, allocations: 4 kB / 1.126 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.219, allocations: 0 / 1.126 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.219, allocations: 3.906 kB / 1.126 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.22, allocations: 47.94 kB / 1.126 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.22, allocations: 4.75 kB / 1.126 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/1.22, allocations: 19.83 kB / 1.126 GB, free: 7.375 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.127e-05/1.22, allocations: 4 kB / 1.126 GB, free: 7.371 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 0.0001089/1.22, allocations: 107.9 kB / 1.126 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/1.22, allocations: 11.91 kB / 1.126 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006684/1.221, allocations: 210.1 kB / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.221, allocations: 0 / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.221, allocations: 0 / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.221, allocations: 0.6562 kB / 1.126 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/1.222, allocations: 0.9606 MB / 1.127 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.222, allocations: 0 / 1.127 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/1.223, allocations: 32.05 kB / 1.127 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/1.223, allocations: 4 kB / 1.127 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/1.223, allocations: 3.984 kB / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.223, allocations: 0 / 1.127 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.223, allocations: 12.5 kB / 1.127 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006159/1.223, allocations: 308.5 kB / 1.127 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000744/1.224, allocations: 0.6844 MB / 1.128 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.365e-05/1.224, allocations: 100.9 kB / 1.128 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.857e-05/1.224, allocations: 0 / 1.128 GB, free: 4.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/1.224, allocations: 19.97 kB / 1.128 GB, free: 4.691 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/1.224, allocations: 7.984 kB / 1.128 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/1.225, allocations: 4.75 kB / 1.128 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.1e-05/1.225, allocations: 104.5 kB / 1.128 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001233/1.226, allocations: 143.7 kB / 1.128 GB, free: 4.438 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.0005539/1.226, allocations: 246.8 kB / 1.129 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003376/1.227, allocations: 136 kB / 1.129 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/1.227, allocations: 0 / 1.129 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.227, allocations: 67.92 kB / 1.129 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/1.227, allocations: 24.48 kB / 1.129 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/1.229, allocations: 314.1 kB / 1.129 GB, free: 3.629 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000393/1.229, allocations: 0.743 MB / 1.13 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/1.229, allocations: 0 / 1.13 GB, free: 2.859 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)