Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") [: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.424/2.424, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001709/0.001708, allocations: 190.7 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.177/2.177, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001299/0.001298, allocations: 91.31 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.253e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2793, allocations: 106.2 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7452/1.025, allocations: 130.9 MB / 1.016 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/1.025, allocations: 70.58 kB / 1.016 GB, free: 7.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0006102/1.026, allocations: 55.67 kB / 1.016 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.026, allocations: 1.25 kB / 1.016 GB, free: 7.34 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003744/1.026, allocations: 308.2 kB / 1.016 GB, free: 7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.493e-05/1.026, allocations: 12.03 kB / 1.016 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/1.026, allocations: 7.906 kB / 1.016 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/1.026, allocations: 159.1 kB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/1.026, allocations: 0 / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/1.026, allocations: 1.031 kB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.804e-05/1.027, allocations: 2.125 kB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/1.027, allocations: 29.7 kB / 1.016 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.027, allocations: 3.938 kB / 1.017 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.027, allocations: 0 / 1.017 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/1.027, allocations: 3.906 kB / 1.017 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/1.027, allocations: 365.2 kB / 1.017 GB, free: 6.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.027, allocations: 165.1 kB / 1.017 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/1.027, allocations: 80.14 kB / 1.017 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.217e-05/1.027, allocations: 78.97 kB / 1.017 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.745e-05/1.028, allocations: 113.8 kB / 1.017 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 6.632e-06/1.028, allocations: 3.938 kB / 1.017 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001273/1.028, allocations: 40.2 kB / 1.017 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/1.028, allocations: 51.41 kB / 1.017 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/1.028, allocations: 85 kB / 1.017 GB, free: 5.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/1.028, allocations: 25.7 kB / 1.017 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.625e-05/1.028, allocations: 80.14 kB / 1.018 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/1.028, allocations: 4.125 kB / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-07/1.028, allocations: 0 / 1.018 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001846/1.028, allocations: 318.3 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-06/1.028, allocations: 0 / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.085e-05/1.028, allocations: 2.438 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/1.028, allocations: 75.28 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/1.028, allocations: 75.28 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001339/1.028, allocations: 37.62 kB / 1.018 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.029, allocations: 4 kB / 1.018 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/1.029, allocations: 79.28 kB / 1.018 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.53e-05/1.029, allocations: 150.6 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/1.029, allocations: 79.22 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-05/1.029, allocations: 158.5 kB / 1.018 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/1.029, allocations: 75.28 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/1.029, allocations: 79.22 kB / 1.019 GB, free: 4.461 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.0002365/1.029, allocations: 259.5 kB / 1.019 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/1.029, allocations: 108.2 kB / 1.019 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.188e-05/1.03, allocations: 104 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.647e-05/1.03, allocations: 180.2 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001117/1.03, allocations: 180.2 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001071/1.03, allocations: 192.5 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003764/1.03, allocations: 386 kB / 1.02 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.425e-05/1.03, allocations: 105 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/1.03, allocations: 101 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/1.031, allocations: 188.2 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/1.031, allocations: 181 kB / 1.021 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.981e-05/1.031, allocations: 176.3 kB / 1.021 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001055/1.031, allocations: 180.8 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002343/1.031, allocations: 306.3 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/1.031, allocations: 182.4 kB / 1.021 GB, free: 1.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.031, allocations: 185 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/1.032, allocations: 104.6 kB / 1.022 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/1.032, allocations: 184.2 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/1.032, allocations: 105 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.932e-05/1.032, allocations: 79.28 kB / 1.022 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005394/1.032, allocations: 0 / 1.022 GB, free: 0.8594 MB / 0.6355 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 (0): * Single equations (assignments): 0 * 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.0002625/1.033, allocations: 178.6 kB / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.471e-05/1.033, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/1.033, allocations: 0 / 1.022 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.572e-06/1.033, allocations: 4 kB / 1.022 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/1.033, allocations: 0.53 MB / 1.023 GB, free: 140 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003602/1.034, allocations: 123.2 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004594/1.034, allocations: 0.6802 MB / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of SimCode: time 1.693e-06/1.034, allocations: 0 / 1.023 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of Templates: time 0.00279/1.037, allocations: 156.8 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB