Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay.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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Delays.Examples.Delay") [: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.145/2.145, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001607/0.001606, allocations: 180.9 kB / 319.6 MB, free: 3.336 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.993/1.993, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001944/0.001944, allocations: 96.7 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.075e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2238, allocations: 106.2 MB / 0.888 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.888/6.112, allocations: 2.196 GB / 3.084 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/6.113, allocations: 86.52 kB / 3.084 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.96/8.073, allocations: 469.2 MB / 3.542 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.936e-05/8.073, allocations: 19.98 kB / 3.542 GB, free: 45.89 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002394/8.075, allocations: 0.9733 MB / 3.543 GB, free: 44.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/8.075, allocations: 16.02 kB / 3.543 GB, free: 44.85 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002121/8.077, allocations: 214.8 kB / 3.543 GB, free: 44.64 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002027/8.079, allocations: 0.6321 MB / 3.544 GB, free: 43.97 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/8.08, allocations: 16 kB / 3.544 GB, free: 43.95 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/8.08, allocations: 32 kB / 3.544 GB, free: 43.92 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001097/8.081, allocations: 369.9 kB / 3.544 GB, free: 43.56 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/8.082, allocations: 416.3 kB / 3.544 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/8.082, allocations: 0 / 3.544 GB, free: 43.15 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/8.082, allocations: 4 kB / 3.544 GB, free: 43.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/8.082, allocations: 17 kB / 3.544 GB, free: 43.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004355/8.086, allocations: 2.024 MB / 3.546 GB, free: 40.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008398/8.087, allocations: 311.4 kB / 3.547 GB, free: 40.64 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003888/8.088, allocations: 178.2 kB / 3.547 GB, free: 40.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004055/8.088, allocations: 194.5 kB / 3.547 GB, free: 40.24 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/8.088, allocations: 38.84 kB / 3.547 GB, free: 40.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.436e-06/8.088, allocations: 0 / 3.547 GB, free: 40.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001626/8.09, allocations: 391.3 kB / 3.548 GB, free: 39.81 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/8.09, allocations: 59.34 kB / 3.548 GB, free: 39.74 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006798/8.091, allocations: 378.1 kB / 3.548 GB, free: 39.36 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.972e-05/8.091, allocations: 25.7 kB / 3.548 GB, free: 39.33 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/8.091, allocations: 236.7 kB / 3.548 GB, free: 39.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/8.091, allocations: 110.3 kB / 3.548 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/8.091, allocations: 0 / 3.548 GB, free: 38.98 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001258/8.091, allocations: 370.7 kB / 3.549 GB, free: 38.61 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/8.091, allocations: 112.6 kB / 3.549 GB, free: 38.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/8.092, allocations: 198.3 kB / 3.549 GB, free: 38.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/8.092, allocations: 151.6 kB / 3.549 GB, free: 38.12 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/8.092, allocations: 0 / 3.549 GB, free: 38.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00088/8.093, allocations: 368.7 kB / 3.549 GB, free: 37.76 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/8.093, allocations: 356.1 kB / 3.55 GB, free: 37.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/8.093, allocations: 0 / 3.55 GB, free: 37.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.989e-05/8.093, allocations: 4 kB / 3.55 GB, free: 37.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007387/8.094, allocations: 83.89 kB / 3.55 GB, free: 37.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/8.094, allocations: 3.906 kB / 3.55 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/8.095, allocations: 51.75 kB / 3.55 GB, free: 37.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/8.095, allocations: 15.98 kB / 3.55 GB, free: 37.23 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/8.095, allocations: 4 kB / 3.55 GB, free: 37.22 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007043/8.096, allocations: 275.8 kB / 3.55 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/8.096, allocations: 4 kB / 3.55 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/8.096, allocations: 3.906 kB / 3.55 GB, free: 36.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/8.097, allocations: 83.98 kB / 3.55 GB, free: 36.86 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/8.097, allocations: 7.938 kB / 3.55 GB, free: 36.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/8.098, allocations: 51.8 kB / 3.55 GB, free: 36.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/8.098, allocations: 16 kB / 3.55 GB, free: 36.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001608/8.098, allocations: 108.8 kB / 3.55 GB, free: 36.68 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/8.098, allocations: 55.34 kB / 3.551 GB, free: 36.62 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009717/8.099, allocations: 370.6 kB / 3.551 GB, free: 36.25 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/8.099, allocations: 4 kB / 3.551 GB, free: 36.25 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/8.099, allocations: 0 / 3.551 GB, free: 36.25 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006405/8.1, allocations: 380.3 kB / 3.551 GB, free: 35.85 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/8.102, allocations: 1.058 MB / 3.552 GB, free: 34.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/8.102, allocations: 3.938 kB / 3.552 GB, free: 34.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008588/8.103, allocations: 91.89 kB / 3.552 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.728e-06/8.103, allocations: 96 / 3.552 GB, free: 34.64 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/8.103, allocations: 7.938 kB / 3.552 GB, free: 34.63 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/8.103, allocations: 4.188 kB / 3.552 GB, free: 34.62 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.103, allocations: 8 kB / 3.552 GB, free: 34.62 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001274/8.104, allocations: 0.7291 MB / 3.553 GB, free: 33.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/8.105, allocations: 180.3 kB / 3.553 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/8.105, allocations: 0 / 3.553 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/8.106, allocations: 51.8 kB / 3.553 GB, free: 33.57 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.669e-05/8.106, allocations: 27.97 kB / 3.553 GB, free: 33.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/8.106, allocations: 11.98 kB / 3.553 GB, free: 33.53 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004981/8.107, allocations: 298.9 kB / 3.554 GB, free: 33.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001573/8.108, allocations: 411 kB / 3.554 GB, free: 32.84 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.U,del.dynBal.m,del.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.002349/8.111, allocations: 1.433 MB / 3.555 GB, free: 31.36 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001268/8.112, allocations: 474.5 kB / 3.556 GB, free: 30.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/8.112, allocations: 0 / 3.556 GB, free: 30.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003522/8.112, allocations: 155.8 kB / 3.556 GB, free: 30.74 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/8.115, allocations: 328 kB / 3.556 GB, free: 30.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/8.118, allocations: 0.9703 MB / 3.557 GB, free: 29.41 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/8.119, allocations: 1.003 MB / 3.558 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/8.119, allocations: 0 / 3.558 GB, free: 28.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.04921/8.168, allocations: 19.22 MB / 3.577 GB, free: 9.289 MB / 0.8698 GB