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.SetPoints.Validation.OutsideAirFlow.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.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") [: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.158/2.158, 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.00156/0.00156, allocations: 188.5 kB / 319.6 MB, free: 3.336 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.968/1.968, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001265/0.001265, allocations: 98.59 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.042e-05/1.052e-05, allocations: 4 kB / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2277/0.2278, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7681/0.9959, allocations: 133.3 MB / 1.018 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.9963, allocations: 83.53 kB / 1.018 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02353/1.02, allocations: 5.428 MB / 1.024 GB, free: 424 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.774e-05/1.02, allocations: 11.94 kB / 1.024 GB, free: 412 kB / 0.6355 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.001772/1.022, allocations: 0.657 MB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.454e-05/1.022, allocations: 11.97 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/1.022, allocations: 51.34 kB / 1.024 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007234/1.023, allocations: 315.2 kB / 1.025 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/1.023, allocations: 16 kB / 1.025 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.567e-05/1.023, allocations: 28 kB / 1.025 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008429/1.024, allocations: 242.7 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008766/1.025, allocations: 274.3 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/1.025, allocations: 0 / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/1.025, allocations: 3.938 kB / 1.025 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/1.025, allocations: 12 kB / 1.025 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/1.028, allocations: 1.164 MB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007683/1.029, allocations: 160.1 kB / 1.027 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.029, allocations: 62.14 kB / 1.027 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/1.029, allocations: 7.938 kB / 1.027 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/1.03, allocations: 38 kB / 1.027 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=17): time 3.637e-06/1.03, allocations: 0 / 1.027 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17): time 0.0006125/1.03, allocations: 148.6 kB / 1.027 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.03, allocations: 51.41 kB / 1.027 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/1.031, allocations: 265.8 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/1.031, allocations: 25.7 kB / 1.027 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/1.031, allocations: 217.5 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.245e-05/1.031, allocations: 54.39 kB / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/1.031, allocations: 0 / 1.027 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.031, allocations: 337.4 kB / 1.028 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/1.032, allocations: 59.44 kB / 1.028 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/1.032, allocations: 101 kB / 1.028 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/1.032, allocations: 58.48 kB / 1.028 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/1.032, allocations: 4 kB / 1.028 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005945/1.033, allocations: 199.7 kB / 1.028 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/1.033, allocations: 10.48 kB / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.033, allocations: 0 / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.033, allocations: 7.938 kB / 1.028 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.033, allocations: 55.66 kB / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.033, allocations: 0 / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/1.034, allocations: 59.86 kB / 1.028 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/1.034, allocations: 7.125 kB / 1.028 GB, free: 12.34 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: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001496/1.034, allocations: 108.9 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.574e-05/1.034, allocations: 27.62 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/1.034, allocations: 31.08 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.034, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/1.034, allocations: 4 kB / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.034, allocations: 0 / 1.028 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000634/1.035, allocations: 342.2 kB / 1.029 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.035, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004708/1.035, allocations: 51.16 kB / 1.029 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/1.035, allocations: 4 kB / 1.029 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/1.036, allocations: 4 kB / 1.029 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/1.036, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.036, allocations: 0 / 1.029 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000511/1.036, allocations: 255.7 kB / 1.029 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.991e-05/1.036, allocations: 104.5 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.14e-05/1.036, allocations: 4 kB / 1.029 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/1.037, allocations: 43.95 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/1.037, allocations: 30.33 kB / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/1.037, allocations: 0 / 1.029 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000295/1.037, allocations: 190.2 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005795/1.038, allocations: 75.53 kB / 1.029 GB, free: 11.17 MB / 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: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0001988/1.038, allocations: 106.8 kB / 1.03 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005263/1.039, allocations: 141.6 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/1.039, allocations: 4.125 kB / 1.03 GB, free: 10.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000211/1.039, allocations: 66.31 kB / 1.03 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/1.039, allocations: 22.2 kB / 1.03 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/1.041, allocations: 417 kB / 1.03 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007435/1.042, allocations: 0.845 MB / 1.031 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/1.042, allocations: 0 / 1.031 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of Templates: time 0.01056/1.052, allocations: 2.49 MB / 1.033 GB, free: 7.227 MB / 0.6511 GB