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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_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.005589/0.005589, allocations: 186 kB / 7.461 MB, free: 2.242 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8019/0.8019, allocations: 133.5 MB / 141.4 MB, free: 15.69 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.512/1.512, allocations: 221.4 MB / 395 MB, free: 10.18 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.001085/0.001084, allocations: 90.92 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.429/0.4302, allocations: 88.44 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.6249, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5297/1.155, allocations: 117.1 MB / 0.7476 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/1.155, allocations: 86.17 kB / 0.7477 GB, free: 10.7 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.02699/1.182, allocations: 8.382 MB / 0.7559 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.182, allocations: 9 kB / 0.7559 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005504/1.183, allocations: 99.31 kB / 0.756 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/1.183, allocations: 184.2 kB / 0.7562 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/1.183, allocations: 45 kB / 0.7562 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/1.183, allocations: 8.969 kB / 0.7562 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003225/1.183, allocations: 143.3 kB / 0.7564 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/1.184, allocations: 142.3 kB / 0.7565 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/1.184, allocations: 0 / 0.7565 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.101e-05/1.184, allocations: 0 / 0.7565 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/1.184, allocations: 8.281 kB / 0.7565 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/1.185, allocations: 0.8871 MB / 0.7574 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/1.186, allocations: 126.9 kB / 0.7575 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.186, allocations: 57.86 kB / 0.7576 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008093/1.187, allocations: 0.5195 MB / 0.7581 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/1.187, allocations: 44.66 kB / 0.7581 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.392e-06/1.187, allocations: 0 / 0.7581 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0007385/1.187, allocations: 174.8 kB / 0.7583 GB, free: 23.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/1.187, allocations: 56.34 kB / 0.7583 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/1.188, allocations: 119.7 kB / 0.7585 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.188, allocations: 26.83 kB / 0.7585 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/1.188, allocations: 125.3 kB / 0.7586 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/1.188, allocations: 44.11 kB / 0.7586 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/1.188, allocations: 0 / 0.7586 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.188, allocations: 325 kB / 0.7589 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/1.188, allocations: 61.92 kB / 0.759 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/1.188, allocations: 78.08 kB / 0.7591 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/1.189, allocations: 89.02 kB / 0.7592 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/1.189, allocations: 0 / 0.7592 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006304/1.189, allocations: 220.8 kB / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.189, allocations: 11.16 kB / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.189, allocations: 0 / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/1.189, allocations: 2.594 kB / 0.7594 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/1.19, allocations: 41.5 kB / 0.7594 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.19, allocations: 6.234 kB / 0.7594 GB, free: 22.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/1.19, allocations: 29.56 kB / 0.7595 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/1.19, allocations: 4.375 kB / 0.7595 GB, free: 22.26 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.0001001/1.19, allocations: 106.9 kB / 0.7596 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/1.19, allocations: 9.406 kB / 0.7596 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006738/1.191, allocations: 211.4 kB / 0.7598 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/1.191, allocations: 1.562 kB / 0.7598 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.191, allocations: 0 / 0.7598 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.191, allocations: 5.578 kB / 0.7598 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.192, allocations: 0.9469 MB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.192, allocations: 1.562 kB / 0.7607 GB, free: 21.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/1.192, allocations: 36.16 kB / 0.7607 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/1.193, allocations: 5.25 kB / 0.7608 GB, free: 21.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/1.193, allocations: 5.547 kB / 0.7608 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.193, allocations: 1.656 kB / 0.7608 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.193, allocations: 1.906 kB / 0.7608 GB, free: 21.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006439/1.193, allocations: 323.2 kB / 0.7611 GB, free: 20.96 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000804/1.194, allocations: 0.6837 MB / 0.7617 GB, free: 20.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.451e-05/1.194, allocations: 92.28 kB / 0.7618 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/1.194, allocations: 1 kB / 0.7618 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/1.194, allocations: 22.73 kB / 0.7618 GB, free: 20.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/1.194, allocations: 12.25 kB / 0.7619 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/1.194, allocations: 7.75 kB / 0.7619 GB, free: 20.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.113e-05/1.195, allocations: 91.94 kB / 0.762 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001433/1.196, allocations: 150.2 kB / 0.7621 GB, free: 20.13 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.0005964/1.197, allocations: 247.4 kB / 0.7623 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003314/1.197, allocations: 140 kB / 0.7625 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.197, allocations: 0 / 0.7625 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/1.197, allocations: 64.41 kB / 0.7625 GB, free: 19.97 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/1.197, allocations: 34.48 kB / 0.7626 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.199, allocations: 326.7 kB / 0.7629 GB, free: 19.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/1.199, allocations: 0.7337 MB / 0.7636 GB, free: 19.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/1.199, allocations: 0 / 0.7636 GB, free: 19.05 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)