Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.Compressor,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_Compressor",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 7.0.1/package.mo): time 2.434/2.434, allocations: 248.6 MB / 255.9 MB, free: 7.254 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00161/0.00161, allocations: 183.4 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.1 MB / 0.5658 GB, free: 336 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001948/0.001948, allocations: 105 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5104/0.5124, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.7312, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.69/1.421, allocations: 141.5 MB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003829/1.422, allocations: 93.38 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.05374/1.475, allocations: 9.175 MB / 1.031 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/1.476, allocations: 8 kB / 1.031 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/1.476, allocations: 43.44 kB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001988/1.478, allocations: 397.1 kB / 1.031 GB, free: 6.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/1.478, allocations: 8 kB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/1.478, allocations: 19.94 kB / 1.031 GB, free: 6.652 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001106/1.479, allocations: 168.1 kB / 1.031 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007211/1.48, allocations: 234.1 kB / 1.032 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/1.48, allocations: 0 / 1.032 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/1.48, allocations: 0 / 1.032 GB, free: 6.367 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/1.48, allocations: 8 kB / 1.032 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/1.482, allocations: 0.7813 MB / 1.032 GB, free: 5.715 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009985/1.483, allocations: 231.6 kB / 1.033 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/1.483, allocations: 75.58 kB / 1.033 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/1.484, allocations: 3.984 kB / 1.033 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003096/1.484, allocations: 128.9 kB / 1.033 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 4.157e-06/1.484, allocations: 0 / 1.033 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.000674/1.485, allocations: 211.8 kB / 1.033 GB, free: 5.227 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/1.485, allocations: 106.8 kB / 1.033 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/1.485, allocations: 336.2 kB / 1.033 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/1.485, allocations: 29.64 kB / 1.033 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/1.486, allocations: 161.2 kB / 1.034 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/1.486, allocations: 56.61 kB / 1.034 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/1.486, allocations: 4 kB / 1.034 GB, free: 4.602 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.486, allocations: 343.4 kB / 1.034 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/1.486, allocations: 63.8 kB / 1.034 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/1.486, allocations: 102.4 kB / 1.034 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/1.487, allocations: 67.53 kB / 1.034 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/1.487, allocations: 0 / 1.034 GB, free: 4.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006603/1.487, allocations: 221.4 kB / 1.034 GB, free: 3.941 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.487, allocations: 4 kB / 1.034 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.487, allocations: 4 kB / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/1.487, allocations: 96 / 1.034 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/1.488, allocations: 55.89 kB / 1.034 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/1.488, allocations: 0 / 1.034 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003322/1.488, allocations: 15.84 kB / 1.034 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/1.488, allocations: 15.36 kB / 1.034 GB, free: 3.852 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.cooMod.nextTimeEvent,$whenCondition2,dxSpeCon.dxSpe.trigger,dxSpeCon.cooMod,cooMod.nextTimeEvent,$PRE.cooMod.nextTimeEventScaled,cooMod.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.0001509/1.488, allocations: 116.8 kB / 1.035 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/1.489, allocations: 31.62 kB / 1.035 GB, free: 3.699 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/1.489, allocations: 225.5 kB / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.489, allocations: 0 / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/1.489, allocations: 0 / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/1.489, allocations: 0 / 1.035 GB, free: 3.531 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/1.491, allocations: 0.6561 MB / 1.035 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.491, allocations: 7.938 kB / 1.035 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/1.491, allocations: 39.83 kB / 1.035 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/1.491, allocations: 4 kB / 1.036 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/1.491, allocations: 7.922 kB / 1.036 GB, free: 2.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.491, allocations: 4 kB / 1.036 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/1.491, allocations: 3.984 kB / 1.036 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009804/1.492, allocations: 418.1 kB / 1.036 GB, free: 2.586 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001265/1.494, allocations: 0.8814 MB / 1.037 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/1.494, allocations: 138.4 kB / 1.037 GB, free: 1.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.058e-05/1.494, allocations: 11.23 kB / 1.037 GB, free: 1.684 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/1.494, allocations: 8 kB / 1.037 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.825e-05/1.494, allocations: 23.97 kB / 1.037 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/1.494, allocations: 7.984 kB / 1.037 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004832/1.495, allocations: 253.7 kB / 1.037 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001382/1.496, allocations: 82.05 kB / 1.037 GB, free: 1.387 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dxSpeCon.dxSpe.I.y) * Number of discrete variables: 6 (dxSpeCon.dxSpe.trigger,$whenCondition2,$whenCondition1,dxSpeCon.cooMod,cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.nextTimeEvent,cooMod.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009573/1.497, allocations: 309.5 kB / 1.038 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007725/1.498, allocations: 164 kB / 1.038 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.498, allocations: 0 / 1.038 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002565/1.498, allocations: 87.17 kB / 1.038 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/1.499, allocations: 79.95 kB / 1.038 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.501, allocations: 453.8 kB / 1.038 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/1.502, allocations: 0.8405 MB / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of SimCode: time 3.497e-06/1.502, allocations: 0 / 1.039 GB, free: 15.65 MB / 0.6667 GB