Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001873/0.001873, allocations: 180.1 kB / 7.455 MB, free: 2.52 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.594/0.594, allocations: 133.5 MB / 141.4 MB, free: 15.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.127/1.127, allocations: 221.3 MB / 395 MB, free: 10.23 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008167, allocations: 94.91 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.202e-06/6.262e-06, allocations: 3.125 kB / 0.5528 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 82.3 MB / 0.6332 GB, free: 14.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.328/0.4324, allocations: 117.1 MB / 0.7476 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4326, allocations: 84.42 kB / 0.7476 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.02157/0.4542, allocations: 7.904 MB / 0.7554 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4543, allocations: 2.219 kB / 0.7554 GB, free: 9.379 MB / 0.4948 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.000746/0.455, allocations: 498.1 kB / 0.7558 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.455, allocations: 8.688 kB / 0.7558 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/0.4555, allocations: 94.94 kB / 0.7559 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.4557, allocations: 180.6 kB / 0.7561 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.4558, allocations: 44.78 kB / 0.7561 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.4558, allocations: 8.844 kB / 0.7562 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002653/0.4561, allocations: 140.4 kB / 0.7563 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.4563, allocations: 145.9 kB / 0.7564 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.4563, allocations: 1.062 kB / 0.7564 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.4564, allocations: 0 / 0.7564 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.4564, allocations: 3.344 kB / 0.7564 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.4577, allocations: 0.8945 MB / 0.7573 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4579, allocations: 122.1 kB / 0.7574 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.458, allocations: 63.2 kB / 0.7575 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006375/0.4586, allocations: 0.5207 MB / 0.758 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.4586, allocations: 31.69 kB / 0.758 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.4586, allocations: 0 / 0.758 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0006268/0.4593, allocations: 179.3 kB / 0.7582 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4593, allocations: 56.62 kB / 0.7582 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.36e-05/0.4594, allocations: 118.3 kB / 0.7584 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.4594, allocations: 25.7 kB / 0.7584 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.311e-05/0.4595, allocations: 121.4 kB / 0.7585 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.4595, allocations: 47.81 kB / 0.7585 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.4596, allocations: 0 / 0.7585 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.15e-05/0.4597, allocations: 316.1 kB / 0.7588 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.7e-05/0.4598, allocations: 63.47 kB / 0.7589 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4599, allocations: 80.59 kB / 0.759 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.4603, allocations: 92.34 kB / 0.7591 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4603, allocations: 0 / 0.7591 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000575/0.4609, allocations: 221.1 kB / 0.7593 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4609, allocations: 5.344 kB / 0.7593 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4609, allocations: 0 / 0.7593 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4609, allocations: 2.312 kB / 0.7593 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.4612, allocations: 49.22 kB / 0.7593 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.4612, allocations: 1.281 kB / 0.7593 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.4614, allocations: 22.2 kB / 0.7594 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.4614, allocations: 8.297 kB / 0.7594 GB, free: 22.27 MB / 0.5105 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.81e-05/0.4615, allocations: 111.3 kB / 0.7595 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.4616, allocations: 9.438 kB / 0.7595 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005664/0.4621, allocations: 203.6 kB / 0.7597 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.4621, allocations: 5.047 kB / 0.7597 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4621, allocations: 0 / 0.7597 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4622, allocations: 5.5 kB / 0.7597 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.4636, allocations: 0.9464 MB / 0.7606 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4636, allocations: 5.156 kB / 0.7606 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4638, allocations: 40.06 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.4638, allocations: 6.25 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4638, allocations: 1.438 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.4638, allocations: 1.25 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4638, allocations: 1.156 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005368/0.4644, allocations: 318.2 kB / 0.761 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.4644, allocations: 88.36 kB / 0.7611 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.4645, allocations: 5.359 kB / 0.7611 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.4647, allocations: 13.86 kB / 0.7611 GB, free: 20.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.279e-05/0.4647, allocations: 16.3 kB / 0.7611 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.4648, allocations: 3.656 kB / 0.7611 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.296e-05/0.4648, allocations: 99.77 kB / 0.7612 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004699/0.4653, allocations: 138 kB / 0.7613 GB, free: 20.75 MB / 0.5105 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.0004956/0.4658, allocations: 245.4 kB / 0.7616 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.4661, allocations: 139.4 kB / 0.7617 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4661, allocations: 0 / 0.7617 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.364e-05/0.4662, allocations: 65.69 kB / 0.7617 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.4664, allocations: 19.92 kB / 0.7618 GB, free: 20.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.4678, allocations: 331.9 kB / 0.7621 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.4682, allocations: 0.7417 MB / 0.7628 GB, free: 19.67 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.4682, allocations: 3.938 kB / 0.7628 GB, free: 19.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.007083/0.4752, allocations: 4.066 MB / 0.7668 GB, free: 17.62 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)