Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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 10.0.0-master/package.mo): time 2.3/2.3, allocations: 390.4 MB / 397.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 181.2 kB / 490.8 MB, free: 1.938 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.4 MB / 0.7863 GB, free: 13.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 94.88 kB / 0.9264 GB, free: 14.3 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6994/0.7004, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.9845, allocations: 143 MB / 1.212 GB, free: 21.8 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7839/1.768, allocations: 156.2 MB / 1.364 GB, free: 12.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/1.769, allocations: 86.5 kB / 1.364 GB, free: 12.65 MB / 0.823 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.02465/1.793, allocations: 8.395 MB / 1.372 GB, free: 5.402 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/1.794, allocations: 8 kB / 1.372 GB, free: 5.395 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005211/1.794, allocations: 103.7 kB / 1.373 GB, free: 5.293 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/1.794, allocations: 174.9 kB / 1.373 GB, free: 5.082 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.095e-05/1.794, allocations: 41.69 kB / 1.373 GB, free: 5.035 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/1.794, allocations: 8 kB / 1.373 GB, free: 5.027 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003074/1.795, allocations: 145.2 kB / 1.373 GB, free: 4.938 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/1.795, allocations: 152.8 kB / 1.373 GB, free: 4.82 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.795, allocations: 0 / 1.373 GB, free: 4.82 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/1.795, allocations: 0 / 1.373 GB, free: 4.82 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/1.795, allocations: 4 kB / 1.373 GB, free: 4.816 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.796, allocations: 0.8906 MB / 1.374 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/1.797, allocations: 133.7 kB / 1.374 GB, free: 3.816 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/1.797, allocations: 57.05 kB / 1.374 GB, free: 3.781 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007389/1.798, allocations: 0.5219 MB / 1.375 GB, free: 3.152 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/1.798, allocations: 34.31 kB / 1.375 GB, free: 3.113 MB / 0.823 GB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/1.798, allocations: 4 kB / 1.375 GB, free: 3.109 MB / 0.823 GB Notification: Performance of matching and sorting (n=14): time 0.0007298/1.798, allocations: 181.9 kB / 1.375 GB, free: 2.961 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/1.798, allocations: 51.41 kB / 1.375 GB, free: 2.898 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/1.799, allocations: 119.4 kB / 1.375 GB, free: 2.789 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/1.799, allocations: 25.7 kB / 1.375 GB, free: 2.758 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/1.799, allocations: 129.6 kB / 1.375 GB, free: 2.633 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/1.799, allocations: 41.48 kB / 1.375 GB, free: 2.598 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.218e-05/1.799, allocations: 0 / 1.375 GB, free: 2.598 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000168/1.799, allocations: 326 kB / 1.376 GB, free: 2.273 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/1.799, allocations: 54.12 kB / 1.376 GB, free: 2.246 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/1.799, allocations: 77.64 kB / 1.376 GB, free: 2.191 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004342/1.8, allocations: 86.95 kB / 1.376 GB, free: 2.129 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.8, allocations: 0 / 1.376 GB, free: 2.129 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006308/1.8, allocations: 219.8 kB / 1.376 GB, free: 1.957 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.8, allocations: 6.656 kB / 1.376 GB, free: 1.953 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.8, allocations: 4.031 kB / 1.376 GB, free: 1.949 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/1.8, allocations: 4 kB / 1.376 GB, free: 1.945 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002915/1.801, allocations: 35.97 kB / 1.376 GB, free: 1.91 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/1.801, allocations: 7.984 kB / 1.376 GB, free: 1.902 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/1.801, allocations: 23.81 kB / 1.376 GB, free: 1.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/1.801, allocations: 7.906 kB / 1.376 GB, free: 1.871 MB / 0.823 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.000113/1.801, allocations: 116.2 kB / 1.376 GB, free: 1.754 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/1.801, allocations: 7.906 kB / 1.376 GB, free: 1.746 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007497/1.802, allocations: 205.4 kB / 1.376 GB, free: 1.578 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/1.802, allocations: 4 kB / 1.376 GB, free: 1.574 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.802, allocations: 7.906 kB / 1.376 GB, free: 1.566 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/1.802, allocations: 3.984 kB / 1.376 GB, free: 1.562 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/1.804, allocations: 0.9444 MB / 1.377 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.804, allocations: 4.062 kB / 1.377 GB, free: 0.5586 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/1.804, allocations: 35.91 kB / 1.377 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/1.804, allocations: 4 kB / 1.377 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/1.804, allocations: 0 / 1.377 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/1.804, allocations: 4 kB / 1.377 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/1.804, allocations: 0 / 1.377 GB, free: 0.5156 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006129/1.804, allocations: 321.2 kB / 1.378 GB, free: 216 kB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008273/1.805, allocations: 0.6891 MB / 1.378 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/1.805, allocations: 92.62 kB / 1.378 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/1.805, allocations: 3.906 kB / 1.378 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/1.806, allocations: 19.97 kB / 1.378 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.806, allocations: 11.98 kB / 1.378 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/1.806, allocations: 7 kB / 1.378 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.947e-05/1.806, allocations: 98.64 kB / 1.379 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001167/1.807, allocations: 142.2 kB / 1.379 GB, free: 15.17 MB / 0.8386 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.0006902/1.808, allocations: 246.5 kB / 1.379 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003955/1.808, allocations: 138.4 kB / 1.379 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/1.808, allocations: 0 / 1.379 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/1.808, allocations: 73.8 kB / 1.379 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/1.809, allocations: 26.48 kB / 1.379 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008943/1.809, allocations: 197.6 kB / 1.379 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/1.81, allocations: 0.7461 MB / 1.38 GB, free: 13.8 MB / 0.8386 GB Notification: Performance of SimCode: time 3.2e-07/1.81, allocations: 0 / 1.38 GB, free: 13.8 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)