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.Tan.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.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan") [: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.329/2.329, allocations: 253.1 MB / 260.4 MB, free: 7.637 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.00176/0.00176, allocations: 184.8 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.126/2.126, 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.001277/0.001276, allocations: 90.27 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.025e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2811, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7154/0.9965, allocations: 131.4 MB / 1.016 GB, free: 6.941 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004006/0.997, allocations: 71.88 kB / 1.016 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002581/0.9996, allocations: 380.4 kB / 1.017 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.9997, allocations: 0 / 1.017 GB, free: 6.582 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004379/1, allocations: 334.5 kB / 1.017 GB, free: 6.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1, allocations: 16.02 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/1, allocations: 0 / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/1, allocations: 159.1 kB / 1.017 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/1, allocations: 10.09 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/1, allocations: 0 / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.041e-05/1.001, allocations: 7.375 kB / 1.017 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/1.001, allocations: 41.12 kB / 1.017 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/1.001, allocations: 0 / 1.017 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/1.001, allocations: 11.98 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/1.001, allocations: 0 / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/1.001, allocations: 232.1 kB / 1.018 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/1.001, allocations: 22.61 kB / 1.018 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/1.001, allocations: 11.3 kB / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/1.001, allocations: 0 / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/1.001, allocations: 38.5 kB / 1.018 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.385e-06/1.001, allocations: 0 / 1.018 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/1.001, allocations: 43.19 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/1.001, allocations: 51.41 kB / 1.018 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/1.002, allocations: 92.44 kB / 1.018 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.002, allocations: 29.7 kB / 1.018 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/1.002, allocations: 87.98 kB / 1.018 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/1.002, allocations: 6.594 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-06/1.002, allocations: 0 / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.002, allocations: 318.7 kB / 1.018 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/1.002, allocations: 7.125 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/1.002, allocations: 4 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.507e-05/1.002, allocations: 3.438 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/1.002, allocations: 4 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.932e-05/1.002, allocations: 41.08 kB / 1.018 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.002, allocations: 4 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/1.002, allocations: 4.094 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/1.002, allocations: 0 / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/1.002, allocations: 15.98 kB / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/1.002, allocations: 0 / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.979e-05/1.002, allocations: 11.89 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/1.002, allocations: 8 kB / 1.018 GB, free: 4.848 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 (2): * Single equations (assignments): 2 * 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 7.776e-05/1.003, allocations: 101 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.411e-05/1.003, allocations: 0 / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/1.003, allocations: 48.14 kB / 1.019 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.003, allocations: 7.906 kB / 1.019 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.003, allocations: 3.938 kB / 1.019 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.003, allocations: 0.8125 kB / 1.019 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/1.003, allocations: 133.7 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.003, allocations: 7.969 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.003, allocations: 11.98 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.003, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/1.003, allocations: 0.6875 kB / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/1.003, allocations: 0 / 1.019 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/1.003, allocations: 4 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001462/1.003, allocations: 142 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/1.003, allocations: 81.02 kB / 1.019 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/1.003, allocations: 8 kB / 1.019 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/1.004, allocations: 7.984 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/1.004, allocations: 0 / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/1.004, allocations: 4 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.061e-05/1.004, allocations: 82.69 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002917/1.004, allocations: 7.984 kB / 1.019 GB, free: 4.145 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 (2): * Single equations (assignments): 2 * 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.0001817/1.004, allocations: 99.25 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.985e-05/1.004, allocations: 15.25 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.004, allocations: 0 / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.407e-05/1.004, allocations: 7.688 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/1.005, allocations: 7.938 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/1.005, allocations: 66.95 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/1.005, allocations: 0.6841 MB / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of SimCode: time 6.41e-07/1.005, allocations: 0 / 1.02 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of Templates: time 0.002961/1.008, allocations: 404.1 kB / 1.02 GB, free: 2.832 MB / 0.6355 GB