Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_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.001049/0.001049, allocations: 185.8 kB / 7.802 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4515/0.4515, allocations: 90.86 MB / 99.07 MB, free: 14.98 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 221.4 MB / 342.7 MB, free: 5.512 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 93.5 kB / 415.5 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1735/0.1744, allocations: 78.45 MB / 494 MB, free: 8 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.5522, allocations: 72.3 MB / 0.553 GB, free: 73.67 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.6695, allocations: 107.3 MB / 0.6578 GB, free: 2.785 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.6698, allocations: 83.94 kB / 0.6578 GB, free: 2.703 MB / 474.7 MB 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.02442/0.6942, allocations: 8.394 MB / 0.666 GB, free: 10.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.6943, allocations: 8 kB / 0.6661 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.6948, allocations: 103.7 kB / 0.6662 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.695, allocations: 182.8 kB / 0.6663 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.931e-05/0.6951, allocations: 41.64 kB / 0.6664 GB, free: 9.949 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.6951, allocations: 11.98 kB / 0.6664 GB, free: 9.938 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002949/0.6954, allocations: 139.9 kB / 0.6665 GB, free: 9.801 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002686/0.6957, allocations: 144 kB / 0.6666 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6957, allocations: 0 / 0.6666 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.6957, allocations: 0 / 0.6666 GB, free: 9.656 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.6957, allocations: 4 kB / 0.6667 GB, free: 9.652 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.6971, allocations: 0.9015 MB / 0.6675 GB, free: 8.641 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002202/0.6973, allocations: 119.9 kB / 0.6676 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.6975, allocations: 65.09 kB / 0.6677 GB, free: 8.449 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006725/0.6981, allocations: 0.522 MB / 0.6682 GB, free: 7.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.6982, allocations: 34.56 kB / 0.6683 GB, free: 7.773 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.6982, allocations: 0 / 0.6683 GB, free: 7.773 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006565/0.6989, allocations: 185.4 kB / 0.6684 GB, free: 7.586 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.6989, allocations: 51.41 kB / 0.6685 GB, free: 7.523 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.001e-05/0.699, allocations: 115 kB / 0.6686 GB, free: 7.406 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.699, allocations: 29.7 kB / 0.6686 GB, free: 7.371 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.6991, allocations: 120.1 kB / 0.6687 GB, free: 7.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.6992, allocations: 39.36 kB / 0.6688 GB, free: 7.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/0.6992, allocations: 0 / 0.6688 GB, free: 7.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6993, allocations: 326.8 kB / 0.6691 GB, free: 6.883 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.6994, allocations: 64 kB / 0.6691 GB, free: 6.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.6995, allocations: 73.7 kB / 0.6692 GB, free: 6.742 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.7, allocations: 91.91 kB / 0.6693 GB, free: 6.652 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7, allocations: 0 / 0.6693 GB, free: 6.652 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006155/0.7006, allocations: 220.8 kB / 0.6695 GB, free: 6.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.7006, allocations: 7.938 kB / 0.6695 GB, free: 6.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.7006, allocations: 5.312 kB / 0.6695 GB, free: 6.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.7007, allocations: 4.031 kB / 0.6695 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.7009, allocations: 43.91 kB / 0.6696 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.7009, allocations: 0 / 0.6696 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.7011, allocations: 23.83 kB / 0.6696 GB, free: 6.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.7012, allocations: 5.062 kB / 0.6696 GB, free: 6.348 MB / 490.7 MB 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.67e-05/0.7012, allocations: 108.9 kB / 0.6697 GB, free: 6.234 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.7013, allocations: 15.8 kB / 0.6697 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000619/0.7019, allocations: 203.8 kB / 0.6699 GB, free: 6.016 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.7019, allocations: 4 kB / 0.6699 GB, free: 6.012 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.7019, allocations: 4 kB / 0.6699 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.702, allocations: 2.188 kB / 0.6699 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.7035, allocations: 0.951 MB / 0.6708 GB, free: 4.914 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.7035, allocations: 4.062 kB / 0.6708 GB, free: 4.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.7037, allocations: 37.89 kB / 0.6709 GB, free: 4.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7037, allocations: 3.938 kB / 0.6709 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.7038, allocations: 7.984 kB / 0.6709 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.7038, allocations: 0 / 0.6709 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.7038, allocations: 0 / 0.6709 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005942/0.7044, allocations: 312.4 kB / 0.6712 GB, free: 4.523 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007163/0.7051, allocations: 0.6898 MB / 0.6719 GB, free: 3.797 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.7052, allocations: 93 kB / 0.672 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.7052, allocations: 4 kB / 0.672 GB, free: 3.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.7055, allocations: 15.97 kB / 0.672 GB, free: 3.668 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.7055, allocations: 11.98 kB / 0.672 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.7055, allocations: 4 kB / 0.672 GB, free: 3.652 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.998e-05/0.7056, allocations: 99.27 kB / 0.6721 GB, free: 3.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00112/0.7067, allocations: 143.7 kB / 0.6722 GB, free: 3.414 MB / 490.7 MB 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.0004955/0.7072, allocations: 248.5 kB / 0.6725 GB, free: 3.164 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.7075, allocations: 138.3 kB / 0.6726 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7075, allocations: 0 / 0.6726 GB, free: 3.031 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.7077, allocations: 71.92 kB / 0.6727 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002385/0.7079, allocations: 25.42 kB / 0.6727 GB, free: 2.938 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.7094, allocations: 313.5 kB / 0.673 GB, free: 2.602 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.7098, allocations: 0.743 MB / 0.6737 GB, free: 1.832 MB / 490.7 MB Notification: Performance of SimCode: time 2.81e-07/0.7098, allocations: 0 / 0.6737 GB, free: 1.832 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)