Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") [: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.7712/0.7712, allocations: 141.8 MB / 149.1 MB, free: 4.398 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.001123/0.001123, allocations: 189.2 kB / 181.9 MB, free: 84 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.495/1.495, 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.001035/0.001035, allocations: 96.97 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001854/0.001855, allocations: 281.4 kB / 0.5884 GB, free: 12.25 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.464e-05, allocations: 7.938 kB / 0.6759 GB, free: 2.605 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4548, allocations: 82.77 MB / 0.7567 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.5788, allocations: 114.4 MB / 0.8684 GB, free: 14.24 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.5792, allocations: 92.31 kB / 0.8685 GB, free: 14.16 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.02483/0.6041, allocations: 7.902 MB / 0.8763 GB, free: 6.289 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6041, allocations: 4 kB / 0.8763 GB, free: 6.285 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.0009389/0.6051, allocations: 498 kB / 0.8767 GB, free: 5.75 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.6051, allocations: 8.031 kB / 0.8767 GB, free: 5.742 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005847/0.6057, allocations: 99.72 kB / 0.8768 GB, free: 5.645 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.6059, allocations: 176.6 kB / 0.877 GB, free: 5.434 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.606, allocations: 41.69 kB / 0.877 GB, free: 5.387 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.116e-05/0.6061, allocations: 12 kB / 0.8771 GB, free: 5.375 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003176/0.6064, allocations: 143.9 kB / 0.8772 GB, free: 5.234 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.6068, allocations: 149.5 kB / 0.8773 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.6068, allocations: 0 / 0.8773 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.6068, allocations: 0 / 0.8773 GB, free: 5.082 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.6068, allocations: 4 kB / 0.8773 GB, free: 5.078 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.6083, allocations: 0.8843 MB / 0.8782 GB, free: 4.082 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.6086, allocations: 126.5 kB / 0.8783 GB, free: 3.949 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.6087, allocations: 60.86 kB / 0.8784 GB, free: 3.887 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/0.6095, allocations: 0.522 MB / 0.8789 GB, free: 3.254 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6095, allocations: 34.56 kB / 0.8789 GB, free: 3.211 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=14): time 3.276e-06/0.6095, allocations: 0 / 0.8789 GB, free: 3.211 MB / 0.5419 GB Notification: Performance of matching and sorting (n=14): time 0.0006987/0.6102, allocations: 181.7 kB / 0.8791 GB, free: 3.027 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.6103, allocations: 53.56 kB / 0.8791 GB, free: 2.965 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.6104, allocations: 128.6 kB / 0.8793 GB, free: 2.836 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 5.144e-05/0.6105, allocations: 25.7 kB / 0.8793 GB, free: 2.805 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 8.733e-05/0.6105, allocations: 124 kB / 0.8794 GB, free: 2.68 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.6107, allocations: 43.34 kB / 0.8795 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.6107, allocations: 0 / 0.8795 GB, free: 2.637 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.6109, allocations: 322.8 kB / 0.8798 GB, free: 2.312 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.611, allocations: 64.61 kB / 0.8798 GB, free: 2.25 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001476/0.6112, allocations: 77.67 kB / 0.8799 GB, free: 2.168 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.6117, allocations: 91.91 kB / 0.88 GB, free: 2.078 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.6117, allocations: 0 / 0.88 GB, free: 2.078 MB / 0.5419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006657/0.6124, allocations: 211.9 kB / 0.8802 GB, free: 1.867 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.6124, allocations: 4 kB / 0.8802 GB, free: 1.863 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6124, allocations: 0 / 0.8802 GB, free: 1.863 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.6124, allocations: 8.031 kB / 0.8802 GB, free: 1.855 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.6127, allocations: 43.91 kB / 0.8802 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-06/0.6127, allocations: 0 / 0.8802 GB, free: 1.812 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.6129, allocations: 19.83 kB / 0.8803 GB, free: 1.793 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.613, allocations: 11.98 kB / 0.8803 GB, free: 1.781 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.000122/0.6131, allocations: 112.8 kB / 0.8804 GB, free: 1.664 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.6132, allocations: 7.906 kB / 0.8804 GB, free: 1.656 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006639/0.6138, allocations: 198 kB / 0.8806 GB, free: 1.453 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6139, allocations: 0 / 0.8806 GB, free: 1.453 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6139, allocations: 10.81 kB / 0.8806 GB, free: 1.445 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6139, allocations: 3.906 kB / 0.8806 GB, free: 1.441 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/0.6156, allocations: 0.9518 MB / 0.8815 GB, free: 356 kB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6156, allocations: 64 / 0.8815 GB, free: 356 kB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.6158, allocations: 47.91 kB / 0.8816 GB, free: 308 kB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.6159, allocations: 0 / 0.8816 GB, free: 308 kB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.6159, allocations: 0 / 0.8816 GB, free: 308 kB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.6159, allocations: 4 kB / 0.8816 GB, free: 304 kB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.6159, allocations: 0 / 0.8816 GB, free: 304 kB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006393/0.6165, allocations: 320 kB / 0.8819 GB, free: 15.95 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.6167, allocations: 89.02 kB / 0.882 GB, free: 15.85 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.6167, allocations: 11.89 kB / 0.882 GB, free: 15.84 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.6169, allocations: 15.98 kB / 0.882 GB, free: 15.82 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.617, allocations: 7.984 kB / 0.882 GB, free: 15.81 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.617, allocations: 7.984 kB / 0.882 GB, free: 15.8 MB / 0.5575 GB Notification: Performance of sort global known variables: time 6.512e-05/0.6171, allocations: 99.22 kB / 0.8821 GB, free: 15.71 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.000555/0.6177, allocations: 135.7 kB / 0.8822 GB, free: 15.57 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.0006582/0.6183, allocations: 243 kB / 0.8825 GB, free: 15.33 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0003449/0.6187, allocations: 139.9 kB / 0.8826 GB, free: 15.19 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6187, allocations: 4 kB / 0.8826 GB, free: 15.19 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.6188, allocations: 63.94 kB / 0.8827 GB, free: 15.12 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.6191, allocations: 28.89 kB / 0.8827 GB, free: 15.1 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006426/0.6197, allocations: 193.4 kB / 0.8829 GB, free: 14.88 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.6201, allocations: 0.7469 MB / 0.8836 GB, free: 14.11 MB / 0.5575 GB Notification: Performance of SimCode: time 3.1e-07/0.6202, allocations: 0.75 kB / 0.8836 GB, free: 14.11 MB / 0.5575 GB Notification: Performance of Templates: time 0.009386/0.6295, allocations: 4.073 MB / 0.8876 GB, free: 10.12 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)