Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer.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.Equipment.Validation.WatersideEconomizer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.WatersideEconomizer") [: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.108/2.108, allocations: 253.1 MB / 260.4 MB, free: 7.594 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.001851/0.00185, allocations: 173.3 kB / 319.6 MB, free: 3.332 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 2.013/2.013, 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.001392/0.001391, allocations: 90.64 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.463e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2517, allocations: 106.2 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.544/1.795, allocations: 451.4 MB / 1.329 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004591/1.796, allocations: 112.6 kB / 1.329 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.154/7.95, allocations: 1.232 GB / 2.561 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000883/7.951, allocations: 86.75 kB / 2.561 GB, free: 15.35 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 400 * Number of variables: 400 Notification: Performance of Generate backend data structure: time 0.01365/7.965, allocations: 2.946 MB / 2.564 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/7.965, allocations: 8.031 kB / 2.564 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005133/7.97, allocations: 0.5738 MB / 2.564 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/7.985, allocations: 3.373 MB / 2.568 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/7.987, allocations: 215 kB / 2.568 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/7.988, allocations: 107.9 kB / 2.568 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0071/7.995, allocations: 1.592 MB / 2.57 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007973/8.003, allocations: 1.782 MB / 2.571 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-05/8.004, allocations: 7.938 kB / 2.571 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/8.004, allocations: 4 kB / 2.571 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/8.004, allocations: 36 kB / 2.571 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03481/8.039, allocations: 11.08 MB / 2.582 GB, free: 8.859 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/8.042, allocations: 0.9338 MB / 2.583 GB, free: 7.922 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002856/8.045, allocations: 0.7515 MB / 2.584 GB, free: 7.172 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/8.048, allocations: 1.236 MB / 2.585 GB, free: 5.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002707/8.05, allocations: 0.7144 MB / 2.586 GB, free: 4.949 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=110): time 7.214e-06/8.051, allocations: 4 kB / 2.586 GB, free: 4.945 MB / 0.9011 GB Notification: Performance of matching and sorting (n=110): time 0.008401/8.059, allocations: 1.631 MB / 2.587 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002102/8.059, allocations: 304.3 kB / 2.588 GB, free: 2.918 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007965/8.067, allocations: 1.95 MB / 2.59 GB, free: 0.9609 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0006884/8.068, allocations: 25.7 kB / 2.59 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.002093/8.07, allocations: 0.727 MB / 2.59 GB, free: 192 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/8.071, allocations: 359.4 kB / 2.591 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/8.072, allocations: 4 kB / 2.591 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003038/8.072, allocations: 362 kB / 2.591 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/8.074, allocations: 0.6716 MB / 2.592 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003498/8.078, allocations: 1.089 MB / 2.593 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0046/8.083, allocations: 0.8826 MB / 2.594 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-05/8.083, allocations: 0 / 2.594 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.01053/8.093, allocations: 2.21 MB / 2.596 GB, free: 10.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001296/8.095, allocations: 2.457 MB / 2.598 GB, free: 7.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.504e-05/8.095, allocations: 8 kB / 2.598 GB, free: 7.746 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006446/8.095, allocations: 117.7 kB / 2.598 GB, free: 7.625 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/8.099, allocations: 359.5 kB / 2.599 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/8.103, allocations: 2.153 MB / 2.601 GB, free: 4.984 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005694/8.108, allocations: 294.6 kB / 2.601 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009301/8.109, allocations: 76.02 kB / 2.601 GB, free: 4.621 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/8.11, allocations: 4 kB / 2.601 GB, free: 4.617 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008847/8.118, allocations: 1.876 MB / 2.603 GB, free: 2.715 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.413e-05/8.119, allocations: 15.98 kB / 2.603 GB, free: 2.699 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000591/8.119, allocations: 117.6 kB / 2.603 GB, free: 2.578 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003896/8.123, allocations: 363.7 kB / 2.603 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5538/8.677, allocations: 3.154 MB / 2.606 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005184/8.682, allocations: 251.5 kB / 2.607 GB, free: 188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007714/8.683, allocations: 72.36 kB / 2.607 GB, free: 188 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,WSE.heaExc.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/8.684, allocations: 171.6 kB / 2.607 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/8.685, allocations: 249.6 kB / 2.607 GB, free: 187.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009147/8.694, allocations: 1.98 MB / 2.609 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-05/8.694, allocations: 13.75 kB / 2.609 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/8.694, allocations: 0 / 2.609 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005996/8.7, allocations: 1.635 MB / 2.611 GB, free: 187.3 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01753/8.718, allocations: 4.33 MB / 2.615 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/8.718, allocations: 0 / 2.615 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/8.721, allocations: 239.4 kB / 2.615 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004749/8.721, allocations: 104.7 kB / 2.615 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004565/8.722, allocations: 28.94 kB / 2.615 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/8.724, allocations: 2.117 MB / 2.617 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/8.724, allocations: 6.812 kB / 2.617 GB, free: 184.9 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01033/8.735, allocations: 2.929 MB / 2.62 GB, free: 184.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003079/8.738, allocations: 0.6032 MB / 2.621 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00138/8.739, allocations: 13.25 kB / 2.621 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004617/8.744, allocations: 177.2 kB / 2.621 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005379/8.745, allocations: 75.2 kB / 2.621 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003038/8.745, allocations: 55.14 kB / 2.621 GB, free: 184.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.005425/8.75, allocations: 1.473 MB / 2.623 GB, free: 183.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01072/8.761, allocations: 1.331 MB / 2.624 GB, free: 183.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (WSE.heaExc.thrWayVal.vol.dynBal.U,WSE.heaExc.thrWayVal.filter.x[1],WSE.heaExc.thrWayVal.filter.x[2],WSE.heaExc.con.I.y,WSE.filter[1].x[1],WSE.filter[1].x[2],TSup.T) * Number of discrete variables: 7 ($whenCondition1,WSE.on[1],TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004037/8.765, allocations: 1.244 MB / 2.625 GB, free: 183.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01058/8.776, allocations: 3.048 MB / 2.628 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-05/8.776, allocations: 0 / 2.628 GB, free: 183.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002933/8.779, allocations: 0.86 MB / 2.629 GB, free: 183 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/8.79, allocations: 1.077 MB / 2.63 GB, free: 182.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/8.808, allocations: 3.834 MB / 2.634 GB, free: 182 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0054/8.814, allocations: 2.063 MB / 2.636 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of SimCode: time 2.004e-06/8.814, allocations: 0 / 2.636 GB, free: 181.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.1711/8.985, allocations: 60 MB / 2.694 GB, free: 179.5 MB / 0.9167 GB