Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.00368/0.00368, allocations: 180.8 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6982/0.6982, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.635/1.635, allocations: 221.3 MB / 395 MB, free: 10.21 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.001057/0.001057, allocations: 103.3 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4705/0.4715, allocations: 88.43 MB / 0.5529 GB, free: 89.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.6738, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5751/1.249, allocations: 117.1 MB / 0.7476 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/1.249, allocations: 83.86 kB / 0.7477 GB, free: 10.53 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.02508/1.274, allocations: 8.394 MB / 0.7559 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.274, allocations: 8.094 kB / 0.7559 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/1.275, allocations: 103.3 kB / 0.756 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/1.275, allocations: 176.2 kB / 0.7562 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/1.275, allocations: 41.5 kB / 0.7562 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/1.275, allocations: 8.375 kB / 0.7562 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003196/1.276, allocations: 143 kB / 0.7564 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/1.276, allocations: 145 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/1.276, allocations: 0 / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/1.276, allocations: 0.9688 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/1.276, allocations: 3.594 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/1.277, allocations: 0.8947 MB / 0.7574 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/1.278, allocations: 121 kB / 0.7575 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/1.278, allocations: 65.08 kB / 0.7576 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/1.279, allocations: 0.5244 MB / 0.7581 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/1.279, allocations: 31.56 kB / 0.7581 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.614e-06/1.279, allocations: 1 kB / 0.7581 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0007122/1.279, allocations: 181.3 kB / 0.7583 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/1.279, allocations: 52.34 kB / 0.7583 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.28, allocations: 119.5 kB / 0.7585 GB, free: 22.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/1.28, allocations: 25.7 kB / 0.7585 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.903e-05/1.28, allocations: 121.2 kB / 0.7586 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/1.28, allocations: 48.38 kB / 0.7586 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/1.28, allocations: 3.938 kB / 0.7586 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.28, allocations: 317.2 kB / 0.7589 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/1.28, allocations: 66.5 kB / 0.759 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.28, allocations: 75.97 kB / 0.7591 GB, free: 22.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004381/1.281, allocations: 91.56 kB / 0.7592 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.281, allocations: 0.8438 kB / 0.7592 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006402/1.281, allocations: 220.4 kB / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.281, allocations: 5.25 kB / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.281, allocations: 0 / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.281, allocations: 6.219 kB / 0.7594 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002858/1.282, allocations: 42.09 kB / 0.7594 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.282, allocations: 1.094 kB / 0.7594 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/1.282, allocations: 21.98 kB / 0.7595 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.282, allocations: 11.52 kB / 0.7595 GB, free: 22.07 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 8.6e-05/1.282, allocations: 107.3 kB / 0.7596 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/1.282, allocations: 13.56 kB / 0.7596 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000641/1.283, allocations: 205.7 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/1.283, allocations: 2.469 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.283, allocations: 4 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/1.283, allocations: 0.9688 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/1.284, allocations: 0.95 MB / 0.7607 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.284, allocations: 0 / 0.7607 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/1.284, allocations: 36.94 kB / 0.7607 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/1.284, allocations: 5 kB / 0.7608 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.284, allocations: 6.312 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/1.284, allocations: 0.9688 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.284, allocations: 1.031 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005963/1.285, allocations: 317.8 kB / 0.7611 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007115/1.286, allocations: 0.6881 MB / 0.7617 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/1.286, allocations: 88.05 kB / 0.7618 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.63e-05/1.286, allocations: 5.266 kB / 0.7618 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/1.286, allocations: 14.55 kB / 0.7618 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/1.286, allocations: 16.14 kB / 0.7619 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.286, allocations: 3.812 kB / 0.7619 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.374e-05/1.286, allocations: 98.7 kB / 0.762 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001185/1.287, allocations: 148.7 kB / 0.7621 GB, free: 19.95 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.0005508/1.288, allocations: 248.9 kB / 0.7623 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003033/1.288, allocations: 139 kB / 0.7625 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.288, allocations: 0 / 0.7625 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/1.288, allocations: 70.14 kB / 0.7625 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/1.289, allocations: 25.7 kB / 0.7626 GB, free: 19.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/1.289, allocations: 204.7 kB / 0.7628 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.29, allocations: 0.7403 MB / 0.7635 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/1.29, allocations: 0.9688 kB / 0.7635 GB, free: 18.9 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)