Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity") [: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.327/2.327, allocations: 253.1 MB / 260.4 MB, free: 7.531 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.002236/0.002235, allocations: 181.3 kB / 319.6 MB, free: 3.332 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.872/1.872, 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.00191/0.001909, allocations: 104.7 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.169e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.855/6.082, allocations: 2.18 GB / 3.068 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/6.082, allocations: 78.64 kB / 3.068 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.269/7.351, allocations: 235.1 MB / 3.297 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.879e-05/7.352, allocations: 10.34 kB / 3.297 GB, free: 194.4 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001495/7.353, allocations: 0.6433 MB / 3.298 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/7.353, allocations: 11.09 kB / 3.298 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/7.355, allocations: 164 kB / 3.298 GB, free: 193.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009367/7.356, allocations: 350 kB / 3.299 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/7.356, allocations: 11.75 kB / 3.299 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.739e-05/7.356, allocations: 18.56 kB / 3.299 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006381/7.357, allocations: 210.4 kB / 3.299 GB, free: 193.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006051/7.358, allocations: 258.9 kB / 3.299 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/7.358, allocations: 3.938 kB / 3.299 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.768e-05/7.358, allocations: 0 / 3.299 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/7.358, allocations: 8.953 kB / 3.299 GB, free: 193.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002368/7.36, allocations: 1.103 MB / 3.3 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/7.361, allocations: 234.4 kB / 3.3 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002632/7.361, allocations: 111.9 kB / 3.3 GB, free: 193 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008976/7.362, allocations: 472.5 kB / 3.301 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/7.362, allocations: 38.44 kB / 3.301 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 2.776e-06/7.362, allocations: 0 / 3.301 GB, free: 192.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.00154/7.363, allocations: 263.8 kB / 3.301 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/7.364, allocations: 62.75 kB / 3.301 GB, free: 192.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/7.364, allocations: 195.3 kB / 3.301 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/7.364, allocations: 25.7 kB / 3.301 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.141e-05/7.364, allocations: 147.5 kB / 3.302 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/7.364, allocations: 72.56 kB / 3.302 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/7.364, allocations: 0 / 3.302 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/7.364, allocations: 337.3 kB / 3.302 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/7.364, allocations: 44.27 kB / 3.302 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/7.365, allocations: 117.1 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004344/7.365, allocations: 107.3 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/7.365, allocations: 2.625 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007269/7.366, allocations: 229.1 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/7.366, allocations: 3.938 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/7.366, allocations: 3.906 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/7.366, allocations: 0 / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/7.366, allocations: 57.06 kB / 3.302 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/7.366, allocations: 3.906 kB / 3.303 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003935/7.367, allocations: 29.77 kB / 3.303 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/7.367, allocations: 17.25 kB / 3.303 GB, free: 191.7 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 (24): * Single equations (assignments): 24 * 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 9.763e-05/7.367, allocations: 108.2 kB / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/7.367, allocations: 27.16 kB / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008037/7.368, allocations: 232.7 kB / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/7.368, allocations: 2.75 kB / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/7.368, allocations: 0 / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/7.368, allocations: 3.781 kB / 3.303 GB, free: 191.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001622/7.369, allocations: 0.7245 MB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/7.37, allocations: 3.438 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004027/7.37, allocations: 51.41 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/7.37, allocations: 3.781 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/7.37, allocations: 3.719 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.523e-06/7.37, allocations: 2.906 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/7.37, allocations: 7.812 kB / 3.304 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001004/7.371, allocations: 0.5939 MB / 3.304 GB, free: 190.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/7.371, allocations: 117.8 kB / 3.304 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/7.371, allocations: 7.5 kB / 3.304 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/7.372, allocations: 18.11 kB / 3.304 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/7.372, allocations: 23.84 kB / 3.304 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/7.372, allocations: 7.594 kB / 3.304 GB, free: 190.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001931/7.372, allocations: 161.5 kB / 3.305 GB, free: 190.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008854/7.373, allocations: 149.7 kB / 3.305 GB, free: 190.5 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 (21): * Single equations (assignments): 21 * 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.00194/7.375, allocations: 1.179 MB / 3.306 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005408/7.375, allocations: 146.6 kB / 3.306 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/7.375, allocations: 0 / 3.306 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002174/7.376, allocations: 83.59 kB / 3.306 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/7.377, allocations: 133 kB / 3.306 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001273/7.378, allocations: 460.8 kB / 3.307 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/7.379, allocations: 0.8185 MB / 3.307 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/7.379, allocations: 3.031 kB / 3.307 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02709/7.406, allocations: 10.39 MB / 3.318 GB, free: 188.5 MB / 0.8698 GB