Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") [: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.278/2.278, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001582/0.001581, allocations: 177.3 kB / 319.6 MB, free: 3.344 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.925/1.925, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001252/0.001252, allocations: 93.2 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.408e-05/1.427e-05, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2544, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6869/0.9414, allocations: 135.4 MB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.9418, allocations: 84.5 kB / 1.02 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02878/0.9707, allocations: 6.85 MB / 1.027 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.897e-05/0.9708, allocations: 12 kB / 1.027 GB, free: 13.34 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001496/0.9723, allocations: 0.6555 MB / 1.028 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.9723, allocations: 8.031 kB / 1.028 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001876/0.9725, allocations: 63.25 kB / 1.028 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009864/0.9735, allocations: 388.9 kB / 1.028 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.9736, allocations: 16 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.166e-05/0.9737, allocations: 27.91 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008979/0.9746, allocations: 277.1 kB / 1.029 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000977/0.9756, allocations: 364 kB / 1.029 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.9756, allocations: 3.984 kB / 1.029 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.9757, allocations: 0 / 1.029 GB, free: 11.78 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.9758, allocations: 12 kB / 1.029 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.9792, allocations: 1.255 MB / 1.03 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007982/0.98, allocations: 227.8 kB / 1.03 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002974/0.9803, allocations: 110 kB / 1.03 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.9804, allocations: 7.984 kB / 1.03 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000377/0.9808, allocations: 174.7 kB / 1.031 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.976e-06/0.9808, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.0007335/0.9815, allocations: 219.8 kB / 1.031 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.9817, allocations: 162.2 kB / 1.031 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.9822, allocations: 266.2 kB / 1.031 GB, free: 9.812 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.904e-05/0.9822, allocations: 25.7 kB / 1.031 GB, free: 9.781 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.9824, allocations: 210.2 kB / 1.031 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.9825, allocations: 85.75 kB / 1.032 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.9825, allocations: 0 / 1.032 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9827, allocations: 349.1 kB / 1.032 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.983, allocations: 76.88 kB / 1.032 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.9833, allocations: 143 kB / 1.032 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/0.9836, allocations: 100.1 kB / 1.032 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.9836, allocations: 0 / 1.032 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000907/0.9845, allocations: 263.8 kB / 1.032 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001578/0.9847, allocations: 269.6 kB / 1.033 GB, free: 8.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.9848, allocations: 3.906 kB / 1.033 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.9848, allocations: 4 kB / 1.033 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.9855, allocations: 71.95 kB / 1.033 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.9855, allocations: 0 / 1.033 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.986, allocations: 47.81 kB / 1.033 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.9861, allocations: 10.62 kB / 1.033 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.9861, allocations: 4 kB / 1.033 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005946/0.9867, allocations: 203.8 kB / 1.033 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.9867, allocations: 4.062 kB / 1.033 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.9867, allocations: 7.906 kB / 1.033 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.9872, allocations: 58.72 kB / 1.033 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.9873, allocations: 4 kB / 1.033 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004197/0.9877, allocations: 39.77 kB / 1.033 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.9878, allocations: 15.36 kB / 1.033 GB, free: 8.098 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001589/0.9879, allocations: 111.3 kB / 1.033 GB, free: 7.984 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.988, allocations: 31.53 kB / 1.033 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.9888, allocations: 251.9 kB / 1.034 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.9888, allocations: 4 kB / 1.034 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9888, allocations: 0 / 1.034 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.9889, allocations: 0 / 1.034 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001668/0.9905, allocations: 0.7717 MB / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.9906, allocations: 128 / 1.034 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.9911, allocations: 75.05 kB / 1.034 GB, free: 7.062 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/0.9912, allocations: 7.984 kB / 1.034 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.9912, allocations: 0 / 1.034 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.9912, allocations: 4 kB / 1.034 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.9912, allocations: 0 / 1.034 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/0.9923, allocations: 0.5069 MB / 1.035 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.9925, allocations: 120.2 kB / 1.035 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.9926, allocations: 0 / 1.035 GB, free: 6.484 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004707/0.9931, allocations: 36.03 kB / 1.035 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.971e-05/0.9932, allocations: 15.89 kB / 1.035 GB, free: 6.434 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.9932, allocations: 7.25 kB / 1.035 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003496/0.9936, allocations: 209.5 kB / 1.035 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008067/0.9944, allocations: 143.2 kB / 1.035 GB, free: 6.129 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0002099/0.9946, allocations: 111.6 kB / 1.035 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009319/0.9956, allocations: 330.1 kB / 1.036 GB, free: 5.805 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.9956, allocations: 4 kB / 1.036 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.9959, allocations: 111.4 kB / 1.036 GB, free: 5.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.9967, allocations: 67.48 kB / 1.036 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.9985, allocations: 0.4935 MB / 1.036 GB, free: 5.199 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007005/0.9992, allocations: 0.8579 MB / 1.037 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of SimCode: time 9.72e-07/0.9992, allocations: 0 / 1.037 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of Templates: time 0.01664/1.016, allocations: 4.846 MB / 1.042 GB, free: 15.56 MB / 0.6667 GB