Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7037/0.7037, allocations: 141.8 MB / 149.1 MB, free: 4.559 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 190.5 kB / 181.9 MB, free: 200 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.3 MB / 436 MB, free: 9.289 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009294/0.0009297, allocations: 92.3 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001792, allocations: 292.9 kB / 0.5885 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1709/0.1727, allocations: 89.64 MB / 0.676 GB, free: 2.582 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.5461, allocations: 82.77 MB / 0.7568 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.6645, allocations: 114.4 MB / 0.8685 GB, free: 14.38 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/0.6648, allocations: 95.86 kB / 0.8686 GB, free: 14.29 MB / 0.5419 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.02441/0.6893, allocations: 8.38 MB / 0.8768 GB, free: 5.898 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6893, allocations: 19.98 kB / 0.8768 GB, free: 5.879 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004959/0.6898, allocations: 95.72 kB / 0.8769 GB, free: 5.785 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.69, allocations: 176.1 kB / 0.8771 GB, free: 5.574 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.6901, allocations: 49.62 kB / 0.8771 GB, free: 5.52 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.6901, allocations: 12 kB / 0.8772 GB, free: 5.508 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000277/0.6904, allocations: 136 kB / 0.8773 GB, free: 5.375 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.6906, allocations: 145.5 kB / 0.8774 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.6907, allocations: 0 / 0.8774 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.304e-05/0.6907, allocations: 0 / 0.8774 GB, free: 5.227 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.6907, allocations: 7.984 kB / 0.8774 GB, free: 5.219 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001356/0.6921, allocations: 0.892 MB / 0.8783 GB, free: 4.215 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.6923, allocations: 124.1 kB / 0.8784 GB, free: 4.086 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.6924, allocations: 56.86 kB / 0.8785 GB, free: 4.027 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.6931, allocations: 0.522 MB / 0.879 GB, free: 3.395 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.6932, allocations: 34.56 kB / 0.879 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=14): time 2.114e-06/0.6932, allocations: 0 / 0.879 GB, free: 3.352 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14): time 0.000678/0.6939, allocations: 176.9 kB / 0.8792 GB, free: 3.176 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.6939, allocations: 55.34 kB / 0.8792 GB, free: 3.109 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.694, allocations: 125.2 kB / 0.8794 GB, free: 2.98 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.694, allocations: 33.7 kB / 0.8794 GB, free: 2.941 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.6941, allocations: 120 kB / 0.8795 GB, free: 2.82 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.6942, allocations: 43.36 kB / 0.8795 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.6942, allocations: 0 / 0.8795 GB, free: 2.777 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6943, allocations: 318.8 kB / 0.8799 GB, free: 2.457 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6944, allocations: 60.69 kB / 0.8799 GB, free: 2.398 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.6946, allocations: 80.41 kB / 0.88 GB, free: 2.316 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004099/0.695, allocations: 95.91 kB / 0.8801 GB, free: 2.223 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.695, allocations: 0.5625 kB / 0.8801 GB, free: 2.223 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005977/0.6956, allocations: 214.6 kB / 0.8803 GB, free: 2.008 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.6956, allocations: 8 kB / 0.8803 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.6956, allocations: 2.266 kB / 0.8803 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6956, allocations: 0 / 0.8803 GB, free: 2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.696, allocations: 40 kB / 0.8803 GB, free: 1.961 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.696, allocations: 5.781 kB / 0.8803 GB, free: 1.957 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.6962, allocations: 23.83 kB / 0.8804 GB, free: 1.934 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.6962, allocations: 4 kB / 0.8804 GB, free: 1.93 MB / 0.5419 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.0001026/0.6963, allocations: 112.8 kB / 0.8805 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.262e-05/0.6964, allocations: 11.91 kB / 0.8805 GB, free: 1.801 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/0.697, allocations: 205.1 kB / 0.8807 GB, free: 1.594 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.697, allocations: 4 kB / 0.8807 GB, free: 1.59 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.697, allocations: 0 / 0.8807 GB, free: 1.59 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.697, allocations: 3.906 kB / 0.8807 GB, free: 1.586 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.6984, allocations: 0.9603 MB / 0.8816 GB, free: 496 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.6984, allocations: 4 kB / 0.8816 GB, free: 492 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.6987, allocations: 31.92 kB / 0.8817 GB, free: 460 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6987, allocations: 8.047 kB / 0.8817 GB, free: 452 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.6987, allocations: 4 kB / 0.8817 GB, free: 448 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.6987, allocations: 0 / 0.8817 GB, free: 448 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6987, allocations: 0 / 0.8817 GB, free: 448 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005656/0.6993, allocations: 324.4 kB / 0.882 GB, free: 88 kB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000639/0.6999, allocations: 0.6766 MB / 0.8826 GB, free: 15.37 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.7, allocations: 93.02 kB / 0.8827 GB, free: 15.26 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.7, allocations: 14.06 kB / 0.8827 GB, free: 15.25 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.7003, allocations: 15.97 kB / 0.8828 GB, free: 15.23 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.7004, allocations: 7.984 kB / 0.8828 GB, free: 15.23 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.7004, allocations: 4 kB / 0.8828 GB, free: 15.22 MB / 0.5575 GB Notification: Performance of sort global known variables: time 4.606e-05/0.7004, allocations: 99.27 kB / 0.8829 GB, free: 15.12 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.001033/0.7015, allocations: 147.7 kB / 0.883 GB, free: 14.98 MB / 0.5575 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.0005508/0.702, allocations: 242.9 kB / 0.8832 GB, free: 14.73 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.7023, allocations: 146 kB / 0.8834 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7023, allocations: 8.062 kB / 0.8834 GB, free: 14.59 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7024, allocations: 63.94 kB / 0.8834 GB, free: 14.52 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7027, allocations: 22.48 kB / 0.8835 GB, free: 14.5 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.7042, allocations: 313.4 kB / 0.8838 GB, free: 14.17 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.7047, allocations: 0.7469 MB / 0.8845 GB, free: 13.39 MB / 0.5575 GB Notification: Performance of SimCode: time 2.91e-07/0.7047, allocations: 4 kB / 0.8845 GB, free: 13.39 MB / 0.5575 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)