Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_T.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.Examples.PropertySource_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_T") [: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.113/2.113, allocations: 253.1 MB / 260.4 MB, free: 11.4 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001636/0.001635, allocations: 187 kB / 319.6 MB, free: 2.094 MB / 242.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.802/1.802, allocations: 205.4 MB / 0.5704 GB, free: 8 MB / 434.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 94.33 kB / 0.6746 GB, free: 21.46 MB / 466.8 MB Notification: Performance of FrontEnd - loaded program: time 9.317e-06/9.478e-06, allocations: 0 / 0.7843 GB, free: 5.078 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5933/0.5933, allocations: 106.2 MB / 0.888 GB, free: 64.77 MB / 0.5964 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.22/5.813, allocations: 2.186 GB / 3.074 GB, free: 70.18 MB / 0.8777 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/5.813, allocations: 85.62 kB / 3.074 GB, free: 70.13 MB / 0.8777 GB Notification: Performance of FrontEnd: time 2.888/8.702, allocations: 0.5836 GB / 3.658 GB, free: 166.8 MB / 0.8777 GB Notification: Performance of Transformations before backend: time 8.382e-05/8.702, allocations: 24 kB / 3.658 GB, free: 166.8 MB / 0.8777 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.003356/8.705, allocations: 1.125 MB / 3.659 GB, free: 165.6 MB / 0.8777 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/8.705, allocations: 8.031 kB / 3.659 GB, free: 165.6 MB / 0.8777 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/8.708, allocations: 282.5 kB / 3.659 GB, free: 165.4 MB / 0.8777 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/8.71, allocations: 0.5718 MB / 3.66 GB, free: 164.8 MB / 0.8777 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/8.71, allocations: 27.22 kB / 3.66 GB, free: 164.7 MB / 0.8777 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/8.711, allocations: 44 kB / 3.66 GB, free: 164.7 MB / 0.8777 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001555/8.712, allocations: 0.5271 MB / 3.66 GB, free: 164.2 MB / 0.8777 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/8.714, allocations: 0.7808 MB / 3.661 GB, free: 163.3 MB / 0.8777 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/8.714, allocations: 3.531 kB / 3.661 GB, free: 163.3 MB / 0.8777 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/8.714, allocations: 0 / 3.661 GB, free: 163.3 MB / 0.8777 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.955e-05/8.714, allocations: 41.28 kB / 3.661 GB, free: 163.3 MB / 0.8777 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005785/8.72, allocations: 3.7 MB / 3.665 GB, free: 159.4 MB / 0.8777 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/8.72, allocations: 187 kB / 3.665 GB, free: 159.2 MB / 0.8777 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002399/8.721, allocations: 117 kB / 3.665 GB, free: 159.1 MB / 0.8777 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/8.722, allocations: 0.6277 MB / 3.666 GB, free: 158.3 MB / 0.8777 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.787e-05/8.722, allocations: 38.56 kB / 3.666 GB, free: 158.3 MB / 0.8777 GB Notification: Performance of pre-optimization done (n=19): time 2.364e-06/8.722, allocations: 0 / 3.666 GB, free: 158.3 MB / 0.8777 GB Notification: Performance of matching and sorting (n=19): time 0.002693/8.725, allocations: 426.9 kB / 3.666 GB, free: 157.9 MB / 0.8777 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/8.725, allocations: 102.8 kB / 3.666 GB, free: 157.7 MB / 0.8777 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005707/8.725, allocations: 349 kB / 3.666 GB, free: 157.4 MB / 0.8777 GB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/8.725, allocations: 33.14 kB / 3.666 GB, free: 157.4 MB / 0.8777 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001847/8.725, allocations: 354.9 kB / 3.667 GB, free: 157 MB / 0.8777 GB Notification: Performance of collectInitialBindings (initialization): time 6.525e-05/8.726, allocations: 67.03 kB / 3.667 GB, free: 156.9 MB / 0.8777 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/8.726, allocations: 0 / 3.667 GB, free: 156.9 MB / 0.8777 GB Notification: Performance of setup shared object (initialization): time 0.0001024/8.726, allocations: 359.5 kB / 3.667 GB, free: 156.6 MB / 0.8777 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/8.726, allocations: 83.95 kB / 3.667 GB, free: 156.5 MB / 0.8777 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/8.726, allocations: 204 kB / 3.668 GB, free: 156.2 MB / 0.8777 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/8.727, allocations: 154 kB / 3.668 GB, free: 156.1 MB / 0.8777 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/8.727, allocations: 3.984 kB / 3.668 GB, free: 156.1 MB / 0.8777 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001033/8.728, allocations: 354.3 kB / 3.668 GB, free: 155.8 MB / 0.8777 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/8.728, allocations: 4 kB / 3.668 GB, free: 155.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/8.728, allocations: 4 kB / 3.668 GB, free: 155.7 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/8.728, allocations: 4 kB / 3.668 GB, free: 155.7 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/8.729, allocations: 74.72 kB / 3.668 GB, free: 155.7 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/8.729, allocations: 4 kB / 3.668 GB, free: 155.7 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/8.73, allocations: 50.55 kB / 3.668 GB, free: 155.6 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-05/8.73, allocations: 15.94 kB / 3.668 GB, free: 155.6 MB / 0.8777 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.0001211/8.73, allocations: 120.2 kB / 3.668 GB, free: 155.5 MB / 0.8777 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/8.73, allocations: 50.5 kB / 3.668 GB, free: 155.4 MB / 0.8777 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009161/8.731, allocations: 265.1 kB / 3.669 GB, free: 155.2 MB / 0.8777 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/8.731, allocations: 0 / 3.669 GB, free: 155.2 MB / 0.8777 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/8.731, allocations: 0 / 3.669 GB, free: 155.2 MB / 0.8777 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/8.731, allocations: 4 kB / 3.669 GB, free: 155.2 MB / 0.8777 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/8.734, allocations: 1.198 MB / 3.67 GB, free: 153.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/8.734, allocations: 4 kB / 3.67 GB, free: 153.9 MB / 0.8777 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004105/8.734, allocations: 47.22 kB / 3.67 GB, free: 153.8 MB / 0.8777 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/8.734, allocations: 8 kB / 3.67 GB, free: 153.8 MB / 0.8777 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/8.734, allocations: 8 kB / 3.67 GB, free: 153.8 MB / 0.8777 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.575e-06/8.734, allocations: 7.906 kB / 3.67 GB, free: 153.8 MB / 0.8777 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/8.734, allocations: 7.938 kB / 3.67 GB, free: 153.8 MB / 0.8777 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009212/8.735, allocations: 0.6164 MB / 3.67 GB, free: 153.1 MB / 0.8777 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/8.735, allocations: 140.5 kB / 3.671 GB, free: 152.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-05/8.736, allocations: 11.22 kB / 3.671 GB, free: 152.9 MB / 0.8777 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/8.736, allocations: 33.73 kB / 3.671 GB, free: 152.9 MB / 0.8777 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/8.736, allocations: 21.61 kB / 3.671 GB, free: 152.8 MB / 0.8777 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/8.736, allocations: 8 kB / 3.671 GB, free: 152.8 MB / 0.8777 GB Notification: Performance of sort global known variables: time 0.0004077/8.737, allocations: 267.2 kB / 3.671 GB, free: 152.6 MB / 0.8777 GB Notification: Performance of remove unused functions: time 0.001448/8.738, allocations: 331.2 kB / 3.671 GB, free: 152.2 MB / 0.8777 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 (19): * Single equations (assignments): 19 * 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.003559/8.742, allocations: 2.23 MB / 3.673 GB, free: 150.2 MB / 0.8777 GB Notification: Performance of simCode: created initialization part: time 0.0007269/8.743, allocations: 201.8 kB / 3.674 GB, free: 150 MB / 0.8777 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/8.743, allocations: 8 kB / 3.674 GB, free: 150 MB / 0.8777 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/8.743, allocations: 104.3 kB / 3.674 GB, free: 149.9 MB / 0.8777 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001685/8.744, allocations: 168.7 kB / 3.674 GB, free: 149.8 MB / 0.8777 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/8.747, allocations: 0.8487 MB / 3.675 GB, free: 148.9 MB / 0.8777 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007842/8.748, allocations: 1.045 MB / 3.676 GB, free: 147.8 MB / 0.8777 GB Notification: Performance of SimCode: time 1.523e-06/8.748, allocations: 0 / 3.676 GB, free: 147.8 MB / 0.8777 GB Notification: Performance of Templates: time 0.0464/8.794, allocations: 18.22 MB / 3.693 GB, free: 129.9 MB / 0.8777 GB