Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.215/2.215, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001566/0.001566, allocations: 185.2 kB / 490.8 MB, free: 1.973 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.491/1.491, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.0009931/0.0009928, allocations: 76.81 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6341/0.6352, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.9393, allocations: 143 MB / 1.212 GB, free: 40.08 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.913/1.852, allocations: 155.9 MB / 1.364 GB, free: 17.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004276/1.853, allocations: 85.56 kB / 1.364 GB, free: 17.01 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.02825/1.881, allocations: 8.391 MB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.881, allocations: 10.69 kB / 1.372 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006392/1.882, allocations: 102 kB / 1.372 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/1.882, allocations: 173.1 kB / 1.372 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/1.882, allocations: 45.19 kB / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/1.882, allocations: 8.844 kB / 1.372 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003482/1.883, allocations: 147.1 kB / 1.373 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/1.883, allocations: 148 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/1.883, allocations: 0 / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.473e-05/1.883, allocations: 1.344 kB / 1.373 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.883, allocations: 7.562 kB / 1.373 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/1.885, allocations: 0.888 MB / 1.374 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/1.885, allocations: 129.7 kB / 1.374 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/1.885, allocations: 64.59 kB / 1.374 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/1.886, allocations: 0.5151 MB / 1.374 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/1.886, allocations: 36.84 kB / 1.374 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 2.034e-06/1.886, allocations: 4 kB / 1.374 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0008686/1.887, allocations: 176.5 kB / 1.375 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/1.887, allocations: 54.14 kB / 1.375 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/1.887, allocations: 116.7 kB / 1.375 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/1.887, allocations: 27.36 kB / 1.375 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/1.887, allocations: 125 kB / 1.375 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/1.887, allocations: 45.03 kB / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/1.887, allocations: 0 / 1.375 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001106/1.887, allocations: 323.8 kB / 1.375 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/1.887, allocations: 61.19 kB / 1.375 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/1.887, allocations: 76.67 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005644/1.888, allocations: 92.59 kB / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/1.888, allocations: 0 / 1.375 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007545/1.889, allocations: 210.1 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.889, allocations: 9 kB / 1.376 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.889, allocations: 9.641 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.889, allocations: 1 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.889, allocations: 46.02 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.889, allocations: 2.047 kB / 1.376 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/1.889, allocations: 22.33 kB / 1.376 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/1.889, allocations: 13.58 kB / 1.376 GB, free: 29.75 MB / 0.8386 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.0001043/1.889, allocations: 106.9 kB / 1.376 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/1.889, allocations: 10.31 kB / 1.376 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007601/1.89, allocations: 201.6 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/1.89, allocations: 1.562 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/1.89, allocations: 3.906 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/1.89, allocations: 2.359 kB / 1.376 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001738/1.892, allocations: 0.9488 MB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/1.892, allocations: 0.9688 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002418/1.892, allocations: 38.45 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/1.892, allocations: 5.406 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/1.892, allocations: 2.672 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.892, allocations: 1.625 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.892, allocations: 1 kB / 1.377 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000702/1.893, allocations: 318.9 kB / 1.377 GB, free: 28.62 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007988/1.894, allocations: 0.6884 MB / 1.378 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/1.894, allocations: 87.59 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/1.894, allocations: 5.906 kB / 1.378 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/1.894, allocations: 19.72 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/1.894, allocations: 13.08 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/1.894, allocations: 9.328 kB / 1.378 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.822e-05/1.894, allocations: 98.72 kB / 1.378 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001467/1.896, allocations: 146.5 kB / 1.378 GB, free: 27.84 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.000755/1.897, allocations: 247.9 kB / 1.379 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003206/1.897, allocations: 146.5 kB / 1.379 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.897, allocations: 0 / 1.379 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/1.897, allocations: 67.88 kB / 1.379 GB, free: 27.7 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/1.897, allocations: 32.44 kB / 1.379 GB, free: 27.68 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/1.899, allocations: 314.3 kB / 1.379 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/1.9, allocations: 0.7397 MB / 1.38 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.9, allocations: 0 / 1.38 GB, free: 26.86 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)