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.Product.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.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Product") [: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.621/2.621, allocations: 253.1 MB / 260.4 MB, free: 7.496 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: 185.3 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.076/2.076, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001323/0.001323, allocations: 95.03 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.301e-05/1.312e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2325, allocations: 106.2 MB / 0.8881 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7066/0.9391, allocations: 131.4 MB / 1.016 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.9395, allocations: 73.88 kB / 1.016 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003667/0.9432, allocations: 0.547 MB / 1.017 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.9433, allocations: 4 kB / 1.017 GB, free: 6.336 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006571/0.944, allocations: 362.2 kB / 1.017 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.944, allocations: 8.031 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.9441, allocations: 7.906 kB / 1.017 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.9442, allocations: 167.1 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.9443, allocations: 0 / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.9443, allocations: 0 / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001225/0.9444, allocations: 23.44 kB / 1.018 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.9446, allocations: 44.73 kB / 1.018 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9446, allocations: 0 / 1.018 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.9446, allocations: 3.984 kB / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.9446, allocations: 0 / 1.018 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.9454, allocations: 286.7 kB / 1.018 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.9456, allocations: 38.38 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.9456, allocations: 20.42 kB / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.9457, allocations: 0 / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.774e-05/0.9457, allocations: 30.56 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.9457, allocations: 2.625 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002288/0.9459, allocations: 43.98 kB / 1.018 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.946, allocations: 59.3 kB / 1.018 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.9461, allocations: 97.59 kB / 1.018 GB, free: 5.043 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.9462, allocations: 25.7 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.9462, allocations: 88.14 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.9463, allocations: 11.39 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-06/0.9463, allocations: 0 / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.9465, allocations: 310.8 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.236e-05/0.9465, allocations: 11.75 kB / 1.019 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4e-05/0.9466, allocations: 11.25 kB / 1.019 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.79e-05/0.9466, allocations: 7.312 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9467, allocations: 3.938 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001485/0.9468, allocations: 57.22 kB / 1.019 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9468, allocations: 4 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9469, allocations: 4 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.9469, allocations: 0 / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.9472, allocations: 19.98 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.9472, allocations: 1.109 kB / 1.019 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.9474, allocations: 27.88 kB / 1.019 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.9474, allocations: 0 / 1.019 GB, free: 4.469 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 (3): * Single equations (assignments): 3 * 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 8.828e-05/0.9475, allocations: 107.7 kB / 1.019 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.9476, allocations: 7.906 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.9476, allocations: 11.75 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.9476, allocations: 3.938 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.9476, allocations: 0.625 kB / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.9477, allocations: 0 / 1.019 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.9479, allocations: 142 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.9479, allocations: 0 / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.9481, allocations: 32.53 kB / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.9481, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.9481, allocations: 0 / 1.019 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.9482, allocations: 3.906 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.9482, allocations: 4 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002187/0.9484, allocations: 149.5 kB / 1.019 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.136e-05/0.9485, allocations: 77.11 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.9485, allocations: 4 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.9487, allocations: 19.98 kB / 1.019 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.9488, allocations: 3.984 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.9488, allocations: 0 / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.698e-05/0.9489, allocations: 94.89 kB / 1.019 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003171/0.9492, allocations: 11.84 kB / 1.019 GB, free: 3.75 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 (3): * Single equations (assignments): 3 * 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.000195/0.9494, allocations: 105.8 kB / 1.019 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.9496, allocations: 22.62 kB / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9497, allocations: 0 / 1.019 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.045e-05/0.9497, allocations: 14.95 kB / 1.019 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002808/0.95, allocations: 4 kB / 1.019 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.9504, allocations: 89.84 kB / 1.02 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.9509, allocations: 0.6915 MB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of SimCode: time 1.152e-06/0.9509, allocations: 3.938 kB / 1.02 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of Templates: time 0.003651/0.9545, allocations: 0.602 MB / 1.021 GB, free: 2.199 MB / 0.6355 GB