Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.002648/0.002648, allocations: 179.8 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7419/0.7419, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.608/1.608, allocations: 221.3 MB / 395 MB, free: 10.26 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.001128/0.001128, allocations: 107.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5145/0.5157, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.7056, allocations: 82.3 MB / 0.6333 GB, free: 14.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6094/1.315, allocations: 117.1 MB / 0.7476 GB, free: 10.74 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.315, allocations: 85.75 kB / 0.7477 GB, free: 10.74 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.0272/1.343, allocations: 8.386 MB / 0.7559 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/1.343, allocations: 9.969 kB / 0.7559 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/1.343, allocations: 98.89 kB / 0.756 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/1.343, allocations: 184.6 kB / 0.7562 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.17e-05/1.343, allocations: 40.59 kB / 0.7562 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/1.344, allocations: 8.906 kB / 0.7562 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003227/1.344, allocations: 148.5 kB / 0.7564 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/1.344, allocations: 139.5 kB / 0.7565 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.344, allocations: 0.9062 kB / 0.7565 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/1.344, allocations: 0 / 0.7565 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/1.344, allocations: 4.156 kB / 0.7565 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/1.346, allocations: 0.9005 MB / 0.7574 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/1.346, allocations: 119.2 kB / 0.7575 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/1.346, allocations: 66.72 kB / 0.7576 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007552/1.347, allocations: 0.5157 MB / 0.7581 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/1.347, allocations: 39.42 kB / 0.7581 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/1.347, allocations: 0 / 0.7581 GB, free: 23.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0007367/1.348, allocations: 173.7 kB / 0.7583 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.348, allocations: 59.56 kB / 0.7583 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/1.348, allocations: 118.3 kB / 0.7585 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/1.348, allocations: 26.77 kB / 0.7585 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/1.348, allocations: 121.6 kB / 0.7586 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.869e-05/1.348, allocations: 44.02 kB / 0.7586 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/1.348, allocations: 0 / 0.7586 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001496/1.348, allocations: 321.7 kB / 0.7589 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/1.348, allocations: 61.61 kB / 0.759 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/1.349, allocations: 79.2 kB / 0.7591 GB, free: 22.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/1.349, allocations: 94.19 kB / 0.7592 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.349, allocations: 0 / 0.7592 GB, free: 22.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006553/1.35, allocations: 218.9 kB / 0.7594 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/1.35, allocations: 5.219 kB / 0.7594 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/1.35, allocations: 0 / 0.7594 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.35, allocations: 2.625 kB / 0.7594 GB, free: 22.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/1.35, allocations: 45.94 kB / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/1.35, allocations: 1.312 kB / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/1.35, allocations: 21.86 kB / 0.7595 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.661e-05/1.35, allocations: 8.25 kB / 0.7595 GB, free: 22.28 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 0.0001135/1.35, allocations: 112.3 kB / 0.7596 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/1.35, allocations: 10.16 kB / 0.7596 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006635/1.351, allocations: 210.8 kB / 0.7598 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.351, allocations: 1.25 kB / 0.7598 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.351, allocations: 0 / 0.7598 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.351, allocations: 5.375 kB / 0.7598 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/1.353, allocations: 0.9467 MB / 0.7607 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.353, allocations: 5.25 kB / 0.7607 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/1.353, allocations: 36.23 kB / 0.7608 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/1.353, allocations: 5.219 kB / 0.7608 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/1.353, allocations: 6.672 kB / 0.7608 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/1.353, allocations: 1.344 kB / 0.7608 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.353, allocations: 4 kB / 0.7608 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006563/1.354, allocations: 319.3 kB / 0.7611 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008479/1.355, allocations: 0.6933 MB / 0.7617 GB, free: 20.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/1.355, allocations: 84.77 kB / 0.7618 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/1.355, allocations: 1.312 kB / 0.7618 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/1.355, allocations: 22.03 kB / 0.7619 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/1.355, allocations: 12.92 kB / 0.7619 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.355, allocations: 7.875 kB / 0.7619 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.566e-05/1.355, allocations: 96.77 kB / 0.762 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001266/1.356, allocations: 145.1 kB / 0.7621 GB, free: 20.15 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.000596/1.357, allocations: 248.2 kB / 0.7623 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000341/1.357, allocations: 135.9 kB / 0.7625 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.357, allocations: 1.5 kB / 0.7625 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/1.358, allocations: 68.64 kB / 0.7625 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/1.358, allocations: 23.08 kB / 0.7626 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/1.359, allocations: 314.7 kB / 0.7629 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/1.36, allocations: 0.7449 MB / 0.7636 GB, free: 19.07 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/1.36, allocations: 0 / 0.7636 GB, free: 19.07 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)