Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.045/2.045, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001203/0.001203, allocations: 177.3 kB / 487 MB, free: 5.387 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.466/1.466, allocations: 221.3 MB / 0.7819 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009967/0.0009968, allocations: 91.02 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6496/0.6507, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.9043, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7783/1.683, allocations: 155.1 MB / 1.357 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.683, allocations: 81.7 kB / 1.357 GB, free: 15.64 MB / 0.8073 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.02727/1.71, allocations: 8.394 MB / 1.365 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.71, allocations: 8 kB / 1.365 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005324/1.711, allocations: 103.7 kB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/1.711, allocations: 174.9 kB / 1.365 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.383e-05/1.711, allocations: 41.69 kB / 1.365 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.986e-05/1.711, allocations: 11.91 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000294/1.711, allocations: 150.2 kB / 1.365 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/1.712, allocations: 152.1 kB / 1.366 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.712, allocations: 0 / 1.366 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.712, allocations: 0 / 1.366 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.712, allocations: 4 kB / 1.366 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.713, allocations: 0.896 MB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/1.713, allocations: 129.7 kB / 1.367 GB, free: 9.906 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/1.713, allocations: 56.86 kB / 1.367 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006581/1.714, allocations: 0.5179 MB / 1.367 GB, free: 9.246 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.714, allocations: 30.56 kB / 1.367 GB, free: 9.207 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/1.714, allocations: 4 kB / 1.367 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0006994/1.715, allocations: 177 kB / 1.367 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/1.715, allocations: 55.41 kB / 1.367 GB, free: 8.996 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.463e-05/1.715, allocations: 112.6 kB / 1.368 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/1.715, allocations: 29.14 kB / 1.368 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/1.715, allocations: 127.6 kB / 1.368 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/1.715, allocations: 47.11 kB / 1.368 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/1.715, allocations: 0 / 1.368 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.843e-05/1.715, allocations: 326.3 kB / 1.368 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.715, allocations: 57.14 kB / 1.368 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/1.715, allocations: 73.28 kB / 1.368 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/1.716, allocations: 91.84 kB / 1.368 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/1.716, allocations: 0 / 1.368 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006158/1.717, allocations: 216.8 kB / 1.368 GB, free: 8.051 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.717, allocations: 4 kB / 1.368 GB, free: 8.047 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.717, allocations: 4.031 kB / 1.368 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/1.717, allocations: 7.938 kB / 1.368 GB, free: 8.035 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/1.717, allocations: 39.88 kB / 1.369 GB, free: 7.996 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.717, allocations: 4 kB / 1.369 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/1.717, allocations: 19.83 kB / 1.369 GB, free: 7.973 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/1.717, allocations: 11.98 kB / 1.369 GB, free: 7.961 MB / 0.8073 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 7.926e-05/1.717, allocations: 108.9 kB / 1.369 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/1.717, allocations: 7.906 kB / 1.369 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005956/1.718, allocations: 199.1 kB / 1.369 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/1.718, allocations: 7.906 kB / 1.369 GB, free: 7.676 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.718, allocations: 7.875 kB / 1.369 GB, free: 7.668 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.718, allocations: 7.984 kB / 1.369 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/1.719, allocations: 0.9491 MB / 1.37 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.719, allocations: 0 / 1.37 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.719, allocations: 35.91 kB / 1.37 GB, free: 6.625 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.719, allocations: 8 kB / 1.37 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/1.719, allocations: 0 / 1.37 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/1.719, allocations: 4 kB / 1.37 GB, free: 6.613 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.719, allocations: 3.906 kB / 1.37 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005303/1.72, allocations: 315.1 kB / 1.37 GB, free: 6.312 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005777/1.721, allocations: 0.6921 MB / 1.371 GB, free: 5.629 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/1.721, allocations: 96.66 kB / 1.371 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/1.721, allocations: 0 / 1.371 GB, free: 5.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.721, allocations: 19.98 kB / 1.371 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.624e-05/1.721, allocations: 7.984 kB / 1.371 GB, free: 5.492 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/1.721, allocations: 10.92 kB / 1.371 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.64e-05/1.721, allocations: 93.59 kB / 1.371 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001099/1.722, allocations: 145.9 kB / 1.371 GB, free: 5.27 MB / 0.8073 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.0005954/1.723, allocations: 242.9 kB / 1.371 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002579/1.723, allocations: 142.4 kB / 1.372 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.723, allocations: 0 / 1.372 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/1.723, allocations: 65.94 kB / 1.372 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/1.723, allocations: 19.3 kB / 1.372 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/1.725, allocations: 317 kB / 1.372 GB, free: 4.578 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/1.725, allocations: 0.7391 MB / 1.373 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of SimCode: time 1.423e-06/1.725, allocations: 0 / 1.373 GB, free: 3.812 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)