Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.BoundaryWithX_in,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Validation.BoundaryWithX_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.121/2.121, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001715/0.001714, allocations: 184.5 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 1.947/1.947, 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.001323/0.001322, allocations: 100.9 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.268e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2174, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.36/7.577, allocations: 2.872 GB / 3.76 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/7.578, allocations: 79.7 kB / 3.76 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 6.941/14.52, allocations: 1.395 GB / 5.155 GB, free: 80.79 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002139/14.52, allocations: 39.98 kB / 5.155 GB, free: 80.75 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005386/14.52, allocations: 1.328 MB / 5.157 GB, free: 79.38 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/14.52, allocations: 8.031 kB / 5.157 GB, free: 79.37 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/14.53, allocations: 353.8 kB / 5.157 GB, free: 79.02 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/14.53, allocations: 0.9508 MB / 5.158 GB, free: 78.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/14.53, allocations: 32 kB / 5.158 GB, free: 77.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004957/14.53, allocations: 64 kB / 5.158 GB, free: 77.93 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003997/14.54, allocations: 0.9296 MB / 5.159 GB, free: 77 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005231/14.54, allocations: 1.32 MB / 5.16 GB, free: 75.57 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.405e-05/14.54, allocations: 0 / 5.16 GB, free: 75.57 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/14.54, allocations: 4 kB / 5.16 GB, free: 75.57 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.793e-05/14.54, allocations: 53.95 kB / 5.16 GB, free: 75.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/14.56, allocations: 5.061 MB / 5.165 GB, free: 70.21 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/14.56, allocations: 305 kB / 5.166 GB, free: 69.89 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007317/14.56, allocations: 249.6 kB / 5.166 GB, free: 69.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/14.56, allocations: 0.961 MB / 5.167 GB, free: 68.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/14.56, allocations: 46.55 kB / 5.167 GB, free: 68.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=28): time 5.421e-06/14.56, allocations: 0 / 5.167 GB, free: 68.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=28): time 0.004683/14.57, allocations: 0.5437 MB / 5.167 GB, free: 67.89 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/14.57, allocations: 81.11 kB / 5.167 GB, free: 67.79 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/14.57, allocations: 0.5512 MB / 5.168 GB, free: 67.24 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001395/14.57, allocations: 29.7 kB / 5.168 GB, free: 67.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/14.57, allocations: 470.5 kB / 5.168 GB, free: 66.73 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/14.57, allocations: 86.66 kB / 5.168 GB, free: 66.65 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-05/14.57, allocations: 0 / 5.168 GB, free: 66.65 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/14.57, allocations: 317.9 kB / 5.169 GB, free: 66.33 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/14.57, allocations: 155.9 kB / 5.169 GB, free: 66.18 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006772/14.57, allocations: 295.8 kB / 5.169 GB, free: 65.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/14.57, allocations: 195.8 kB / 5.169 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/14.57, allocations: 0 / 5.169 GB, free: 65.64 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001817/14.57, allocations: 460.4 kB / 5.17 GB, free: 65.19 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/14.57, allocations: 6.5 kB / 5.17 GB, free: 65.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/14.57, allocations: 4 kB / 5.17 GB, free: 65.18 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/14.57, allocations: 8.188 kB / 5.17 GB, free: 65.17 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007084/14.57, allocations: 55.91 kB / 5.17 GB, free: 65.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/14.57, allocations: 7.938 kB / 5.17 GB, free: 65.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/14.57, allocations: 23.83 kB / 5.17 GB, free: 65.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/14.57, allocations: 24 kB / 5.17 GB, free: 65.06 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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.000238/14.57, allocations: 114.5 kB / 5.17 GB, free: 64.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000319/14.57, allocations: 86.42 kB / 5.17 GB, free: 64.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/14.58, allocations: 314 kB / 5.17 GB, free: 64.55 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/14.58, allocations: 7.906 kB / 5.17 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/14.58, allocations: 0 / 5.17 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/14.58, allocations: 3.984 kB / 5.17 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007552/14.58, allocations: 2.362 MB / 5.173 GB, free: 62.01 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.881e-05/14.58, allocations: 8 kB / 5.173 GB, free: 62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/14.58, allocations: 52.73 kB / 5.173 GB, free: 61.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.131e-05/14.58, allocations: 8 kB / 5.173 GB, free: 61.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.229e-05/14.58, allocations: 11.91 kB / 5.173 GB, free: 61.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.645e-05/14.58, allocations: 19.92 kB / 5.173 GB, free: 61.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/14.58, allocations: 7.938 kB / 5.173 GB, free: 61.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00149/14.59, allocations: 0.8289 MB / 5.174 GB, free: 60.82 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/14.59, allocations: 204 kB / 5.174 GB, free: 60.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/14.59, allocations: 11.98 kB / 5.174 GB, free: 60.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008322/14.59, allocations: 16 kB / 5.174 GB, free: 60.58 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/14.59, allocations: 31.83 kB / 5.174 GB, free: 60.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-05/14.59, allocations: 16 kB / 5.174 GB, free: 60.53 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001266/14.59, allocations: 475.1 kB / 5.174 GB, free: 60.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003399/14.59, allocations: 0.557 MB / 5.175 GB, free: 59.51 MB / 0.8855 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.009282/14.6, allocations: 2.585 MB / 5.177 GB, free: 56.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001224/14.6, allocations: 339.7 kB / 5.178 GB, free: 56.52 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.309e-05/14.6, allocations: 0 / 5.178 GB, free: 56.52 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004899/14.6, allocations: 157.6 kB / 5.178 GB, free: 56.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005933/14.61, allocations: 430.7 kB / 5.178 GB, free: 55.96 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006223/14.62, allocations: 1.453 MB / 5.18 GB, free: 54.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002077/14.62, allocations: 1.288 MB / 5.181 GB, free: 53.08 MB / 0.8855 GB Notification: Performance of SimCode: time 2.555e-06/14.62, allocations: 0 / 5.181 GB, free: 53.08 MB / 0.8855 GB Notification: Performance of Templates: time 0.0867/14.7, allocations: 26.44 MB / 5.207 GB, free: 26.73 MB / 0.8855 GB