Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.152/2.152, allocations: 253.1 MB / 260.4 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001734, allocations: 189 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 85.2 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.628e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1947, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6494/0.8441, allocations: 139.6 MB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004667/0.8447, allocations: 95.92 kB / 1.024 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.05824/0.903, allocations: 9.465 MB / 1.034 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.202e-05/0.9031, allocations: 16 kB / 1.034 GB, free: 6.98 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.002473/0.9056, allocations: 0.7066 MB / 1.034 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.179e-05/0.9057, allocations: 8.031 kB / 1.034 GB, free: 6.242 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003539/0.906, allocations: 51.38 kB / 1.035 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/0.9075, allocations: 382.4 kB / 1.035 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/0.9076, allocations: 12 kB / 1.035 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.9078, allocations: 27.98 kB / 1.035 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/0.909, allocations: 253.1 kB / 1.035 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.9103, allocations: 335.3 kB / 1.035 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.9104, allocations: 3.984 kB / 1.035 GB, free: 5.375 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.191e-05/0.9105, allocations: 4 kB / 1.035 GB, free: 5.371 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/0.9106, allocations: 12.66 kB / 1.035 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/0.9147, allocations: 1.051 MB / 1.037 GB, free: 4.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008621/0.9156, allocations: 262 kB / 1.037 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.9161, allocations: 132.3 kB / 1.037 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.405e-05/0.9161, allocations: 4.594 kB / 1.037 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004966/0.9167, allocations: 181.2 kB / 1.037 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 7.394e-06/0.9167, allocations: 3.984 kB / 1.037 GB, free: 4.102 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.001001/0.9177, allocations: 277.5 kB / 1.037 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.9178, allocations: 110.8 kB / 1.037 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/0.9186, allocations: 350.8 kB / 1.038 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.9188, allocations: 36.95 kB / 1.038 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.9191, allocations: 170.4 kB / 1.038 GB, free: 3.281 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.9192, allocations: 93.02 kB / 1.038 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.9193, allocations: 0 / 1.038 GB, free: 3.203 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.9195, allocations: 347.5 kB / 1.038 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.9199, allocations: 126.2 kB / 1.039 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.9205, allocations: 215 kB / 1.039 GB, free: 2.609 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.9209, allocations: 123.1 kB / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/0.921, allocations: 0 / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001208/0.9222, allocations: 376.4 kB / 1.039 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.9222, allocations: 4 kB / 1.039 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.9223, allocations: 4 kB / 1.039 GB, free: 2.234 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.9223, allocations: 7.906 kB / 1.039 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.923, allocations: 75.64 kB / 1.039 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.923, allocations: 4 kB / 1.039 GB, free: 2.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007094/0.9237, allocations: 55.8 kB / 1.039 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.795e-05/0.9238, allocations: 18.94 kB / 1.039 GB, free: 2.082 MB / 0.6511 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.0002688/0.9241, allocations: 143.4 kB / 1.039 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.9242, allocations: 39.61 kB / 1.04 GB, free: 1.902 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.9254, allocations: 310.9 kB / 1.04 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9255, allocations: 7.984 kB / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.9255, allocations: 0 / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.9255, allocations: 0 / 1.04 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.9278, allocations: 0.8397 MB / 1.041 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.9279, allocations: 0 / 1.041 GB, free: 0.9648 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004589/0.9284, allocations: 59.08 kB / 1.041 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.9284, allocations: 0 / 1.041 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.9285, allocations: 4 kB / 1.041 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.9285, allocations: 4 kB / 1.041 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9285, allocations: 0 / 1.041 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000996/0.9295, allocations: 403.6 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.9297, allocations: 123.6 kB / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.9298, allocations: 0 / 1.041 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005972/0.9304, allocations: 47.95 kB / 1.041 GB, free: 388 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/0.9307, allocations: 53.84 kB / 1.041 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.9307, allocations: 16 kB / 1.041 GB, free: 332 kB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004698/0.9312, allocations: 248.9 kB / 1.042 GB, free: 140 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008358/0.9321, allocations: 105.2 kB / 1.042 GB, free: 40 kB / 0.6511 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.001118/0.9332, allocations: 360.2 kB / 1.042 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001206/0.9345, allocations: 351.1 kB / 1.042 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9345, allocations: 0 / 1.042 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/0.935, allocations: 160.7 kB / 1.043 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.9358, allocations: 55.59 kB / 1.043 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.9379, allocations: 0.508 MB / 1.043 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.939, allocations: 0.8736 MB / 1.044 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of SimCode: time 2.114e-06/0.9391, allocations: 4 kB / 1.044 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of Templates: time 0.02238/0.9615, allocations: 5.626 MB / 1.049 GB, free: 8.465 MB / 0.6667 GB