Running: ./testmodel.py --libraries=/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.106/2.106, allocations: 248.6 MB / 255.9 MB, free: 7.148 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 181.2 kB / 315.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.816/1.816, allocations: 205.1 MB / 0.5658 GB, free: 296 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 91.27 kB / 0.67 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4702/0.4716, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.6846, allocations: 106.3 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.423/6.108, allocations: 2.196 GB / 3.079 GB, free: 173.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/6.108, allocations: 86.27 kB / 3.079 GB, free: 173.1 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 1.897/8.005, allocations: 470.1 MB / 3.538 GB, free: 51.04 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/8.005, allocations: 8 kB / 3.538 GB, free: 51.03 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/8.007, allocations: 218.8 kB / 3.538 GB, free: 50.81 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/8.01, allocations: 0.632 MB / 3.539 GB, free: 50.14 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/8.01, allocations: 16 kB / 3.539 GB, free: 50.12 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/8.01, allocations: 32 kB / 3.539 GB, free: 50.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001093/8.011, allocations: 369.9 kB / 3.54 GB, free: 49.73 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/8.012, allocations: 412.4 kB / 3.54 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/8.012, allocations: 0 / 3.54 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.927e-05/8.012, allocations: 3.938 kB / 3.54 GB, free: 49.32 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/8.012, allocations: 24.94 kB / 3.54 GB, free: 49.29 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/8.016, allocations: 2.037 MB / 3.542 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/8.017, allocations: 299.5 kB / 3.542 GB, free: 46.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/8.018, allocations: 175.6 kB / 3.542 GB, free: 46.63 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003834/8.018, allocations: 198.5 kB / 3.543 GB, free: 46.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/8.018, allocations: 38.84 kB / 3.543 GB, free: 46.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.206e-06/8.018, allocations: 0 / 3.543 GB, free: 46.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.001624/8.02, allocations: 379.3 kB / 3.543 GB, free: 45.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/8.02, allocations: 55.41 kB / 3.543 GB, free: 45.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006689/8.021, allocations: 382.1 kB / 3.543 GB, free: 45.53 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/8.021, allocations: 29.7 kB / 3.543 GB, free: 45.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/8.021, allocations: 228.7 kB / 3.544 GB, free: 45.27 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/8.021, allocations: 118.3 kB / 3.544 GB, free: 45.15 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/8.021, allocations: 0 / 3.544 GB, free: 45.15 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001049/8.021, allocations: 362.7 kB / 3.544 GB, free: 44.79 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/8.021, allocations: 116.6 kB / 3.544 GB, free: 44.67 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003618/8.022, allocations: 202.3 kB / 3.544 GB, free: 44.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/8.022, allocations: 143.8 kB / 3.545 GB, free: 44.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/8.022, allocations: 3.984 kB / 3.545 GB, free: 44.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009309/8.023, allocations: 372.5 kB / 3.545 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.496e-05/8.023, allocations: 363 kB / 3.545 GB, free: 43.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/8.023, allocations: 7.984 kB / 3.545 GB, free: 43.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/8.023, allocations: 4.094 kB / 3.545 GB, free: 43.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000711/8.024, allocations: 75.84 kB / 3.545 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/8.024, allocations: 3.906 kB / 3.545 GB, free: 43.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/8.025, allocations: 51.8 kB / 3.545 GB, free: 43.41 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/8.025, allocations: 16 kB / 3.545 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/8.025, allocations: 4 kB / 3.545 GB, free: 43.39 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007233/8.026, allocations: 283.7 kB / 3.546 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/8.026, allocations: 0 / 3.546 GB, free: 43.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/8.026, allocations: 7.906 kB / 3.546 GB, free: 43.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/8.027, allocations: 67.91 kB / 3.546 GB, free: 43.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/8.027, allocations: 4 kB / 3.546 GB, free: 43.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/8.028, allocations: 55.77 kB / 3.546 GB, free: 42.98 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/8.028, allocations: 12 kB / 3.546 GB, free: 42.96 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.0001667/8.028, allocations: 116.8 kB / 3.546 GB, free: 42.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/8.028, allocations: 55.34 kB / 3.546 GB, free: 42.79 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009793/8.029, allocations: 362.8 kB / 3.546 GB, free: 42.43 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/8.029, allocations: 4 kB / 3.546 GB, free: 42.42 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/8.029, allocations: 4 kB / 3.546 GB, free: 42.42 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006258/8.03, allocations: 384.3 kB / 3.547 GB, free: 42.01 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/8.032, allocations: 1.054 MB / 3.548 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/8.032, allocations: 0 / 3.548 GB, free: 40.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008482/8.033, allocations: 96.06 kB / 3.548 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.638e-06/8.033, allocations: 4 kB / 3.548 GB, free: 40.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.964e-05/8.033, allocations: 8 kB / 3.548 GB, free: 40.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.892e-06/8.033, allocations: 3.984 kB / 3.548 GB, free: 40.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/8.033, allocations: 4 kB / 3.548 GB, free: 40.79 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00128/8.035, allocations: 0.725 MB / 3.549 GB, free: 39.99 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001913/8.037, allocations: 1.347 MB / 3.55 GB, free: 38.57 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/8.037, allocations: 180.3 kB / 3.55 GB, free: 38.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/8.037, allocations: 4 kB / 3.55 GB, free: 38.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/8.038, allocations: 59.72 kB / 3.55 GB, free: 38.31 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.102e-05/8.038, allocations: 27.91 kB / 3.55 GB, free: 38.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/8.038, allocations: 8 kB / 3.55 GB, free: 38.27 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000487/8.039, allocations: 298.9 kB / 3.55 GB, free: 37.98 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003958/8.043, allocations: 0.7021 MB / 3.551 GB, free: 37.28 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.002239/8.045, allocations: 1.427 MB / 3.552 GB, free: 35.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001232/8.046, allocations: 478.8 kB / 3.553 GB, free: 35.34 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/8.046, allocations: 4 kB / 3.553 GB, free: 35.33 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/8.047, allocations: 163.8 kB / 3.553 GB, free: 35.17 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003253/8.05, allocations: 315.9 kB / 3.553 GB, free: 34.87 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/8.053, allocations: 0.9781 MB / 3.554 GB, free: 33.85 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007971/8.054, allocations: 0.999 MB / 3.555 GB, free: 32.82 MB / 0.8698 GB Notification: Performance of SimCode: time 2.484e-06/8.054, allocations: 4 kB / 3.555 GB, free: 32.82 MB / 0.8698 GB