Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.8219/0.8219, allocations: 141.8 MB / 149.1 MB, free: 4.035 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 189.7 kB / 181.9 MB, free: 15.77 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.4 MB / 436 MB, free: 8.945 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 97.17 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 277.7 kB / 0.5884 GB, free: 11.91 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.615e-06/7.655e-06, allocations: 0 / 0.6759 GB, free: 2.293 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4582/0.4582, allocations: 82.76 MB / 0.7567 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.344/4.802, allocations: 1.941 GB / 2.698 GB, free: 131.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/4.803, allocations: 83.98 kB / 2.698 GB, free: 131.6 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.314/6.117, allocations: 400.1 MB / 3.089 GB, free: 7.188 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 5.831e-05/6.117, allocations: 16 kB / 3.089 GB, free: 7.172 MB / 0.6982 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.002421/6.119, allocations: 0.8686 MB / 3.089 GB, free: 6.258 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/6.119, allocations: 12.03 kB / 3.089 GB, free: 6.246 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/6.121, allocations: 295 kB / 3.09 GB, free: 5.957 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/6.122, allocations: 484.1 kB / 3.09 GB, free: 5.438 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003339/6.123, allocations: 100.9 kB / 3.09 GB, free: 5.34 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/6.123, allocations: 24 kB / 3.09 GB, free: 5.316 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007784/6.124, allocations: 389.9 kB / 3.091 GB, free: 4.938 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/6.124, allocations: 497.2 kB / 3.091 GB, free: 4.418 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/6.124, allocations: 3.984 kB / 3.091 GB, free: 4.414 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-05/6.125, allocations: 4 kB / 3.091 GB, free: 4.41 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/6.125, allocations: 21 kB / 3.091 GB, free: 4.387 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/6.128, allocations: 2.064 MB / 3.093 GB, free: 2.23 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/6.128, allocations: 146.5 kB / 3.093 GB, free: 2.078 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/6.129, allocations: 88.83 kB / 3.093 GB, free: 1.988 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 3.452e-05/6.129, allocations: 0 / 3.093 GB, free: 1.988 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/6.129, allocations: 42.5 kB / 3.093 GB, free: 1.938 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/6.129, allocations: 0 / 3.093 GB, free: 1.938 MB / 0.6982 GB Notification: Performance of matching and sorting (n=11): time 0.001848/6.13, allocations: 437.9 kB / 3.094 GB, free: 1.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/6.131, allocations: 81.11 kB / 3.094 GB, free: 1.402 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/6.131, allocations: 345 kB / 3.094 GB, free: 1.062 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/6.131, allocations: 25.7 kB / 3.094 GB, free: 1.031 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/6.131, allocations: 270.8 kB / 3.095 GB, free: 0.7617 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/6.131, allocations: 31.55 kB / 3.095 GB, free: 0.7305 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.856e-05/6.131, allocations: 0 / 3.095 GB, free: 0.7305 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.277e-05/6.131, allocations: 350.7 kB / 3.095 GB, free: 388 kB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/6.131, allocations: 108 kB / 3.095 GB, free: 280 kB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/6.132, allocations: 194.9 kB / 3.095 GB, free: 44 kB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3996/6.531, allocations: 133.5 kB / 3.095 GB, free: 234.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/6.531, allocations: 0 / 3.095 GB, free: 234.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002039/6.533, allocations: 0.5437 MB / 3.096 GB, free: 234.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/6.533, allocations: 7.281 kB / 3.096 GB, free: 234.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/6.533, allocations: 0 / 3.096 GB, free: 234.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004478/6.534, allocations: 131.9 kB / 3.096 GB, free: 234.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003853/6.534, allocations: 86.94 kB / 3.096 GB, free: 234.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/6.537, allocations: 1.736 MB / 3.098 GB, free: 233.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/6.537, allocations: 73.5 kB / 3.098 GB, free: 233.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/6.537, allocations: 16.78 kB / 3.098 GB, free: 233.6 MB / 0.6982 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.0002309/6.538, allocations: 117.5 kB / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/6.538, allocations: 38.53 kB / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/6.538, allocations: 45 kB / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/6.538, allocations: 0 / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/6.538, allocations: 0 / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/6.538, allocations: 0 / 3.098 GB, free: 233.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002268/6.54, allocations: 0.9034 MB / 3.099 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/6.54, allocations: 7.875 kB / 3.099 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002382/6.54, allocations: 49.98 kB / 3.099 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003086/6.541, allocations: 126.2 kB / 3.099 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/6.541, allocations: 0 / 3.099 GB, free: 233.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/6.543, allocations: 1.738 MB / 3.101 GB, free: 232 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/6.543, allocations: 3.609 kB / 3.101 GB, free: 232 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001698/6.545, allocations: 0.5527 MB / 3.101 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/6.545, allocations: 147.8 kB / 3.101 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.105e-05/6.545, allocations: 7.844 kB / 3.101 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/6.546, allocations: 67.33 kB / 3.102 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/6.546, allocations: 10.06 kB / 3.102 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.434e-05/6.546, allocations: 16.78 kB / 3.102 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003325/6.546, allocations: 265.7 kB / 3.102 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001153/6.547, allocations: 252.9 kB / 3.102 GB, free: 231.6 MB / 0.6982 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.002016/6.549, allocations: 1.143 MB / 3.103 GB, free: 231.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008107/6.55, allocations: 344.7 kB / 3.103 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/6.55, allocations: 0 / 3.103 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002788/6.551, allocations: 193.1 kB / 3.104 GB, free: 231.2 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/6.552, allocations: 176.4 kB / 3.104 GB, free: 231.2 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/6.555, allocations: 0.7247 MB / 3.105 GB, free: 231 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006219/6.555, allocations: 0.9093 MB / 3.105 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of SimCode: time 1.563e-06/6.555, allocations: 2.062 kB / 3.105 GB, free: 230.3 MB / 0.6982 GB Notification: Performance of Templates: time 0.02933/6.585, allocations: 14.43 MB / 3.12 GB, free: 230.1 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)