Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 186.2 kB / 7.807 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4389/0.4389, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.184/1.184, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009798, allocations: 99.34 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.855e-06, allocations: 0 / 493.9 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3231, allocations: 72.3 MB / 0.5529 GB, free: 73.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.174/3.497, allocations: 1.859 GB / 2.412 GB, free: 203.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/3.497, allocations: 83.95 kB / 2.412 GB, free: 203.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.7479/4.245, allocations: 246.4 MB / 2.653 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.508e-05/4.246, allocations: 7.938 kB / 2.653 GB, free: 160.7 MB / 0.6042 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.001346/4.247, allocations: 0.6409 MB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/4.247, allocations: 9.719 kB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001616/4.249, allocations: 171.8 kB / 2.653 GB, free: 160.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006682/4.249, allocations: 354 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/4.249, allocations: 7.344 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.936e-05/4.249, allocations: 14.69 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003659/4.25, allocations: 205.4 kB / 2.654 GB, free: 160.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003774/4.25, allocations: 266.5 kB / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/4.25, allocations: 0 / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/4.25, allocations: 0 / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/4.25, allocations: 7.406 kB / 2.654 GB, free: 160 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/4.252, allocations: 1.093 MB / 2.655 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/4.252, allocations: 231 kB / 2.656 GB, free: 159.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/4.252, allocations: 110.9 kB / 2.656 GB, free: 159.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/4.253, allocations: 468.6 kB / 2.656 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/4.253, allocations: 45.31 kB / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/4.253, allocations: 0 / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=21): time 0.001027/4.254, allocations: 264.5 kB / 2.656 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/4.254, allocations: 61.41 kB / 2.656 GB, free: 158.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/4.254, allocations: 196.8 kB / 2.657 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/4.254, allocations: 25.7 kB / 2.657 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.87e-05/4.254, allocations: 154.1 kB / 2.657 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.653e-05/4.254, allocations: 65.38 kB / 2.657 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/4.254, allocations: 2.719 kB / 2.657 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/4.254, allocations: 335.7 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/4.254, allocations: 46.05 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/4.255, allocations: 115.8 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/4.255, allocations: 106.4 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/4.255, allocations: 3.906 kB / 2.657 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004059/4.255, allocations: 234.9 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/4.255, allocations: 12.38 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/4.255, allocations: 0 / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/4.255, allocations: 1.438 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/4.255, allocations: 56.62 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/4.256, allocations: 3.438 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/4.256, allocations: 30.14 kB / 2.658 GB, free: 158 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/4.256, allocations: 12.38 kB / 2.658 GB, free: 158 MB / 0.6042 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 7.36e-05/4.256, allocations: 110 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/4.256, allocations: 26.38 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004443/4.256, allocations: 229.7 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/4.256, allocations: 1.625 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/4.256, allocations: 0 / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/4.256, allocations: 2.156 kB / 2.658 GB, free: 157.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009933/4.257, allocations: 0.7144 MB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/4.257, allocations: 6.047 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/4.258, allocations: 48.59 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/4.258, allocations: 3.531 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/4.258, allocations: 5.656 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/4.258, allocations: 7.281 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/4.258, allocations: 6.625 kB / 2.659 GB, free: 157.5 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006758/4.258, allocations: 0.5893 MB / 2.66 GB, free: 157.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/4.259, allocations: 120 kB / 2.66 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/4.259, allocations: 13.25 kB / 2.66 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/4.259, allocations: 16 kB / 2.66 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.157e-05/4.259, allocations: 24.97 kB / 2.66 GB, free: 157 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/4.259, allocations: 7.812 kB / 2.66 GB, free: 157 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001416/4.259, allocations: 157.3 kB / 2.66 GB, free: 156.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007388/4.26, allocations: 159 kB / 2.66 GB, free: 156.9 MB / 0.6042 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.001846/4.262, allocations: 1.185 MB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003082/4.262, allocations: 147.9 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/4.262, allocations: 0 / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/4.262, allocations: 89.83 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/4.263, allocations: 114.1 kB / 2.661 GB, free: 156.7 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009184/4.264, allocations: 465 kB / 2.662 GB, free: 156.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/4.264, allocations: 0.815 MB / 2.663 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/4.264, allocations: 3.062 kB / 2.663 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01802/4.282, allocations: 10.42 MB / 2.673 GB, free: 155.2 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)