Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_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.004191/0.004192, allocations: 180 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6966/0.6966, allocations: 133.5 MB / 141.4 MB, free: 15.67 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.645/1.645, 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.001174/0.001174, allocations: 91.59 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5095/0.5108, allocations: 88.44 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.7139, allocations: 82.3 MB / 0.6333 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6008/1.315, allocations: 117.1 MB / 0.7477 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.315, allocations: 88.42 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.03819/1.353, allocations: 8.386 MB / 0.7559 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.353, allocations: 8.625 kB / 0.7559 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008575/1.354, allocations: 99.38 kB / 0.756 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/1.354, allocations: 180 kB / 0.7562 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.355, allocations: 41.62 kB / 0.7562 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/1.355, allocations: 8.5 kB / 0.7563 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004704/1.355, allocations: 147.9 kB / 0.7564 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/1.356, allocations: 147.1 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.356, allocations: 0 / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/1.356, allocations: 1.031 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/1.356, allocations: 3.281 kB / 0.7565 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/1.358, allocations: 0.8848 MB / 0.7574 GB, free: 23.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/1.358, allocations: 123.3 kB / 0.7575 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/1.358, allocations: 64.2 kB / 0.7576 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/1.36, allocations: 0.5238 MB / 0.7581 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/1.36, allocations: 32.75 kB / 0.7581 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.645e-06/1.36, allocations: 0 / 0.7581 GB, free: 22.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.001163/1.361, allocations: 174.6 kB / 0.7583 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.361, allocations: 53.81 kB / 0.7583 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.361, allocations: 116.3 kB / 0.7585 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/1.361, allocations: 34.14 kB / 0.7585 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/1.361, allocations: 121.5 kB / 0.7586 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.361, allocations: 43.64 kB / 0.7586 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/1.361, allocations: 1.094 kB / 0.7586 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.362, allocations: 320.3 kB / 0.7589 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/1.362, allocations: 60.8 kB / 0.759 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/1.362, allocations: 75.45 kB / 0.7591 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008219/1.363, allocations: 98.73 kB / 0.7592 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/1.363, allocations: 0 / 0.7592 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.001117/1.364, allocations: 222.5 kB / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.364, allocations: 4.094 kB / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.364, allocations: 1.281 kB / 0.7594 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.364, allocations: 5.172 kB / 0.7594 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/1.365, allocations: 39.17 kB / 0.7594 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/1.365, allocations: 9.078 kB / 0.7594 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/1.365, allocations: 21.77 kB / 0.7595 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/1.365, allocations: 7.891 kB / 0.7595 GB, free: 22.06 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.0001479/1.365, allocations: 106.6 kB / 0.7596 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.472e-05/1.365, allocations: 8.969 kB / 0.7596 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009754/1.366, allocations: 208.9 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.366, allocations: 2.125 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.366, allocations: 4 kB / 0.7598 GB, free: 21.87 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.366, allocations: 3.984 kB / 0.7598 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/1.368, allocations: 0.9518 MB / 0.7607 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.368, allocations: 1.094 kB / 0.7607 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002917/1.369, allocations: 32.91 kB / 0.7607 GB, free: 21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/1.369, allocations: 9.469 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/1.369, allocations: 1.469 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/1.369, allocations: 5.125 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.369, allocations: 1.406 kB / 0.7608 GB, free: 20.99 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007329/1.369, allocations: 322.4 kB / 0.7611 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009381/1.37, allocations: 0.6833 MB / 0.7617 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 9.439e-05/1.37, allocations: 96.22 kB / 0.7618 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/1.37, allocations: 1.188 kB / 0.7618 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/1.371, allocations: 14.2 kB / 0.7618 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/1.371, allocations: 12.66 kB / 0.7619 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/1.371, allocations: 4.594 kB / 0.7619 GB, free: 20.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.806e-05/1.371, allocations: 92.72 kB / 0.762 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001575/1.373, allocations: 157.7 kB / 0.7621 GB, free: 19.94 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.0006828/1.373, allocations: 236.5 kB / 0.7623 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004049/1.374, allocations: 138.9 kB / 0.7625 GB, free: 19.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.374, allocations: 8 kB / 0.7625 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/1.374, allocations: 66.3 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.0003808/1.374, allocations: 33.25 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.0007337/1.375, allocations: 199.1 kB / 0.7628 GB, free: 19.63 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005419/1.376, allocations: 0.7409 MB / 0.7635 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of SimCode: time 3.01e-07/1.376, allocations: 0 / 0.7635 GB, free: 18.9 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)