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.Derivative.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.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative") [: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.163/2.163, allocations: 253.1 MB / 260.4 MB, free: 11.82 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001657/0.001657, allocations: 192.6 kB / 319.6 MB, free: 2.246 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.95/1.95, allocations: 205.4 MB / 0.5704 GB, free: 8.371 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001287/0.001286, allocations: 108.6 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.318e-05, allocations: 4 kB / 0.7843 GB, free: 5.414 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.663/0.6631, allocations: 106.3 MB / 0.8881 GB, free: 64.48 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2938/0.957, allocations: 130.6 MB / 1.016 GB, free: 9.648 MB / 0.6593 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.9573, allocations: 67.95 kB / 1.016 GB, free: 9.582 MB / 0.6593 GB Notification: Performance of FrontEnd: time 0.006223/0.9636, allocations: 1.056 MB / 1.017 GB, free: 8.531 MB / 0.6593 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.9637, allocations: 0 / 1.017 GB, free: 8.531 MB / 0.6593 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000652/0.9643, allocations: 365.3 kB / 1.017 GB, free: 8.133 MB / 0.6593 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/0.9644, allocations: 8.031 kB / 1.017 GB, free: 8.125 MB / 0.6593 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.384e-05/0.9645, allocations: 11.84 kB / 1.017 GB, free: 8.113 MB / 0.6593 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003791/0.9648, allocations: 190.9 kB / 1.017 GB, free: 7.887 MB / 0.6593 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.9649, allocations: 0 / 1.017 GB, free: 7.887 MB / 0.6593 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.9649, allocations: 4 kB / 1.017 GB, free: 7.883 MB / 0.6593 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001161/0.965, allocations: 20 kB / 1.017 GB, free: 7.863 MB / 0.6593 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.9652, allocations: 41.69 kB / 1.017 GB, free: 7.816 MB / 0.6593 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.9652, allocations: 0 / 1.017 GB, free: 7.816 MB / 0.6593 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.9652, allocations: 0 / 1.017 GB, free: 7.816 MB / 0.6593 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9652, allocations: 0 / 1.017 GB, free: 7.816 MB / 0.6593 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006746/0.9659, allocations: 273.4 kB / 1.018 GB, free: 7.512 MB / 0.6593 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.966, allocations: 34.58 kB / 1.018 GB, free: 7.469 MB / 0.6593 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.9661, allocations: 16.86 kB / 1.018 GB, free: 7.449 MB / 0.6593 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.9661, allocations: 0 / 1.018 GB, free: 7.449 MB / 0.6593 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.9662, allocations: 38.56 kB / 1.018 GB, free: 7.402 MB / 0.6593 GB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.9662, allocations: 0 / 1.018 GB, free: 7.402 MB / 0.6593 GB Notification: Performance of matching and sorting (n=4): time 0.0002378/0.9664, allocations: 61.56 kB / 1.018 GB, free: 7.336 MB / 0.6593 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.9665, allocations: 51.41 kB / 1.018 GB, free: 7.273 MB / 0.6593 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.9666, allocations: 101 kB / 1.018 GB, free: 7.168 MB / 0.6593 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.9667, allocations: 33.7 kB / 1.018 GB, free: 7.129 MB / 0.6593 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.9667, allocations: 88.08 kB / 1.018 GB, free: 7.039 MB / 0.6593 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.9668, allocations: 11.75 kB / 1.018 GB, free: 7.027 MB / 0.6593 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.9668, allocations: 0 / 1.018 GB, free: 7.027 MB / 0.6593 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9669, allocations: 326.7 kB / 1.018 GB, free: 6.699 MB / 0.6593 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.967, allocations: 8 kB / 1.018 GB, free: 6.691 MB / 0.6593 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.967, allocations: 12 kB / 1.018 GB, free: 6.68 MB / 0.6593 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.684e-05/0.9671, allocations: 8 kB / 1.018 GB, free: 6.672 MB / 0.6593 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9671, allocations: 0 / 1.018 GB, free: 6.672 MB / 0.6593 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001587/0.9673, allocations: 61.69 kB / 1.018 GB, free: 6.605 MB / 0.6593 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.9673, allocations: 5.875 kB / 1.018 GB, free: 6.602 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.9673, allocations: 0 / 1.018 GB, free: 6.602 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.9673, allocations: 0 / 1.018 GB, free: 6.602 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/0.9676, allocations: 27.83 kB / 1.018 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.9676, allocations: 0 / 1.018 GB, free: 6.574 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001127/0.9677, allocations: 11.98 kB / 1.018 GB, free: 6.562 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.9677, allocations: 4 kB / 1.018 GB, free: 6.559 MB / 0.6593 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 (5): * Single equations (assignments): 5 * 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.0001176/0.9679, allocations: 101 kB / 1.019 GB, free: 6.453 MB / 0.6593 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.403e-05/0.9679, allocations: 7.906 kB / 1.019 GB, free: 6.445 MB / 0.6593 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.9681, allocations: 53.69 kB / 1.019 GB, free: 6.383 MB / 0.6593 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.9681, allocations: 0 / 1.019 GB, free: 6.383 MB / 0.6593 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.9682, allocations: 0 / 1.019 GB, free: 6.383 MB / 0.6593 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.9682, allocations: 3.984 kB / 1.019 GB, free: 6.379 MB / 0.6593 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.9684, allocations: 150.1 kB / 1.019 GB, free: 6.195 MB / 0.6593 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.9684, allocations: 7.984 kB / 1.019 GB, free: 6.188 MB / 0.6593 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.9686, allocations: 11.94 kB / 1.019 GB, free: 6.176 MB / 0.6593 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.9686, allocations: 4 kB / 1.019 GB, free: 6.172 MB / 0.6593 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.9686, allocations: 0 / 1.019 GB, free: 6.172 MB / 0.6593 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.9687, allocations: 3.984 kB / 1.019 GB, free: 6.168 MB / 0.6593 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9687, allocations: 384 / 1.019 GB, free: 6.168 MB / 0.6593 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002728/0.969, allocations: 170 kB / 1.019 GB, free: 5.988 MB / 0.6593 GB Notification: Performance of postOpt removeConstants (simulation): time 5.792e-05/0.969, allocations: 81.02 kB / 1.019 GB, free: 5.891 MB / 0.6593 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.9691, allocations: 4 kB / 1.019 GB, free: 5.887 MB / 0.6593 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.9692, allocations: 12.16 kB / 1.019 GB, free: 5.875 MB / 0.6593 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.9693, allocations: 4 kB / 1.019 GB, free: 5.871 MB / 0.6593 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.9693, allocations: 8 kB / 1.019 GB, free: 5.863 MB / 0.6593 GB Notification: Performance of sort global known variables: time 6.474e-05/0.9694, allocations: 91.28 kB / 1.019 GB, free: 5.773 MB / 0.6593 GB Notification: Performance of remove unused functions: time 0.0003069/0.9697, allocations: 7.984 kB / 1.019 GB, free: 5.766 MB / 0.6593 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002089/0.9699, allocations: 111.1 kB / 1.019 GB, free: 5.648 MB / 0.6593 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.9701, allocations: 20 kB / 1.019 GB, free: 5.629 MB / 0.6593 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9701, allocations: 0 / 1.019 GB, free: 5.629 MB / 0.6593 GB Notification: Performance of simCode: created simulation system equations: time 5.199e-05/0.9701, allocations: 16 kB / 1.019 GB, free: 5.613 MB / 0.6593 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.9704, allocations: 15.89 kB / 1.019 GB, free: 5.598 MB / 0.6593 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.9708, allocations: 92.23 kB / 1.019 GB, free: 5.48 MB / 0.6593 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003575/0.9711, allocations: 0.6954 MB / 1.02 GB, free: 4.762 MB / 0.6593 GB Notification: Performance of SimCode: time 7.21e-07/0.9712, allocations: 0 / 1.02 GB, free: 4.762 MB / 0.6593 GB Notification: Performance of Templates: time 0.003644/0.9748, allocations: 0.5529 MB / 1.021 GB, free: 4.219 MB / 0.6593 GB