Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.519/1.519, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001274/0.001274, allocations: 181.3 kB / 366.3 MB, free: 1.957 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.461/1.461, allocations: 205.2 MB / 0.6256 GB, free: 5.812 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008784/0.0008785, allocations: 97.25 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.875e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.6576, allocations: 116.3 MB / 0.9726 GB, free: 68.65 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.67/4.328, allocations: 2.061 GB / 3.034 GB, free: 42.95 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/4.328, allocations: 87.95 kB / 3.034 GB, free: 42.86 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.9505/5.278, allocations: 242.6 MB / 3.271 GB, free: 180.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.707e-05/5.279, allocations: 15.98 kB / 3.271 GB, free: 180.3 MB / 0.948 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.001216/5.28, allocations: 0.6228 MB / 3.272 GB, free: 179.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/5.28, allocations: 8.031 kB / 3.272 GB, free: 179.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/5.281, allocations: 171.3 kB / 3.272 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004873/5.282, allocations: 341.7 kB / 3.272 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/5.282, allocations: 15.94 kB / 3.272 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.713e-05/5.282, allocations: 19.98 kB / 3.272 GB, free: 179.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003192/5.282, allocations: 204.8 kB / 3.272 GB, free: 178.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003338/5.282, allocations: 249.8 kB / 3.273 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/5.282, allocations: 0 / 3.273 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/5.282, allocations: 0 / 3.273 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/5.282, allocations: 11.94 kB / 3.273 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/5.284, allocations: 1.087 MB / 3.274 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003337/5.284, allocations: 220.7 kB / 3.274 GB, free: 177.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/5.284, allocations: 103.9 kB / 3.274 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005287/5.285, allocations: 477.5 kB / 3.274 GB, free: 176.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/5.285, allocations: 34.5 kB / 3.274 GB, free: 176.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.683e-06/5.285, allocations: 0 / 3.274 GB, free: 176.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008706/5.286, allocations: 261.4 kB / 3.275 GB, free: 176.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.878e-05/5.286, allocations: 51.41 kB / 3.275 GB, free: 176.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/5.286, allocations: 201 kB / 3.275 GB, free: 176 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/5.286, allocations: 25.7 kB / 3.275 GB, free: 175.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/5.286, allocations: 136.3 kB / 3.275 GB, free: 175.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/5.286, allocations: 67 kB / 3.275 GB, free: 175.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/5.286, allocations: 0 / 3.275 GB, free: 175.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.826e-05/5.286, allocations: 334.8 kB / 3.275 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/5.286, allocations: 44.38 kB / 3.275 GB, free: 175.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/5.286, allocations: 110.2 kB / 3.276 GB, free: 175.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002177/5.287, allocations: 110.5 kB / 3.276 GB, free: 175.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/5.287, allocations: 4 kB / 3.276 GB, free: 175.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003617/5.287, allocations: 213.2 kB / 3.276 GB, free: 174.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/5.287, allocations: 11.94 kB / 3.276 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/5.287, allocations: 0 / 3.276 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/5.287, allocations: 7.906 kB / 3.276 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/5.287, allocations: 39.98 kB / 3.276 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/5.287, allocations: 12.08 kB / 3.276 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/5.287, allocations: 27.83 kB / 3.276 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/5.287, allocations: 8 kB / 3.276 GB, free: 174.8 MB / 0.948 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 7.034e-05/5.287, allocations: 111 kB / 3.276 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/5.288, allocations: 27.72 kB / 3.276 GB, free: 174.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/5.288, allocations: 231.6 kB / 3.276 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/5.288, allocations: 4 kB / 3.276 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/5.288, allocations: 3.906 kB / 3.276 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/5.288, allocations: 7.922 kB / 3.276 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/5.289, allocations: 0.6873 MB / 3.277 GB, free: 173.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/5.289, allocations: 3.938 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/5.289, allocations: 48.33 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/5.289, allocations: 4 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/5.289, allocations: 4 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/5.289, allocations: 7.938 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.289, allocations: 7.984 kB / 3.277 GB, free: 173.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005289/5.29, allocations: 0.5755 MB / 3.278 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/5.29, allocations: 120.7 kB / 3.278 GB, free: 172.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/5.29, allocations: 4 kB / 3.278 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/5.29, allocations: 15.98 kB / 3.278 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/5.29, allocations: 23.95 kB / 3.278 GB, free: 172.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/5.29, allocations: 8 kB / 3.278 GB, free: 172.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 9.663e-05/5.29, allocations: 161.2 kB / 3.278 GB, free: 172.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006102/5.291, allocations: 147.8 kB / 3.278 GB, free: 172.4 MB / 0.948 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.001626/5.292, allocations: 1.186 MB / 3.279 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002451/5.293, allocations: 131.8 kB / 3.279 GB, free: 171.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/5.293, allocations: 0 / 3.279 GB, free: 171.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/5.293, allocations: 84.73 kB / 3.28 GB, free: 171 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/5.293, allocations: 119.6 kB / 3.28 GB, free: 170.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007535/5.294, allocations: 450.7 kB / 3.28 GB, free: 170.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/5.295, allocations: 0.8137 MB / 3.281 GB, free: 169.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.31e-07/5.295, allocations: 0 / 3.281 GB, free: 169.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01488/5.309, allocations: 10.31 MB / 3.291 GB, free: 159.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)