Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="Buildings_9_Buildings_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/Buildings 9.1.1-maint.9.1.x/package.mo): time 1.998/1.998, allocations: 387.2 MB / 394.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 169.3 kB / 487 MB, free: 5.375 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009542/0.0009539, allocations: 104.8 kB / 0.9213 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.605/0.606, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.8777, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7594/1.637, allocations: 155.1 MB / 1.357 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.637, allocations: 86.58 kB / 1.357 GB, free: 15.77 MB / 0.8073 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.02459/1.662, allocations: 8.4 MB / 1.365 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/1.662, allocations: 9 kB / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004845/1.663, allocations: 99.47 kB / 1.365 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.899e-05/1.663, allocations: 175 kB / 1.365 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/1.663, allocations: 41.69 kB / 1.365 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/1.663, allocations: 11.91 kB / 1.365 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002845/1.663, allocations: 147.8 kB / 1.365 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/1.663, allocations: 146.4 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/1.663, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/1.663, allocations: 0 / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/1.663, allocations: 4 kB / 1.366 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/1.665, allocations: 0.8963 MB / 1.367 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001926/1.665, allocations: 121.7 kB / 1.367 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/1.665, allocations: 66.05 kB / 1.367 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/1.666, allocations: 0.5174 MB / 1.367 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/1.666, allocations: 34.56 kB / 1.367 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/1.666, allocations: 0 / 1.367 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0006395/1.666, allocations: 181.8 kB / 1.367 GB, free: 9.004 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/1.666, allocations: 55.41 kB / 1.367 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/1.666, allocations: 113.1 kB / 1.368 GB, free: 8.828 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.666, allocations: 25.7 kB / 1.368 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/1.666, allocations: 127.5 kB / 1.368 GB, free: 8.676 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-05/1.667, allocations: 46.55 kB / 1.368 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/1.667, allocations: 0 / 1.368 GB, free: 8.637 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.163e-05/1.667, allocations: 318.7 kB / 1.368 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.313e-05/1.667, allocations: 63.92 kB / 1.368 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/1.667, allocations: 81.09 kB / 1.368 GB, free: 8.227 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/1.667, allocations: 89.59 kB / 1.368 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.667, allocations: 0 / 1.368 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005694/1.668, allocations: 212.7 kB / 1.368 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.668, allocations: 4 kB / 1.368 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/1.668, allocations: 0 / 1.368 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.668, allocations: 0 / 1.368 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/1.668, allocations: 55.59 kB / 1.369 GB, free: 7.938 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/1.668, allocations: 4 kB / 1.369 GB, free: 7.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.668, allocations: 19.83 kB / 1.369 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/1.668, allocations: 7.984 kB / 1.369 GB, free: 7.906 MB / 0.8073 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 7.246e-05/1.668, allocations: 112.9 kB / 1.369 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.669, allocations: 7.906 kB / 1.369 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/1.669, allocations: 198.8 kB / 1.369 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.669, allocations: 7.844 kB / 1.369 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.669, allocations: 0 / 1.369 GB, free: 7.613 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/1.669, allocations: 8 kB / 1.369 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.67, allocations: 0.9484 MB / 1.37 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.67, allocations: 0 / 1.37 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/1.671, allocations: 39.97 kB / 1.37 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/1.671, allocations: 4 kB / 1.37 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/1.671, allocations: 0 / 1.37 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/1.671, allocations: 0 / 1.37 GB, free: 6.562 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.671, allocations: 7.906 kB / 1.37 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005237/1.671, allocations: 314 kB / 1.37 GB, free: 6.258 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000558/1.672, allocations: 0.6957 MB / 1.371 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.172e-05/1.672, allocations: 92.8 kB / 1.371 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/1.672, allocations: 3.984 kB / 1.371 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/1.672, allocations: 15.98 kB / 1.371 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/1.672, allocations: 7.984 kB / 1.371 GB, free: 5.441 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/1.672, allocations: 11.98 kB / 1.371 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.419e-05/1.672, allocations: 94.03 kB / 1.371 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001064/1.673, allocations: 146.4 kB / 1.371 GB, free: 5.215 MB / 0.8073 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.0004624/1.674, allocations: 251 kB / 1.371 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002438/1.674, allocations: 141.1 kB / 1.372 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.674, allocations: 0 / 1.372 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.011e-05/1.674, allocations: 65.56 kB / 1.372 GB, free: 4.848 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/1.674, allocations: 25.05 kB / 1.372 GB, free: 4.832 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/1.675, allocations: 194.6 kB / 1.372 GB, free: 4.633 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/1.675, allocations: 0.7462 MB / 1.373 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of SimCode: time 3.51e-07/1.675, allocations: 3.938 kB / 1.373 GB, free: 3.859 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)