Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.364/2.364, allocations: 284.9 MB / 292.2 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 177.3 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.96/1.96, allocations: 205.2 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001252/0.001252, allocations: 93.75 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.121e-05/2.142e-05, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6075/0.6076, allocations: 115.2 MB / 0.9628 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.044/5.652, allocations: 2.07 GB / 3.033 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/5.652, allocations: 88.78 kB / 3.033 GB, free: 272.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.713/7.365, allocations: 389.7 MB / 3.414 GB, free: 256.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.083e-05/7.365, allocations: 16.69 kB / 3.414 GB, free: 256.1 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.002193/7.367, allocations: 0.8789 MB / 3.415 GB, free: 255.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/7.367, allocations: 10.81 kB / 3.415 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/7.37, allocations: 284.9 kB / 3.415 GB, free: 255.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/7.371, allocations: 488.9 kB / 3.415 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006276/7.372, allocations: 88.42 kB / 3.415 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/7.372, allocations: 36.59 kB / 3.415 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001193/7.373, allocations: 391.1 kB / 3.416 GB, free: 255.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/7.375, allocations: 495.3 kB / 3.416 GB, free: 255.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/7.375, allocations: 2.656 kB / 3.416 GB, free: 255.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-05/7.375, allocations: 0 / 3.416 GB, free: 255.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/7.375, allocations: 23.52 kB / 3.416 GB, free: 255.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/7.38, allocations: 2.064 MB / 3.418 GB, free: 254.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/7.381, allocations: 145.1 kB / 3.418 GB, free: 254.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/7.381, allocations: 91.31 kB / 3.418 GB, free: 254.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/7.381, allocations: 4.016 kB / 3.418 GB, free: 254.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/7.381, allocations: 43.16 kB / 3.419 GB, free: 254.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 3.347e-06/7.381, allocations: 2.844 kB / 3.419 GB, free: 254.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.003181/7.384, allocations: 435.3 kB / 3.419 GB, free: 254.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/7.384, allocations: 80.55 kB / 3.419 GB, free: 254.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006252/7.385, allocations: 350.4 kB / 3.419 GB, free: 254 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/7.385, allocations: 25.7 kB / 3.419 GB, free: 254 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/7.385, allocations: 260.5 kB / 3.42 GB, free: 253.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/7.385, allocations: 40.55 kB / 3.42 GB, free: 253.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/7.385, allocations: 0 / 3.42 GB, free: 253.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/7.386, allocations: 347.8 kB / 3.42 GB, free: 253.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000287/7.386, allocations: 109.4 kB / 3.42 GB, free: 253.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/7.386, allocations: 189.8 kB / 3.42 GB, free: 253.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/7.387, allocations: 132.4 kB / 3.42 GB, free: 253.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/7.387, allocations: 3.688 kB / 3.42 GB, free: 253.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00323/7.39, allocations: 0.5465 MB / 3.421 GB, free: 253.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/7.39, allocations: 11.69 kB / 3.421 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/7.39, allocations: 3.312 kB / 3.421 GB, free: 253.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/7.391, allocations: 127.5 kB / 3.421 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/7.391, allocations: 85.14 kB / 3.421 GB, free: 253.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/7.395, allocations: 1.732 MB / 3.423 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/7.396, allocations: 75.17 kB / 3.423 GB, free: 252.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/7.396, allocations: 15.59 kB / 3.423 GB, free: 252.1 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.000217/7.397, allocations: 114.5 kB / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/7.397, allocations: 38.62 kB / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/7.397, allocations: 43.11 kB / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/7.397, allocations: 0 / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/7.397, allocations: 3.688 kB / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/7.397, allocations: 3.844 kB / 3.423 GB, free: 252 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/7.401, allocations: 0.8948 MB / 3.424 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/7.401, allocations: 0 / 3.424 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/7.401, allocations: 53.2 kB / 3.424 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005188/7.402, allocations: 122.9 kB / 3.424 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/7.402, allocations: 8.25 kB / 3.424 GB, free: 251.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003551/7.405, allocations: 1.732 MB / 3.426 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/7.405, allocations: 3.812 kB / 3.426 GB, free: 250.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003064/7.408, allocations: 0.556 MB / 3.426 GB, free: 250.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/7.409, allocations: 156.8 kB / 3.427 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/7.409, allocations: 3.906 kB / 3.427 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/7.41, allocations: 63.89 kB / 3.427 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/7.41, allocations: 6.891 kB / 3.427 GB, free: 250.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/7.41, allocations: 11.12 kB / 3.427 GB, free: 250.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004306/7.41, allocations: 266.9 kB / 3.427 GB, free: 250.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001326/7.412, allocations: 258.5 kB / 3.427 GB, free: 250.1 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.001914/7.414, allocations: 1.149 MB / 3.428 GB, free: 249.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001131/7.415, allocations: 335.5 kB / 3.429 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/7.415, allocations: 1.156 kB / 3.429 GB, free: 249.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004924/7.415, allocations: 209.9 kB / 3.429 GB, free: 249.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/7.417, allocations: 178 kB / 3.429 GB, free: 249.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/7.422, allocations: 0.7109 MB / 3.43 GB, free: 249.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006825/7.423, allocations: 0.9089 MB / 3.431 GB, free: 248.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/7.423, allocations: 0 / 3.431 GB, free: 248.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03845/7.462, allocations: 14.41 MB / 3.445 GB, free: 248.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)