Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.Performance.Example4") [: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.044/2.044, allocations: 253.1 MB / 260.4 MB, free: 0.5742 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.001625/0.001625, allocations: 181.1 kB / 319.6 MB, free: 7.676 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.036/2.036, allocations: 205.4 MB / 0.5704 GB, free: 25.58 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.001336/0.001336, allocations: 81.31 kB / 0.6746 GB, free: 3.07 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.179e-05/1.198e-05, allocations: 4 kB / 0.7843 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5273/0.5273, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.487/6.014, allocations: 2.223 GB / 3.111 GB, free: 224.8 MB / 0.8699 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004257/6.015, allocations: 87.23 kB / 3.111 GB, free: 224.8 MB / 0.8699 GB Notification: Performance of FrontEnd: time 6.717/12.73, allocations: 1.405 GB / 4.515 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002377/12.73, allocations: 38.97 kB / 4.516 GB, free: 124.5 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.007372/12.74, allocations: 1.906 MB / 4.517 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/12.74, allocations: 10.84 kB / 4.517 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005471/12.74, allocations: 0.5329 MB / 4.518 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006109/12.75, allocations: 1.24 MB / 4.519 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001973/12.75, allocations: 265.9 kB / 4.519 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005349/12.75, allocations: 62.12 kB / 4.519 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002893/12.76, allocations: 0.7274 MB / 4.52 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003877/12.76, allocations: 1.066 MB / 4.521 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/12.76, allocations: 6 kB / 4.521 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/12.76, allocations: 2.406 kB / 4.521 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/12.76, allocations: 46.8 kB / 4.521 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/12.78, allocations: 6.549 MB / 4.528 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/12.78, allocations: 457.8 kB / 4.528 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/12.78, allocations: 192.6 kB / 4.528 GB, free: 118.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/12.78, allocations: 371.6 kB / 4.529 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/12.78, allocations: 42.28 kB / 4.529 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 3.516e-06/12.78, allocations: 0 / 4.529 GB, free: 118.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.002438/12.78, allocations: 0.5148 MB / 4.529 GB, free: 118.1 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/12.78, allocations: 54.88 kB / 4.529 GB, free: 118 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002038/12.78, allocations: 0.8277 MB / 4.53 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/12.78, allocations: 29.39 kB / 4.53 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003587/12.78, allocations: 0.5158 MB / 4.531 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/12.78, allocations: 118.8 kB / 4.531 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.684e-05/12.78, allocations: 0 / 4.531 GB, free: 117.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/12.78, allocations: 332.7 kB / 4.531 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/12.78, allocations: 200.7 kB / 4.531 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008591/12.79, allocations: 0.5629 MB / 4.532 GB, free: 116.7 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/12.79, allocations: 305.5 kB / 4.532 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/12.79, allocations: 7.156 kB / 4.532 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002362/12.79, allocations: 0.7607 MB / 4.533 GB, free: 116.5 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009702/12.79, allocations: 4.094 MB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.549e-05/12.79, allocations: 10.5 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.645e-05/12.79, allocations: 14.22 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/12.79, allocations: 220.6 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/12.79, allocations: 22.12 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/12.79, allocations: 194.2 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002049/12.79, allocations: 40.59 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/12.79, allocations: 3.844 kB / 4.537 GB, free: 112.2 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001839/12.8, allocations: 0.619 MB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/12.8, allocations: 10.66 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/12.8, allocations: 18.34 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/12.8, allocations: 219.6 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/12.8, allocations: 22.95 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/12.8, allocations: 147.8 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/12.8, allocations: 37.78 kB / 4.538 GB, free: 112.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.0003274/12.8, allocations: 140 kB / 4.538 GB, free: 112 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/12.8, allocations: 111.6 kB / 4.539 GB, free: 111.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001745/12.8, allocations: 0.5 MB / 4.539 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/12.8, allocations: 3.875 kB / 4.539 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/12.8, allocations: 2.625 kB / 4.539 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/12.8, allocations: 0 / 4.539 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005002/12.81, allocations: 1.692 MB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/12.81, allocations: 3.875 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/12.81, allocations: 110 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/12.81, allocations: 7.812 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/12.81, allocations: 13.2 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/12.81, allocations: 3.812 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/12.81, allocations: 3.562 kB / 4.541 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001627/12.81, allocations: 0.8433 MB / 4.542 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/12.81, allocations: 258.2 kB / 4.542 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003988/12.81, allocations: 3.781 kB / 4.542 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/12.81, allocations: 115.2 kB / 4.542 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/12.81, allocations: 28 kB / 4.542 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/12.81, allocations: 23.16 kB / 4.542 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001355/12.82, allocations: 0.6244 MB / 4.543 GB, free: 110.5 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004242/12.82, allocations: 0.8214 MB / 4.543 GB, free: 110.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.006474/12.83, allocations: 3.5 MB / 4.547 GB, free: 109 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002587/12.83, allocations: 0.8333 MB / 4.548 GB, free: 109 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/12.83, allocations: 0 / 4.548 GB, free: 109 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005339/12.83, allocations: 184 kB / 4.548 GB, free: 109 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003663/12.83, allocations: 378.7 kB / 4.548 GB, free: 108.9 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/12.84, allocations: 1.686 MB / 4.55 GB, free: 108.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/12.84, allocations: 1.306 MB / 4.551 GB, free: 107.7 MB / 0.9011 GB Notification: Performance of SimCode: time 1.884e-06/12.84, allocations: 0 / 4.551 GB, free: 107.7 MB / 0.9011 GB Notification: Performance of Templates: time 0.1015/12.94, allocations: 36.41 MB / 4.587 GB, free: 93.48 MB / 0.9011 GB