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.Sqrt.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.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt") [: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.489/2.489, allocations: 253.1 MB / 260.4 MB, free: 7.598 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.002483/0.002482, allocations: 185.2 kB / 319.6 MB, free: 3.301 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.04 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.001903/0.001903, allocations: 92.81 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.741e-05/1.756e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2403, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7056/0.9459, allocations: 131.4 MB / 1.016 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.9463, allocations: 70.45 kB / 1.016 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002315/0.9486, allocations: 344.1 kB / 1.017 GB, free: 6.57 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9487, allocations: 0 / 1.017 GB, free: 6.57 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.0004546/0.9492, allocations: 341.6 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.9492, allocations: 8.031 kB / 1.017 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.9493, allocations: 8.625 kB / 1.017 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.9494, allocations: 163.1 kB / 1.017 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.9494, allocations: 3.906 kB / 1.017 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.9495, allocations: 4 kB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.598e-05/0.9496, allocations: 11.48 kB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.876e-05/0.9497, allocations: 32.64 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.9497, allocations: 1.875 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.9497, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.9497, allocations: 4 kB / 1.017 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.9501, allocations: 232.4 kB / 1.018 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.098e-05/0.9502, allocations: 33.86 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.9502, allocations: 8.922 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.9503, allocations: 0 / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/0.9503, allocations: 34.47 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.9503, allocations: 3.828 kB / 1.018 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.9505, allocations: 37.58 kB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.428e-05/0.9506, allocations: 55.44 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.9507, allocations: 89 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.9507, allocations: 29.69 kB / 1.018 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.9507, allocations: 91.42 kB / 1.018 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.9508, allocations: 3.938 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.9508, allocations: 0 / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.9509, allocations: 318.7 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.461e-05/0.951, allocations: 7.25 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.951, allocations: 8 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.489e-05/0.951, allocations: 3.75 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.951, allocations: 0 / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000104/0.9511, allocations: 44.5 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.9512, allocations: 4 kB / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9512, allocations: 192 / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.9512, allocations: 0 / 1.018 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.9514, allocations: 16.08 kB / 1.018 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.9514, allocations: 4 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.9515, allocations: 11.89 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.9515, allocations: 4 kB / 1.018 GB, free: 4.836 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.568e-05/0.9516, allocations: 101 kB / 1.018 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.9517, allocations: 3.984 kB / 1.018 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.9517, allocations: 11.27 kB / 1.018 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9517, allocations: 7.844 kB / 1.018 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.9518, allocations: 4 kB / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.9518, allocations: 0 / 1.018 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.952, allocations: 134.5 kB / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.952, allocations: 0 / 1.019 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.9521, allocations: 12.61 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9521, allocations: 0 / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.9522, allocations: 4 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.9522, allocations: 0 / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.9522, allocations: 3.984 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001431/0.9523, allocations: 146 kB / 1.019 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.9524, allocations: 79.62 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.9524, allocations: 3.906 kB / 1.019 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/0.9526, allocations: 16.02 kB / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.9526, allocations: 0 / 1.019 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.9526, allocations: 4 kB / 1.019 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.509e-05/0.9527, allocations: 79.22 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002931/0.953, allocations: 4 kB / 1.019 GB, free: 4.176 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.0001904/0.9532, allocations: 107.2 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.9533, allocations: 15 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9533, allocations: 0 / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.329e-05/0.9534, allocations: 4 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.9536, allocations: 7.562 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002729/0.9539, allocations: 67.39 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.9542, allocations: 0.688 MB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of SimCode: time 1.263e-06/0.9543, allocations: 0 / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of Templates: time 0.002887/0.9571, allocations: 411.5 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB