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.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Line") [: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.362/2.362, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.001645/0.001645, allocations: 181.2 kB / 319.6 MB, free: 3.316 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.069/2.069, 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.001262/0.001262, allocations: 94.33 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.648e-05/1.663e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2367, allocations: 106.3 MB / 0.8881 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7613/0.998, allocations: 131.7 MB / 1.017 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.9984, allocations: 72.2 kB / 1.017 GB, free: 6.578 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.007111/1.006, allocations: 1.339 MB / 1.018 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.912e-05/1.006, allocations: 4 kB / 1.018 GB, free: 5.422 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007895/1.006, allocations: 420.7 kB / 1.019 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.006, allocations: 8.031 kB / 1.019 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/1.007, allocations: 15.81 kB / 1.019 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/1.007, allocations: 217 kB / 1.019 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/1.007, allocations: 4 kB / 1.019 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/1.007, allocations: 8 kB / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003254/1.007, allocations: 94.84 kB / 1.019 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/1.008, allocations: 112.6 kB / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.008, allocations: 2.625 kB / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/1.008, allocations: 0 / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/1.008, allocations: 8 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.009, allocations: 490.9 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/1.009, allocations: 55.77 kB / 1.019 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.799e-05/1.009, allocations: 35.28 kB / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/1.01, allocations: 7.984 kB / 1.02 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.01, allocations: 43.28 kB / 1.02 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.454e-06/1.01, allocations: 0 / 1.02 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003439/1.01, allocations: 86.06 kB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.01, allocations: 51.5 kB / 1.02 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/1.01, allocations: 133.9 kB / 1.02 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.01, allocations: 25.7 kB / 1.02 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/1.01, allocations: 115.1 kB / 1.02 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.763e-05/1.01, allocations: 31.17 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/1.01, allocations: 0 / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.011, allocations: 324.3 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.573e-05/1.011, allocations: 29.75 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.324e-05/1.011, allocations: 27.75 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.011, allocations: 30.67 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.011, allocations: 0 / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003374/1.011, allocations: 106.8 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.011, allocations: 8 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/1.011, allocations: 0 / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/1.011, allocations: 0 / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/1.012, allocations: 31.98 kB / 1.021 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/1.012, allocations: 0 / 1.021 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/1.012, allocations: 23.77 kB / 1.021 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/1.012, allocations: 3.938 kB / 1.021 GB, free: 2.98 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 (13): * Single equations (assignments): 13 * 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.0001108/1.012, allocations: 111.7 kB / 1.021 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/1.012, allocations: 7.906 kB / 1.021 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/1.012, allocations: 106.4 kB / 1.021 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.012, allocations: 4 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.013, allocations: 3.906 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/1.013, allocations: 0 / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/1.013, allocations: 387.6 kB / 1.021 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.013, allocations: 4 kB / 1.021 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/1.013, allocations: 23.98 kB / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/1.014, allocations: 0 / 1.021 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/1.014, allocations: 6.75 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.014, allocations: 3.938 kB / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/1.014, allocations: 0 / 1.021 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003544/1.014, allocations: 249.5 kB / 1.021 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/1.014, allocations: 92.86 kB / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/1.014, allocations: 0 / 1.021 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/1.014, allocations: 26.86 kB / 1.022 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.02e-05/1.014, allocations: 7.984 kB / 1.022 GB, free: 1.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/1.014, allocations: 4 kB / 1.022 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001182/1.015, allocations: 115 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003909/1.015, allocations: 23.91 kB / 1.022 GB, free: 1.805 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000201/1.015, allocations: 99.19 kB / 1.022 GB, free: 1.699 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002589/1.015, allocations: 69 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.015, allocations: 0 / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/1.016, allocations: 34.81 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/1.016, allocations: 8.172 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006278/1.017, allocations: 177.8 kB / 1.022 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005179/1.017, allocations: 0.7297 MB / 1.023 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of SimCode: time 1.343e-06/1.017, allocations: 4 kB / 1.023 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of Templates: time 0.005212/1.022, allocations: 1.017 MB / 1.024 GB, free: 15.67 MB / 0.6511 GB