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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper.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.MultiZone.VAV.SetPoints.Validation.ExhaustDamper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.ExhaustDamper") [: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.204/2.204, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001773/0.001773, allocations: 177.3 kB / 319.6 MB, free: 3.316 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.914/1.914, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001254/0.001253, allocations: 104.8 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.037e-06/9.267e-06, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2189, allocations: 106.2 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6509/0.8699, allocations: 135 MB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.8703, allocations: 83.36 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.05455/0.9248, allocations: 12.94 MB / 1.033 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.864e-05/0.925, allocations: 19.94 kB / 1.033 GB, free: 8.73 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002782/0.9278, allocations: 0.8978 MB / 1.034 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.9278, allocations: 12.03 kB / 1.034 GB, free: 7.816 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004083/0.9282, allocations: 86.97 kB / 1.034 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.9296, allocations: 475.9 kB / 1.034 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001716/0.9298, allocations: 110.4 kB / 1.034 GB, free: 7.188 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.93, allocations: 39.88 kB / 1.034 GB, free: 7.152 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001561/0.9315, allocations: 387.9 kB / 1.035 GB, free: 6.938 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.9331, allocations: 0.5017 MB / 1.035 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.406e-05/0.9332, allocations: 0 / 1.035 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.9333, allocations: 3.906 kB / 1.035 GB, free: 6.562 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.9333, allocations: 16 kB / 1.035 GB, free: 6.547 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005249/0.9386, allocations: 1.905 MB / 1.037 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.9405, allocations: 473.3 kB / 1.037 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005179/0.9411, allocations: 184.6 kB / 1.038 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-05/0.9411, allocations: 8.359 kB / 1.038 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005865/0.9417, allocations: 223.1 kB / 1.038 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 3.396e-06/0.9418, allocations: 8.328 kB / 1.038 GB, free: 4.469 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.00119/0.943, allocations: 378.2 kB / 1.038 GB, free: 4.199 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.9431, allocations: 140.9 kB / 1.038 GB, free: 4.031 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.9438, allocations: 380.7 kB / 1.039 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.565e-05/0.9439, allocations: 29.7 kB / 1.039 GB, free: 3.707 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/0.9442, allocations: 254.4 kB / 1.039 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.9445, allocations: 149.1 kB / 1.039 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.9445, allocations: 0 / 1.039 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.9447, allocations: 370 kB / 1.039 GB, free: 3.004 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.9452, allocations: 138.2 kB / 1.04 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.9457, allocations: 229 kB / 1.04 GB, free: 2.754 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000483/0.9462, allocations: 167.3 kB / 1.04 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.9462, allocations: 0 / 1.04 GB, free: 2.656 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001309/0.9475, allocations: 442.7 kB / 1.04 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.9477, allocations: 355.7 kB / 1.041 GB, free: 1.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.9477, allocations: 4 kB / 1.041 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.9478, allocations: 0 / 1.041 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.9488, allocations: 119.8 kB / 1.041 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.9488, allocations: 4 kB / 1.041 GB, free: 1.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.9496, allocations: 91.44 kB / 1.041 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/0.9497, allocations: 15.81 kB / 1.041 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.9497, allocations: 4 kB / 1.041 GB, free: 1.75 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009979/0.9507, allocations: 329.5 kB / 1.041 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9507, allocations: 0 / 1.041 GB, free: 1.539 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.9508, allocations: 4 kB / 1.041 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007665/0.9515, allocations: 95.39 kB / 1.041 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.9516, allocations: 7.906 kB / 1.041 GB, free: 1.438 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000623/0.9522, allocations: 63.66 kB / 1.041 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.507e-05/0.9522, allocations: 14.88 kB / 1.041 GB, free: 1.363 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002175/0.9525, allocations: 116 kB / 1.042 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.9526, allocations: 51.34 kB / 1.042 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.9529, allocations: 59.84 kB / 1.042 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.9529, allocations: 11.84 kB / 1.042 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9529, allocations: 0 / 1.042 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.953, allocations: 3.984 kB / 1.042 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.954, allocations: 0.5792 MB / 1.042 GB, free: 0.6797 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.9541, allocations: 3.938 kB / 1.042 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.9551, allocations: 107 kB / 1.042 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.9551, allocations: 0 / 1.042 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.9552, allocations: 8.062 kB / 1.042 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.9552, allocations: 0 / 1.042 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.9552, allocations: 3.984 kB / 1.042 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001682/0.9569, allocations: 0.6233 MB / 1.043 GB, free: 144 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.9571, allocations: 131.1 kB / 1.043 GB, free: 0 / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.9573, allocations: 8.047 kB / 1.043 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.958, allocations: 47.97 kB / 1.043 GB, free: 15.95 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.9581, allocations: 27.7 kB / 1.043 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.9582, allocations: 19.11 kB / 1.043 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0005709/0.9587, allocations: 284.5 kB / 1.043 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.000934/0.9597, allocations: 206.9 kB / 1.044 GB, free: 15.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002314/0.9599, allocations: 130.5 kB / 1.044 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.9616, allocations: 0.569 MB / 1.044 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.9616, allocations: 0 / 1.044 GB, free: 15 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.9622, allocations: 188 kB / 1.045 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.9634, allocations: 122 kB / 1.045 GB, free: 14.79 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.9666, allocations: 0.7572 MB / 1.045 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.9677, allocations: 0.9668 MB / 1.046 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of SimCode: time 1.904e-06/0.9677, allocations: 0 / 1.046 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of Templates: time 0.02925/0.997, allocations: 8.423 MB / 1.055 GB, free: 4.797 MB / 0.6667 GB