Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in.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.Fluid.Sources.Validation.BoundaryWithXi_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithXi_in") [: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.275/2.275, allocations: 253.1 MB / 260.4 MB, free: 0.5352 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.001671/0.00167, allocations: 189.2 kB / 319.6 MB, free: 7.664 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.082/2.082, allocations: 205.4 MB / 0.5704 GB, free: 25.61 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.001328/0.001327, allocations: 99.98 kB / 0.6746 GB, free: 3.059 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.096e-05, allocations: 4 kB / 0.7843 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5326/0.5327, allocations: 106.2 MB / 0.888 GB, free: 77.11 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.39/7.923, allocations: 2.871 GB / 3.759 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/7.923, allocations: 88.7 kB / 3.759 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.689/14.61, allocations: 1.395 GB / 5.154 GB, free: 159.2 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001526/14.61, allocations: 44.39 kB / 5.154 GB, free: 159.2 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003841/14.62, allocations: 1.32 MB / 5.156 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/14.62, allocations: 5.875 kB / 5.156 GB, free: 158.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/14.62, allocations: 357.4 kB / 5.156 GB, free: 158.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003113/14.62, allocations: 0.9417 MB / 5.157 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/14.62, allocations: 36.34 kB / 5.157 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/14.62, allocations: 65.12 kB / 5.157 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003315/14.63, allocations: 0.9206 MB / 5.158 GB, free: 158.1 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/14.63, allocations: 1.304 MB / 5.159 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.401e-05/14.63, allocations: 5.312 kB / 5.159 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/14.63, allocations: 7.219 kB / 5.159 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.484e-05/14.63, allocations: 54.12 kB / 5.159 GB, free: 157.8 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008297/14.64, allocations: 5.037 MB / 5.164 GB, free: 154.9 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008419/14.64, allocations: 302.8 kB / 5.165 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/14.64, allocations: 242 kB / 5.165 GB, free: 154.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/14.64, allocations: 0.9682 MB / 5.166 GB, free: 153.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/14.64, allocations: 36.88 kB / 5.166 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=28): time 2.915e-06/14.64, allocations: 0 / 5.166 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=28): time 0.002869/14.64, allocations: 0.5417 MB / 5.166 GB, free: 153.8 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/14.64, allocations: 81.11 kB / 5.166 GB, free: 153.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/14.64, allocations: 0.5624 MB / 5.167 GB, free: 153.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.815e-05/14.64, allocations: 29.64 kB / 5.167 GB, free: 153.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/14.64, allocations: 464.5 kB / 5.167 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/14.65, allocations: 87.95 kB / 5.167 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/14.65, allocations: 0 / 5.167 GB, free: 153.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/14.65, allocations: 322.5 kB / 5.168 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/14.65, allocations: 155.6 kB / 5.168 GB, free: 152.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/14.65, allocations: 310.6 kB / 5.168 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000471/14.65, allocations: 204.4 kB / 5.168 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/14.65, allocations: 0 / 5.168 GB, free: 152.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001223/14.65, allocations: 490.5 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/14.65, allocations: 4.781 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/14.65, allocations: 3.75 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/14.65, allocations: 3.938 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004564/14.65, allocations: 62.25 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/14.65, allocations: 2.719 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007131/14.65, allocations: 35.92 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-05/14.65, allocations: 24.59 kB / 5.169 GB, free: 152.6 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001493/14.65, allocations: 118.1 kB / 5.169 GB, free: 152.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/14.65, allocations: 77.47 kB / 5.169 GB, free: 152.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/14.65, allocations: 331.7 kB / 5.17 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/14.65, allocations: 6.719 kB / 5.17 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/14.65, allocations: 3.75 kB / 5.17 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/14.65, allocations: 3.938 kB / 5.17 GB, free: 152.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/14.66, allocations: 2.343 MB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/14.66, allocations: 7.312 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000377/14.66, allocations: 49.66 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/14.66, allocations: 10.78 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.142e-05/14.66, allocations: 10.81 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.136e-05/14.66, allocations: 15.42 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/14.66, allocations: 7.812 kB / 5.172 GB, free: 151.5 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001078/14.66, allocations: 0.8347 MB / 5.173 GB, free: 150.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/14.66, allocations: 210.9 kB / 5.173 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/14.66, allocations: 11.22 kB / 5.173 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/14.66, allocations: 11.72 kB / 5.173 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/14.66, allocations: 35.53 kB / 5.173 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/14.66, allocations: 15.59 kB / 5.173 GB, free: 150.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.0008051/14.66, allocations: 475.7 kB / 5.173 GB, free: 150.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002339/14.66, allocations: 0.5493 MB / 5.174 GB, free: 150.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.006167/14.67, allocations: 2.59 MB / 5.177 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009133/14.67, allocations: 336.7 kB / 5.177 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/14.67, allocations: 3.844 kB / 5.177 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/14.67, allocations: 152.3 kB / 5.177 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/14.67, allocations: 426.5 kB / 5.177 GB, free: 149.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004129/14.68, allocations: 1.441 MB / 5.179 GB, free: 149.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/14.68, allocations: 1.291 MB / 5.18 GB, free: 148.5 MB / 0.9011 GB Notification: Performance of SimCode: time 1.853e-06/14.68, allocations: 0 / 5.18 GB, free: 148.5 MB / 0.9011 GB Notification: Performance of Templates: time 0.06879/14.75, allocations: 26.49 MB / 5.206 GB, free: 143.8 MB / 0.9011 GB