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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") [: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.244/2.244, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001629/0.001629, allocations: 181.1 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.032/2.032, 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.001385/0.001384, allocations: 93.45 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.44e-05/1.458e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2397, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.715/0.9548, allocations: 131.8 MB / 1.017 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.9551, allocations: 68.41 kB / 1.017 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01785/0.973, allocations: 3.33 MB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.9731, allocations: 3.938 kB / 1.02 GB, free: 3.551 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001331/0.9744, allocations: 497.7 kB / 1.021 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.9745, allocations: 8.031 kB / 1.021 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.933e-05/0.9746, allocations: 19.72 kB / 1.021 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.9749, allocations: 205.2 kB / 1.021 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.9749, allocations: 4 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.975, allocations: 4 kB / 1.021 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003113/0.9753, allocations: 85.42 kB / 1.021 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.9757, allocations: 117.4 kB / 1.021 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.9757, allocations: 3.938 kB / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.9757, allocations: 0 / 1.021 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.9757, allocations: 4 kB / 1.021 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.9774, allocations: 0.491 MB / 1.022 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.9776, allocations: 82.06 kB / 1.022 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000178/0.9778, allocations: 70.66 kB / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.9779, allocations: 0 / 1.022 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.9779, allocations: 41.48 kB / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.604e-06/0.9779, allocations: 0 / 1.022 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0006007/0.9785, allocations: 170.4 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.9786, allocations: 55.41 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.9788, allocations: 126.3 kB / 1.022 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.9788, allocations: 33.7 kB / 1.022 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.9789, allocations: 101.4 kB / 1.022 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.979, allocations: 42.45 kB / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.979, allocations: 0 / 1.022 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9792, allocations: 325.7 kB / 1.023 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.9793, allocations: 52.98 kB / 1.023 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001447/0.9795, allocations: 50.03 kB / 1.023 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.9798, allocations: 73.08 kB / 1.023 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.9798, allocations: 0 / 1.023 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004647/0.9803, allocations: 175.8 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9803, allocations: 4 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.907e-05/0.9803, allocations: 4 kB / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.9804, allocations: 0 / 1.023 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.9809, allocations: 58.64 kB / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.9809, allocations: 0 / 1.023 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.9813, allocations: 67.73 kB / 1.023 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.9814, allocations: 0 / 1.023 GB, free: 0.7461 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001148/0.9815, allocations: 105 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.9816, allocations: 11.81 kB / 1.023 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008074/0.9824, allocations: 197.2 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.9825, allocations: 4 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.9825, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.9825, allocations: 0 / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007091/0.9832, allocations: 220 kB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.581e-05/0.9833, allocations: 7.938 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008486/0.9842, allocations: 54.89 kB / 1.024 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.9842, allocations: 0 / 1.024 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.628e-05/0.9843, allocations: 7.906 kB / 1.024 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.9843, allocations: 4 kB / 1.024 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.9843, allocations: 0 / 1.024 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001151/0.9855, allocations: 268.3 kB / 1.024 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.9857, allocations: 88.95 kB / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.888e-05/0.9857, allocations: 0 / 1.024 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005686/0.9863, allocations: 55.86 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.9865, allocations: 15.78 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.9865, allocations: 4 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001243/0.9866, allocations: 105.8 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000471/0.9871, allocations: 36 kB / 1.024 GB, free: 15.62 MB / 0.6511 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003405/0.9875, allocations: 119.2 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005243/0.988, allocations: 201 kB / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.988, allocations: 0 / 1.024 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002552/0.9883, allocations: 146.7 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.9887, allocations: 19.58 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.9894, allocations: 206.8 kB / 1.025 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/0.99, allocations: 0.7432 MB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.402e-06/0.99, allocations: 3.938 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.007439/0.9975, allocations: 1.773 MB / 1.027 GB, free: 12.46 MB / 0.6511 GB