Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [: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.223/2.223, allocations: 253.1 MB / 260.4 MB, free: 7.457 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.002198/0.002197, allocations: 189 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 2.04/2.04, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.00136/0.00136, allocations: 95.31 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.212e-05/1.231e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2258, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.804/6.03, allocations: 2.179 GB / 3.068 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/6.031, allocations: 86 kB / 3.068 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.282/7.312, allocations: 235 MB / 3.297 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.11e-05/7.312, allocations: 6.938 kB / 3.297 GB, free: 245.8 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00203/7.314, allocations: 0.6472 MB / 3.298 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/7.314, allocations: 7.781 kB / 3.298 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/7.318, allocations: 161.8 kB / 3.298 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001322/7.319, allocations: 347.3 kB / 3.298 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/7.319, allocations: 7.812 kB / 3.298 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/7.319, allocations: 14.56 kB / 3.298 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008887/7.32, allocations: 199.7 kB / 3.298 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/7.321, allocations: 261.4 kB / 3.299 GB, free: 245 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/7.321, allocations: 3.797 kB / 3.299 GB, free: 245 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/7.321, allocations: 0 / 3.299 GB, free: 245 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/7.321, allocations: 6.469 kB / 3.299 GB, free: 245 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/7.325, allocations: 1.099 MB / 3.3 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/7.326, allocations: 212.8 kB / 3.3 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/7.326, allocations: 104.5 kB / 3.3 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/7.327, allocations: 481.5 kB / 3.301 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/7.327, allocations: 33.09 kB / 3.301 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 4.097e-06/7.328, allocations: 0 / 3.301 GB, free: 243.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002444/7.33, allocations: 254.3 kB / 3.301 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/7.33, allocations: 58.06 kB / 3.301 GB, free: 243.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003607/7.33, allocations: 194.2 kB / 3.301 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/7.331, allocations: 25.7 kB / 3.301 GB, free: 243.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/7.331, allocations: 145.5 kB / 3.301 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/7.331, allocations: 64.55 kB / 3.301 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/7.331, allocations: 0 / 3.301 GB, free: 243.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/7.331, allocations: 338.5 kB / 3.302 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002136/7.331, allocations: 45.77 kB / 3.302 GB, free: 243.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/7.331, allocations: 107.9 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/7.332, allocations: 101 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/7.332, allocations: 0 / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001063/7.333, allocations: 224.7 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/7.333, allocations: 10.28 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/7.333, allocations: 0 / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/7.333, allocations: 7.156 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/7.334, allocations: 43.2 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/7.334, allocations: 3.875 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005913/7.335, allocations: 29.5 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/7.335, allocations: 11.44 kB / 3.302 GB, free: 243.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001357/7.335, allocations: 114 kB / 3.302 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/7.335, allocations: 23.22 kB / 3.302 GB, free: 243 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/7.336, allocations: 221.3 kB / 3.302 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/7.336, allocations: 10.53 kB / 3.302 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/7.336, allocations: 3.938 kB / 3.302 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/7.336, allocations: 0 / 3.302 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/7.34, allocations: 0.7 MB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.091e-05/7.34, allocations: 0 / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/7.341, allocations: 49.27 kB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/7.341, allocations: 3.969 kB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/7.341, allocations: 3.844 kB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/7.341, allocations: 3.938 kB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/7.341, allocations: 7.5 kB / 3.303 GB, free: 242.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001011/7.342, allocations: 0.5822 MB / 3.304 GB, free: 242.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/7.342, allocations: 121.8 kB / 3.304 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/7.342, allocations: 3.812 kB / 3.304 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003718/7.343, allocations: 23.12 kB / 3.304 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.745e-05/7.343, allocations: 19.05 kB / 3.304 GB, free: 242 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/7.343, allocations: 7.219 kB / 3.304 GB, free: 242 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001799/7.343, allocations: 154.8 kB / 3.304 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008655/7.344, allocations: 147.5 kB / 3.304 GB, free: 241.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * 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.002639/7.346, allocations: 1.187 MB / 3.305 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007673/7.347, allocations: 133.6 kB / 3.306 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/7.347, allocations: 0 / 3.306 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003621/7.348, allocations: 80.23 kB / 3.306 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/7.35, allocations: 126.3 kB / 3.306 GB, free: 241.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/7.352, allocations: 438.6 kB / 3.306 GB, free: 241.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007498/7.353, allocations: 0.8111 MB / 3.307 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.064e-06/7.353, allocations: 0 / 3.307 GB, free: 240.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.02923/7.382, allocations: 10.31 MB / 3.317 GB, free: 240.2 MB / 0.8698 GB