Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.172/2.172, allocations: 248.6 MB / 255.9 MB, free: 368 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001743/0.001742, allocations: 173.9 kB / 315.1 MB, free: 7.777 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.069/2.069, allocations: 205.1 MB / 0.5658 GB, free: 25.7 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001616/0.001615, allocations: 89.92 kB / 0.67 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.328/0.3297, allocations: 112.4 MB / 0.7797 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5436/0.8733, allocations: 106.2 MB / 0.8835 GB, free: 77.29 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2819/1.155, allocations: 138.6 MB / 1.019 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005162/1.156, allocations: 87.94 kB / 1.019 GB, free: 2.391 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.07303/1.229, allocations: 10.19 MB / 1.029 GB, free: 8.109 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.469e-05/1.229, allocations: 8 kB / 1.029 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/1.229, allocations: 47.44 kB / 1.029 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/1.231, allocations: 387.3 kB / 1.029 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.903e-05/1.231, allocations: 19.98 kB / 1.029 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/1.232, allocations: 20 kB / 1.029 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001371/1.233, allocations: 253.2 kB / 1.03 GB, free: 7.352 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/1.235, allocations: 333.5 kB / 1.03 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.235, allocations: 0 / 1.03 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.857e-05/1.235, allocations: 0 / 1.03 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.736e-05/1.235, allocations: 12.66 kB / 1.03 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004752/1.24, allocations: 1.072 MB / 1.031 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/1.241, allocations: 265.1 kB / 1.031 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/1.242, allocations: 124.9 kB / 1.031 GB, free: 5.488 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/1.242, allocations: 9.203 kB / 1.031 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/1.243, allocations: 185.6 kB / 1.032 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 5.771e-06/1.243, allocations: 0 / 1.032 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.00154/1.244, allocations: 270.7 kB / 1.032 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/1.244, allocations: 118.8 kB / 1.032 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.245, allocations: 343.2 kB / 1.032 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002155/1.246, allocations: 41.69 kB / 1.032 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/1.246, allocations: 160.7 kB / 1.032 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/1.246, allocations: 98.72 kB / 1.033 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/1.246, allocations: 0 / 1.033 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002699/1.247, allocations: 350.8 kB / 1.033 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006199/1.247, allocations: 117 kB / 1.033 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/1.248, allocations: 217 kB / 1.033 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/1.249, allocations: 124.7 kB / 1.033 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.249, allocations: 0 / 1.033 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001838/1.251, allocations: 374.8 kB / 1.034 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/1.251, allocations: 4.625 kB / 1.034 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/1.251, allocations: 0 / 1.034 GB, free: 3.016 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.282e-05/1.251, allocations: 11.91 kB / 1.034 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/1.252, allocations: 71.83 kB / 1.034 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.007e-05/1.252, allocations: 4 kB / 1.034 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.253, allocations: 63.86 kB / 1.034 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.253, allocations: 16 kB / 1.034 GB, free: 2.852 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * 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.0003691/1.254, allocations: 146 kB / 1.034 GB, free: 2.699 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/1.254, allocations: 31.62 kB / 1.034 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/1.256, allocations: 313.1 kB / 1.034 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.929e-05/1.256, allocations: 8 kB / 1.034 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.256, allocations: 3.938 kB / 1.034 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/1.256, allocations: 0 / 1.034 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/1.259, allocations: 0.8424 MB / 1.035 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/1.259, allocations: 4 kB / 1.035 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/1.26, allocations: 43.91 kB / 1.035 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-05/1.26, allocations: 4 kB / 1.035 GB, free: 1.406 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.68e-05/1.26, allocations: 4 kB / 1.035 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.878e-05/1.26, allocations: 7.984 kB / 1.035 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.26, allocations: 3.938 kB / 1.035 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001512/1.262, allocations: 394.4 kB / 1.036 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001722/1.263, allocations: 0.7651 MB / 1.036 GB, free: 208 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/1.264, allocations: 120.6 kB / 1.036 GB, free: 68 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/1.264, allocations: 4 kB / 1.036 GB, free: 64 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/1.265, allocations: 47.95 kB / 1.036 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.444/1.709, allocations: 53.19 kB / 1.037 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/1.709, allocations: 15.55 kB / 1.037 GB, free: 103.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000447/1.71, allocations: 249 kB / 1.037 GB, free: 103.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001956/1.712, allocations: 106.3 kB / 1.037 GB, free: 103.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001078/1.713, allocations: 360.2 kB / 1.037 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009928/1.714, allocations: 345.1 kB / 1.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.714, allocations: 3.812 kB / 1.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/1.714, allocations: 161.2 kB / 1.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007237/1.715, allocations: 55.16 kB / 1.038 GB, free: 103 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/1.717, allocations: 0.5112 MB / 1.038 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006151/1.717, allocations: 0.8769 MB / 1.039 GB, free: 102.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/1.717, allocations: 0 / 1.039 GB, free: 102.1 MB / 0.6823 GB