Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min.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.CDL.Continuous.Validation.Min,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Min") [: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.294/2.294, allocations: 253.1 MB / 260.4 MB, free: 11.38 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 186.5 kB / 319.6 MB, free: 2.035 MB / 242.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 0.5704 GB, free: 7.93 MB / 434.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001817, allocations: 94.44 kB / 0.6746 GB, free: 21.46 MB / 466.8 MB Notification: Performance of FrontEnd - loaded program: time 1.649e-05/1.668e-05, allocations: 4 kB / 0.7843 GB, free: 5.035 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.686, allocations: 106.2 MB / 0.8881 GB, free: 64.84 MB / 0.5964 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2306/0.9167, allocations: 130.4 MB / 1.015 GB, free: 9.492 MB / 0.6589 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.9171, allocations: 71.95 kB / 1.015 GB, free: 9.422 MB / 0.6589 GB Notification: Performance of FrontEnd: time 0.003533/0.9206, allocations: 0.5423 MB / 1.016 GB, free: 8.891 MB / 0.6589 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.9207, allocations: 0 / 1.016 GB, free: 8.891 MB / 0.6589 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006378/0.9213, allocations: 370.2 kB / 1.016 GB, free: 8.484 MB / 0.6589 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.9214, allocations: 8.031 kB / 1.016 GB, free: 8.477 MB / 0.6589 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.9214, allocations: 3.906 kB / 1.016 GB, free: 8.473 MB / 0.6589 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.9216, allocations: 175 kB / 1.017 GB, free: 8.262 MB / 0.6589 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.9217, allocations: 0 / 1.017 GB, free: 8.262 MB / 0.6589 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.734e-05/0.9217, allocations: 4 kB / 1.017 GB, free: 8.258 MB / 0.6589 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/0.9218, allocations: 19.94 kB / 1.017 GB, free: 8.238 MB / 0.6589 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.922, allocations: 49.59 kB / 1.017 GB, free: 8.184 MB / 0.6589 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.922, allocations: 0 / 1.017 GB, free: 8.184 MB / 0.6589 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.922, allocations: 0 / 1.017 GB, free: 8.184 MB / 0.6589 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.922, allocations: 0 / 1.017 GB, free: 8.184 MB / 0.6589 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007793/0.9228, allocations: 289.3 kB / 1.017 GB, free: 7.863 MB / 0.6589 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.923, allocations: 38.58 kB / 1.017 GB, free: 7.816 MB / 0.6589 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.923, allocations: 12.86 kB / 1.017 GB, free: 7.801 MB / 0.6589 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.9231, allocations: 0 / 1.017 GB, free: 7.801 MB / 0.6589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.9231, allocations: 30.56 kB / 1.017 GB, free: 7.762 MB / 0.6589 GB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.9231, allocations: 0 / 1.017 GB, free: 7.762 MB / 0.6589 GB Notification: Performance of matching and sorting (n=3): time 0.0002478/0.9234, allocations: 57.7 kB / 1.017 GB, free: 7.699 MB / 0.6589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.9234, allocations: 59.34 kB / 1.017 GB, free: 7.629 MB / 0.6589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.9236, allocations: 96.91 kB / 1.017 GB, free: 7.527 MB / 0.6589 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.9236, allocations: 29.7 kB / 1.017 GB, free: 7.492 MB / 0.6589 GB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.9237, allocations: 88.12 kB / 1.017 GB, free: 7.402 MB / 0.6589 GB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.9237, allocations: 7.906 kB / 1.017 GB, free: 7.395 MB / 0.6589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.292e-06/0.9237, allocations: 0 / 1.017 GB, free: 7.395 MB / 0.6589 GB Notification: Performance of setup shared object (initialization): time 0.0002039/0.9239, allocations: 314.8 kB / 1.018 GB, free: 7.078 MB / 0.6589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.924, allocations: 8 kB / 1.018 GB, free: 7.07 MB / 0.6589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.051e-05/0.924, allocations: 4 kB / 1.018 GB, free: 7.066 MB / 0.6589 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.9241, allocations: 11.98 kB / 1.018 GB, free: 7.055 MB / 0.6589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9241, allocations: 0 / 1.018 GB, free: 7.055 MB / 0.6589 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001402/0.9242, allocations: 57.61 kB / 1.018 GB, free: 6.992 MB / 0.6589 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.9243, allocations: 4 kB / 1.018 GB, free: 6.988 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.9243, allocations: 3.984 kB / 1.018 GB, free: 6.984 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9243, allocations: 0 / 1.018 GB, free: 6.984 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.9246, allocations: 23.98 kB / 1.018 GB, free: 6.961 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.9246, allocations: 4 kB / 1.018 GB, free: 6.957 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.9248, allocations: 23.83 kB / 1.018 GB, free: 6.934 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.9248, allocations: 0 / 1.018 GB, free: 6.934 MB / 0.6589 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 (3): * Single equations (assignments): 3 * 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 9.042e-05/0.9249, allocations: 107.4 kB / 1.018 GB, free: 6.824 MB / 0.6589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.719e-05/0.925, allocations: 4 kB / 1.018 GB, free: 6.82 MB / 0.6589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.9252, allocations: 61.58 kB / 1.018 GB, free: 6.75 MB / 0.6589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9252, allocations: 4 kB / 1.018 GB, free: 6.746 MB / 0.6589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.9252, allocations: 0 / 1.018 GB, free: 6.746 MB / 0.6589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9252, allocations: 3.938 kB / 1.018 GB, free: 6.742 MB / 0.6589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.9254, allocations: 142.2 kB / 1.018 GB, free: 6.566 MB / 0.6589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9254, allocations: 0 / 1.018 GB, free: 6.566 MB / 0.6589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.9257, allocations: 31.97 kB / 1.018 GB, free: 6.535 MB / 0.6589 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9257, allocations: 0 / 1.018 GB, free: 6.535 MB / 0.6589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.9257, allocations: 0 / 1.018 GB, free: 6.535 MB / 0.6589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.9257, allocations: 3.906 kB / 1.018 GB, free: 6.531 MB / 0.6589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9257, allocations: 0 / 1.018 GB, free: 6.531 MB / 0.6589 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002237/0.9259, allocations: 151.4 kB / 1.018 GB, free: 6.367 MB / 0.6589 GB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.926, allocations: 81.11 kB / 1.018 GB, free: 6.27 MB / 0.6589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.9261, allocations: 4 kB / 1.018 GB, free: 6.266 MB / 0.6589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.9263, allocations: 19.98 kB / 1.018 GB, free: 6.246 MB / 0.6589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.9264, allocations: 3.984 kB / 1.018 GB, free: 6.242 MB / 0.6589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.9264, allocations: 4 kB / 1.018 GB, free: 6.238 MB / 0.6589 GB Notification: Performance of sort global known variables: time 6.439e-05/0.9265, allocations: 91.58 kB / 1.018 GB, free: 6.148 MB / 0.6589 GB Notification: Performance of remove unused functions: time 0.0003025/0.9268, allocations: 11.84 kB / 1.018 GB, free: 6.137 MB / 0.6589 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 (3): * Single equations (assignments): 3 * 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.000212/0.927, allocations: 102.9 kB / 1.018 GB, free: 6.031 MB / 0.6589 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.9272, allocations: 27.92 kB / 1.019 GB, free: 6.004 MB / 0.6589 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9272, allocations: 0 / 1.019 GB, free: 6.004 MB / 0.6589 GB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.9272, allocations: 15.94 kB / 1.019 GB, free: 5.988 MB / 0.6589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.9275, allocations: 8 kB / 1.019 GB, free: 5.98 MB / 0.6589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.9279, allocations: 75.12 kB / 1.019 GB, free: 5.887 MB / 0.6589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003507/0.9283, allocations: 0.6993 MB / 1.019 GB, free: 5.164 MB / 0.6589 GB Notification: Performance of SimCode: time 9.41e-07/0.9283, allocations: 0 / 1.019 GB, free: 5.164 MB / 0.6589 GB Notification: Performance of Templates: time 0.00376/0.932, allocations: 0.6029 MB / 1.02 GB, free: 4.566 MB / 0.6589 GB