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.Limits_FanSpe_VOut_flow.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.Limits_FanSpe_VOut_flow,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.Limits_FanSpe_VOut_flow") [: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.357/2.357, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.002692/0.002691, allocations: 181.2 kB / 319.6 MB, free: 3.324 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.104/2.104, 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.001422/0.001422, allocations: 91.33 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.264e-05/1.281e-05, allocations: 0 / 0.7844 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2154, allocations: 106.2 MB / 0.8881 GB, free: 12.11 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6602/0.8757, allocations: 133.7 MB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/0.8761, allocations: 78.75 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03025/0.9064, allocations: 6.885 MB / 1.026 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.9065, allocations: 20 kB / 1.026 GB, free: 14.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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001736/0.9082, allocations: 0.7208 MB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.9083, allocations: 8.031 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002303/0.9085, allocations: 67.16 kB / 1.026 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.91, allocations: 0.4888 MB / 1.027 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.261e-05/0.91, allocations: 19.91 kB / 1.027 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.9101, allocations: 32 kB / 1.027 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001112/0.9113, allocations: 342.4 kB / 1.027 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.9124, allocations: 371.1 kB / 1.028 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.9124, allocations: 0 / 1.028 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.226e-05/0.9125, allocations: 0 / 1.028 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.9125, allocations: 12 kB / 1.028 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004314/0.9169, allocations: 1.39 MB / 1.029 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004553/0.9174, allocations: 138.9 kB / 1.029 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002053/0.9176, allocations: 67.92 kB / 1.029 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.078e-05/0.9176, allocations: 0 / 1.029 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.9177, allocations: 45.41 kB / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=19): time 2.074e-06/0.9177, allocations: 0 / 1.029 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=19): time 0.0006667/0.9184, allocations: 159.9 kB / 1.029 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/0.9185, allocations: 58.72 kB / 1.029 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.9191, allocations: 336.7 kB / 1.03 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.9192, allocations: 33.69 kB / 1.03 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002466/0.9194, allocations: 292.8 kB / 1.03 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.9195, allocations: 68.19 kB / 1.03 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.9196, allocations: 0 / 1.03 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.9198, allocations: 347.9 kB / 1.03 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.92, allocations: 76.75 kB / 1.03 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.9204, allocations: 189.6 kB / 1.031 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.9207, allocations: 97.16 kB / 1.031 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.83e-06/0.9207, allocations: 3.938 kB / 1.031 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009385/0.9217, allocations: 305 kB / 1.031 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.9217, allocations: 7.984 kB / 1.031 GB, free: 9.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.9218, allocations: 7.938 kB / 1.031 GB, free: 9.945 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.9218, allocations: 4 kB / 1.031 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009303/0.9227, allocations: 91.48 kB / 1.031 GB, free: 9.855 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.9228, allocations: 4 kB / 1.031 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006276/0.9234, allocations: 47.58 kB / 1.031 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.9235, allocations: 26.55 kB / 1.031 GB, free: 9.781 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (damLim1.and3.y,damLim1.and3.u3,damLim1.and3.u2,damLim.and3.y,damLim.and3.u3,damLim.and3.u2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001685/0.9237, allocations: 112.7 kB / 1.031 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.9238, allocations: 43.52 kB / 1.031 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007081/0.9245, allocations: 195.9 kB / 1.032 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9245, allocations: 0 / 1.032 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.9245, allocations: 4 kB / 1.032 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.9246, allocations: 0 / 1.032 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.9262, allocations: 0.7076 MB / 1.032 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.9262, allocations: 0 / 1.032 GB, free: 8.848 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004634/0.9267, allocations: 60.14 kB / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.9267, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.9267, allocations: 4 kB / 1.032 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/0.9268, allocations: 7.938 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9268, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007116/0.9275, allocations: 396.3 kB / 1.033 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.9277, allocations: 123.2 kB / 1.033 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.9278, allocations: 4 kB / 1.033 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.9283, allocations: 23.98 kB / 1.033 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.9284, allocations: 23.91 kB / 1.033 GB, free: 8.191 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.9285, allocations: 4 kB / 1.033 GB, free: 8.188 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000466/0.9289, allocations: 247.8 kB / 1.033 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006713/0.9296, allocations: 91.47 kB / 1.033 GB, free: 7.918 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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.0001851/0.9298, allocations: 107.2 kB / 1.033 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006239/0.9305, allocations: 196.5 kB / 1.033 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9305, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.9307, allocations: 81.92 kB / 1.034 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.932, allocations: 170.3 kB / 1.034 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.9339, allocations: 0.5108 MB / 1.034 GB, free: 6.957 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008184/0.9347, allocations: 0.8946 MB / 1.035 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of SimCode: time 1.623e-06/0.9348, allocations: 0 / 1.035 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of Templates: time 0.016/0.9508, allocations: 3.82 MB / 1.039 GB, free: 2.297 MB / 0.6511 GB