Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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/Complex 4.0.0+maint.om/package.mo): time 0.0009688/0.0009689, allocations: 190.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4444/0.4444, allocations: 90.85 MB / 99.07 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.218/1.218, allocations: 221.4 MB / 342.8 MB, free: 5.379 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 95.39 kB / 415.5 MB, free: 9.812 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.162e-06/6.182e-06, allocations: 0 / 493.9 MB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 72.31 MB / 0.5529 GB, free: 44.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.513/3.838, allocations: 1.934 GB / 2.487 GB, free: 134.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/3.839, allocations: 88.64 kB / 2.487 GB, free: 134.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.414/5.253, allocations: 398.9 MB / 2.877 GB, free: 153.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.319e-05/5.253, allocations: 7.812 kB / 2.877 GB, free: 153.8 MB / 0.6042 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.001657/5.255, allocations: 0.8773 MB / 2.878 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/5.255, allocations: 7.781 kB / 2.878 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/5.257, allocations: 291.6 kB / 2.878 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008561/5.257, allocations: 487.6 kB / 2.878 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/5.258, allocations: 95.22 kB / 2.878 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/5.258, allocations: 25.09 kB / 2.878 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006305/5.258, allocations: 395.9 kB / 2.879 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007027/5.259, allocations: 494.1 kB / 2.879 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/5.259, allocations: 10.59 kB / 2.879 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.186e-05/5.259, allocations: 0 / 2.879 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/5.259, allocations: 22.52 kB / 2.879 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003118/5.262, allocations: 2.065 MB / 2.881 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/5.263, allocations: 152.2 kB / 2.881 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/5.263, allocations: 81.95 kB / 2.882 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/5.263, allocations: 9.281 kB / 2.882 GB, free: 152 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/5.263, allocations: 33.75 kB / 2.882 GB, free: 152 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/5.263, allocations: 224 / 2.882 GB, free: 152 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001793/5.265, allocations: 443.8 kB / 2.882 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/5.265, allocations: 77.11 kB / 2.882 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/5.265, allocations: 347.3 kB / 2.882 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/5.265, allocations: 25.7 kB / 2.882 GB, free: 151.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/5.265, allocations: 270.8 kB / 2.883 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/5.265, allocations: 37.61 kB / 2.883 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/5.265, allocations: 3.625 kB / 2.883 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.137e-05/5.265, allocations: 346.7 kB / 2.883 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/5.265, allocations: 106.8 kB / 2.883 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/5.266, allocations: 179.9 kB / 2.883 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/5.266, allocations: 135.4 kB / 2.883 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/5.266, allocations: 0 / 2.883 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00169/5.268, allocations: 0.5428 MB / 2.884 GB, free: 151 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/5.268, allocations: 3.969 kB / 2.884 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/5.268, allocations: 3.969 kB / 2.884 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/5.268, allocations: 128.9 kB / 2.884 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/5.268, allocations: 88.17 kB / 2.884 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/5.27, allocations: 1.737 MB / 2.886 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005486/5.271, allocations: 76.73 kB / 2.886 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/5.271, allocations: 15.44 kB / 2.886 GB, free: 149.8 MB / 0.6042 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.0001433/5.271, allocations: 115.3 kB / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.884e-05/5.271, allocations: 39.78 kB / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/5.271, allocations: 38.91 kB / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/5.271, allocations: 3.328 kB / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/5.271, allocations: 3.875 kB / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/5.271, allocations: 0 / 2.886 GB, free: 149.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/5.273, allocations: 0.8978 MB / 2.887 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/5.273, allocations: 0 / 2.887 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/5.274, allocations: 52.67 kB / 2.887 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/5.274, allocations: 128.6 kB / 2.887 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/5.274, allocations: 10.72 kB / 2.887 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001964/5.276, allocations: 1.717 MB / 2.889 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/5.276, allocations: 10.03 kB / 2.889 GB, free: 148.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001554/5.278, allocations: 0.5619 MB / 2.889 GB, free: 148 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/5.278, allocations: 153.1 kB / 2.89 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/5.278, allocations: 1.969 kB / 2.89 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/5.278, allocations: 66.89 kB / 2.89 GB, free: 147.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/5.278, allocations: 13.47 kB / 2.89 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/5.279, allocations: 13.06 kB / 2.89 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002455/5.279, allocations: 269.9 kB / 2.89 GB, free: 147.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009286/5.28, allocations: 255 kB / 2.89 GB, free: 147.7 MB / 0.6042 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.001451/5.281, allocations: 1.143 MB / 2.891 GB, free: 147.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000577/5.282, allocations: 344 kB / 2.892 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/5.282, allocations: 0 / 2.892 GB, free: 147.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002366/5.282, allocations: 197.7 kB / 2.892 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008663/5.283, allocations: 174.3 kB / 2.892 GB, free: 147.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/5.285, allocations: 0.7142 MB / 2.893 GB, free: 147.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/5.286, allocations: 0.9063 MB / 2.894 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of SimCode: time 2.51e-07/5.286, allocations: 2.75 kB / 2.894 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.02223/5.308, allocations: 14.42 MB / 2.908 GB, free: 146.1 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)