Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.451/1.451, allocations: 285.5 MB / 292.8 MB, free: 1.117 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 185.7 kB / 361.1 MB, free: 15.43 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 0.6195 GB, free: 6.129 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008506, allocations: 94.45 kB / 0.7326 GB, free: 46.98 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.965e-06, allocations: 0 / 0.851 GB, free: 13.06 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7097/0.7097, allocations: 115.3 MB / 0.9636 GB, free: 85.86 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/5.05, allocations: 2.07 GB / 3.034 GB, free: 42.59 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/5.05, allocations: 89.36 kB / 3.034 GB, free: 42.51 MB / 0.9405 GB Notification: Performance of FrontEnd: time 1.382/6.433, allocations: 389.7 MB / 3.415 GB, free: 28.25 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 8.96e-05/6.433, allocations: 15.98 kB / 3.415 GB, free: 28.23 MB / 0.9405 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.002884/6.436, allocations: 0.8803 MB / 3.416 GB, free: 27.3 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/6.436, allocations: 8.031 kB / 3.416 GB, free: 27.3 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002155/6.438, allocations: 291 kB / 3.416 GB, free: 27.01 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/6.439, allocations: 484.2 kB / 3.416 GB, free: 26.5 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/6.44, allocations: 92.88 kB / 3.416 GB, free: 26.41 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/6.44, allocations: 24 kB / 3.416 GB, free: 26.38 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008981/6.441, allocations: 393.9 kB / 3.417 GB, free: 26 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/6.442, allocations: 497.2 kB / 3.417 GB, free: 25.48 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/6.442, allocations: 3.938 kB / 3.417 GB, free: 25.48 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/6.442, allocations: 7.922 kB / 3.417 GB, free: 25.47 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/6.442, allocations: 24.98 kB / 3.417 GB, free: 25.45 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/6.446, allocations: 2.068 MB / 3.419 GB, free: 23.28 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/6.446, allocations: 146.5 kB / 3.419 GB, free: 23.12 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/6.446, allocations: 84.83 kB / 3.42 GB, free: 23.04 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/6.446, allocations: 0 / 3.42 GB, free: 23.04 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/6.446, allocations: 38.56 kB / 3.42 GB, free: 22.99 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/6.446, allocations: 0 / 3.42 GB, free: 22.99 MB / 0.9405 GB Notification: Performance of matching and sorting (n=11): time 0.001886/6.448, allocations: 441.9 kB / 3.42 GB, free: 22.55 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/6.448, allocations: 81.09 kB / 3.42 GB, free: 22.45 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/6.448, allocations: 345 kB / 3.42 GB, free: 22.11 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 5.891e-05/6.448, allocations: 29.7 kB / 3.42 GB, free: 22.08 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/6.449, allocations: 266.9 kB / 3.421 GB, free: 21.81 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/6.449, allocations: 43.45 kB / 3.421 GB, free: 21.77 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/6.449, allocations: 0 / 3.421 GB, free: 21.77 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/6.449, allocations: 342.8 kB / 3.421 GB, free: 21.43 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/6.449, allocations: 108.7 kB / 3.421 GB, free: 21.32 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/6.449, allocations: 190.5 kB / 3.421 GB, free: 21.1 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/6.449, allocations: 139.6 kB / 3.421 GB, free: 20.96 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/6.449, allocations: 7.938 kB / 3.421 GB, free: 20.96 MB / 0.9405 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001759/6.451, allocations: 0.5394 MB / 3.422 GB, free: 20.41 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/6.451, allocations: 5.406 kB / 3.422 GB, free: 20.41 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/6.451, allocations: 4 kB / 3.422 GB, free: 20.4 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004146/6.452, allocations: 128.9 kB / 3.422 GB, free: 20.27 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/6.452, allocations: 79.88 kB / 3.422 GB, free: 20.2 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/6.454, allocations: 1.736 MB / 3.424 GB, free: 18.34 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/6.455, allocations: 75.77 kB / 3.424 GB, free: 18.27 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.315e-05/6.455, allocations: 12 kB / 3.424 GB, free: 18.25 MB / 0.9405 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.0001692/6.455, allocations: 116.7 kB / 3.424 GB, free: 18.13 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/6.455, allocations: 39.53 kB / 3.424 GB, free: 18.09 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/6.455, allocations: 43.22 kB / 3.424 GB, free: 18.05 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/6.455, allocations: 3.938 kB / 3.424 GB, free: 18.05 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/6.455, allocations: 0 / 3.424 GB, free: 18.05 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/6.455, allocations: 3.906 kB / 3.424 GB, free: 18.05 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/6.457, allocations: 0.8993 MB / 3.425 GB, free: 17.09 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.457, allocations: 0 / 3.425 GB, free: 17.09 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/6.458, allocations: 55.95 kB / 3.425 GB, free: 17.04 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002977/6.458, allocations: 128.8 kB / 3.425 GB, free: 16.91 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/6.458, allocations: 7.906 kB / 3.425 GB, free: 16.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002021/6.46, allocations: 1.728 MB / 3.427 GB, free: 15.06 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.46, allocations: 0 / 3.427 GB, free: 15.06 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001621/6.462, allocations: 0.5554 MB / 3.427 GB, free: 14.47 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/6.462, allocations: 152.6 kB / 3.428 GB, free: 14.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/6.462, allocations: 4 kB / 3.428 GB, free: 14.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006175/6.463, allocations: 67.88 kB / 3.428 GB, free: 14.23 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/6.463, allocations: 7.984 kB / 3.428 GB, free: 14.22 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/6.463, allocations: 15.98 kB / 3.428 GB, free: 14.21 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.0002721/6.463, allocations: 259.2 kB / 3.428 GB, free: 13.95 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.001024/6.464, allocations: 255.5 kB / 3.428 GB, free: 13.7 MB / 0.9405 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.001682/6.466, allocations: 1.164 MB / 3.429 GB, free: 12.54 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.0006152/6.466, allocations: 337.6 kB / 3.43 GB, free: 12.2 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/6.466, allocations: 0 / 3.43 GB, free: 12.2 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.0002453/6.467, allocations: 194.4 kB / 3.43 GB, free: 12 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009297/6.468, allocations: 171.7 kB / 3.43 GB, free: 11.83 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00266/6.47, allocations: 0.7189 MB / 3.431 GB, free: 11.07 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/6.471, allocations: 0.9119 MB / 3.432 GB, free: 10.14 MB / 0.9405 GB Notification: Performance of SimCode: time 2.4e-07/6.471, allocations: 3.938 kB / 3.432 GB, free: 10.13 MB / 0.9405 GB Notification: Performance of Templates: time 0.4519/6.923, allocations: 14.4 MB / 3.446 GB, free: 352.2 MB / 0.9405 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)