Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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.543/1.543, allocations: 289.8 MB / 297 MB, free: 6.566 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.001095/0.001095, allocations: 181.3 kB / 366.3 MB, free: 1.918 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.397/1.397, allocations: 205.1 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.0009508/0.0009508, allocations: 92.31 kB / 0.7395 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.227e-06/9.247e-06, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6967/0.6967, allocations: 116.3 MB / 0.9725 GB, free: 68.22 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.269/5.965, allocations: 2.071 GB / 3.044 GB, free: 354.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003559/5.966, allocations: 91.09 kB / 3.044 GB, free: 354.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.451/7.417, allocations: 389.7 MB / 3.425 GB, free: 272.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.883e-05/7.417, allocations: 9.906 kB / 3.425 GB, free: 272.8 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001936/7.419, allocations: 0.8833 MB / 3.425 GB, free: 272.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/7.419, allocations: 7.25 kB / 3.425 GB, free: 272.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001606/7.421, allocations: 287.7 kB / 3.426 GB, free: 272.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/7.422, allocations: 476.9 kB / 3.426 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003222/7.422, allocations: 95.05 kB / 3.426 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/7.422, allocations: 26.12 kB / 3.426 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007602/7.423, allocations: 391.5 kB / 3.427 GB, free: 272.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008309/7.424, allocations: 0.49 MB / 3.427 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/7.424, allocations: 2.906 kB / 3.427 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/7.424, allocations: 0 / 3.427 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/7.424, allocations: 25.75 kB / 3.427 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003545/7.427, allocations: 2.052 MB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/7.428, allocations: 144 kB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/7.428, allocations: 87.55 kB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/7.428, allocations: 7.328 kB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/7.428, allocations: 37.83 kB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.164e-06/7.428, allocations: 3.812 kB / 3.429 GB, free: 271.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.001918/7.43, allocations: 439.2 kB / 3.43 GB, free: 271.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/7.43, allocations: 80.95 kB / 3.43 GB, free: 271 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003825/7.43, allocations: 349.9 kB / 3.43 GB, free: 270.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/7.43, allocations: 29.45 kB / 3.43 GB, free: 270.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/7.43, allocations: 262.9 kB / 3.431 GB, free: 270.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/7.43, allocations: 44.02 kB / 3.431 GB, free: 270.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/7.43, allocations: 0 / 3.431 GB, free: 270.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.33e-05/7.431, allocations: 342.2 kB / 3.431 GB, free: 270.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/7.431, allocations: 106 kB / 3.431 GB, free: 270.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/7.431, allocations: 189.9 kB / 3.431 GB, free: 270.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/7.431, allocations: 138.2 kB / 3.431 GB, free: 270.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/7.431, allocations: 3.75 kB / 3.431 GB, free: 270.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001782/7.433, allocations: 0.5432 MB / 3.432 GB, free: 270.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/7.433, allocations: 3.938 kB / 3.432 GB, free: 270.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/7.433, allocations: 3.938 kB / 3.432 GB, free: 270.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/7.433, allocations: 133.5 kB / 3.432 GB, free: 270.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/7.434, allocations: 77.19 kB / 3.432 GB, free: 270.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/7.436, allocations: 1.74 MB / 3.434 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006015/7.437, allocations: 79.12 kB / 3.434 GB, free: 269 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/7.437, allocations: 16.84 kB / 3.434 GB, free: 269 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001864/7.437, allocations: 113.3 kB / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.935e-05/7.437, allocations: 41 kB / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/7.437, allocations: 35.64 kB / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/7.437, allocations: 0 / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/7.437, allocations: 0 / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/7.437, allocations: 6.953 kB / 3.434 GB, free: 268.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/7.439, allocations: 0.8973 MB / 3.435 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/7.439, allocations: 0 / 3.435 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/7.44, allocations: 53.75 kB / 3.435 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003039/7.44, allocations: 129.1 kB / 3.435 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/7.44, allocations: 0 / 3.435 GB, free: 268.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/7.442, allocations: 1.736 MB / 3.437 GB, free: 267.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/7.442, allocations: 0 / 3.437 GB, free: 267.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001617/7.444, allocations: 0.5546 MB / 3.437 GB, free: 267.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/7.444, allocations: 152.4 kB / 3.437 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.885e-05/7.444, allocations: 3.25 kB / 3.437 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005802/7.444, allocations: 68.44 kB / 3.438 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/7.444, allocations: 12.12 kB / 3.438 GB, free: 267 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/7.445, allocations: 17.91 kB / 3.438 GB, free: 267 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002918/7.445, allocations: 264.2 kB / 3.438 GB, free: 267 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001023/7.446, allocations: 252.9 kB / 3.438 GB, free: 266.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/7.447, allocations: 1.151 MB / 3.439 GB, free: 266.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006525/7.448, allocations: 343.5 kB / 3.439 GB, free: 266.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/7.448, allocations: 0 / 3.439 GB, free: 266.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002392/7.448, allocations: 202.5 kB / 3.44 GB, free: 266.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008921/7.449, allocations: 173.9 kB / 3.44 GB, free: 266.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/7.452, allocations: 0.7209 MB / 3.441 GB, free: 266.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004328/7.452, allocations: 0.898 MB / 3.441 GB, free: 265.6 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/7.452, allocations: 3.75 kB / 3.441 GB, free: 265.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02364/7.476, allocations: 14.41 MB / 3.456 GB, free: 265.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)