Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [: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.218/2.218, allocations: 253.1 MB / 260.4 MB, free: 7.523 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.002533/0.002533, allocations: 177.2 kB / 319.6 MB, free: 3.305 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.795/1.795, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001374/0.001374, allocations: 87.34 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.151e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2091, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6682/0.8773, allocations: 137.1 MB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003732/0.8778, allocations: 96.73 kB / 1.022 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02662/0.9044, allocations: 5.86 MB / 1.028 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.9046, allocations: 11.94 kB / 1.028 GB, free: 12.41 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001232/0.9058, allocations: 0.5816 MB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.9059, allocations: 8.031 kB / 1.028 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.906, allocations: 47.44 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000767/0.9068, allocations: 344.3 kB / 1.029 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.9069, allocations: 10.41 kB / 1.029 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.9069, allocations: 11.91 kB / 1.029 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000522/0.9074, allocations: 144.5 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.9081, allocations: 244.7 kB / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.9081, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.9081, allocations: 0 / 1.029 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.9082, allocations: 4 kB / 1.029 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.9105, allocations: 0.9425 MB / 1.03 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007476/0.9113, allocations: 171.5 kB / 1.03 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.9116, allocations: 80.59 kB / 1.03 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.37e-05/0.9116, allocations: 4 kB / 1.03 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.9117, allocations: 38.12 kB / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.156e-06/0.9117, allocations: 0 / 1.03 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006765/0.9124, allocations: 177 kB / 1.03 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.9125, allocations: 154.2 kB / 1.031 GB, free: 9.766 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.913, allocations: 263.3 kB / 1.031 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.773e-05/0.9131, allocations: 25.7 kB / 1.031 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.9132, allocations: 149.7 kB / 1.031 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.9133, allocations: 50.11 kB / 1.031 GB, free: 9.336 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.69e-05/0.9133, allocations: 4 kB / 1.031 GB, free: 9.332 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9135, allocations: 344.8 kB / 1.031 GB, free: 9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.9137, allocations: 50.5 kB / 1.031 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.9139, allocations: 98.88 kB / 1.032 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.9141, allocations: 48.55 kB / 1.032 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9141, allocations: 0 / 1.032 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004989/0.9146, allocations: 177.3 kB / 1.032 GB, free: 8.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.9147, allocations: 4 kB / 1.032 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.9147, allocations: 0 / 1.032 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.9147, allocations: 4 kB / 1.032 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004936/0.9152, allocations: 58.7 kB / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.9152, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004208/0.9157, allocations: 35.89 kB / 1.032 GB, free: 8.633 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.9157, allocations: 7.984 kB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001357/0.9159, allocations: 101 kB / 1.032 GB, free: 8.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.916, allocations: 35.53 kB / 1.032 GB, free: 8.484 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.9161, allocations: 36.48 kB / 1.032 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.9162, allocations: 4 kB / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.9162, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.9162, allocations: 0 / 1.032 GB, free: 8.457 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005963/0.9168, allocations: 344.1 kB / 1.032 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.9168, allocations: 3.984 kB / 1.032 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.9173, allocations: 47.91 kB / 1.032 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.9173, allocations: 4 kB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.9173, allocations: 0 / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.9173, allocations: 0 / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.9173, allocations: 4 kB / 1.032 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005432/0.9179, allocations: 278.8 kB / 1.033 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.9181, allocations: 129.8 kB / 1.033 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.9182, allocations: 0 / 1.033 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.9187, allocations: 35.97 kB / 1.033 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.9187, allocations: 7.984 kB / 1.033 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.9188, allocations: 7.984 kB / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003675/0.9192, allocations: 215.5 kB / 1.033 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004718/0.9196, allocations: 51.75 kB / 1.033 GB, free: 7.465 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001777/0.9198, allocations: 99.19 kB / 1.033 GB, free: 7.359 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004683/0.9203, allocations: 124.7 kB / 1.033 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.9203, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/0.9206, allocations: 79.61 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000926/0.9215, allocations: 74.89 kB / 1.033 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.9228, allocations: 343.3 kB / 1.034 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/0.9235, allocations: 0.8122 MB / 1.035 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.963e-06/0.9236, allocations: 0 / 1.035 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.01242/0.936, allocations: 3.392 MB / 1.038 GB, free: 2.715 MB / 0.6511 GB