Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.2898/0.2898, allocations: 54.4 MB / 61.68 MB, free: 11.16 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001462/0.001462, allocations: 186.9 kB / 75.38 MB, free: 1.484 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.856/1.856, allocations: 194.2 MB / 283.2 MB, free: 3.48 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001736/0.001736, allocations: 111.6 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.243e-06, allocations: 4 kB / 404.9 MB, free: 16.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1758, allocations: 57.65 MB / 462.6 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.148, allocations: 2.132 GB / 2.584 GB, free: 73.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/5.149, allocations: 87.45 kB / 2.584 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.74/5.889, allocations: 271.2 MB / 2.849 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.619e-05/5.889, allocations: 12 kB / 2.849 GB, free: 3.543 MB / 0.4948 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.001879/5.891, allocations: 0.8792 MB / 2.85 GB, free: 2.621 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/5.891, allocations: 11.97 kB / 2.85 GB, free: 2.609 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/5.892, allocations: 275 kB / 2.85 GB, free: 2.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009365/5.893, allocations: 484.1 kB / 2.851 GB, free: 1.828 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00032/5.894, allocations: 88.94 kB / 2.851 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/5.894, allocations: 24 kB / 2.851 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006687/5.894, allocations: 381.9 kB / 2.851 GB, free: 1.344 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007184/5.895, allocations: 492.4 kB / 2.851 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/5.895, allocations: 0 / 2.851 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-05/5.895, allocations: 3.906 kB / 2.851 GB, free: 0.8281 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.778e-05/5.895, allocations: 17 kB / 2.852 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2052/6.1, allocations: 2.101 MB / 2.854 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/6.101, allocations: 130.7 kB / 2.854 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/6.101, allocations: 78.42 kB / 2.854 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/6.101, allocations: 1.594 kB / 2.854 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/6.101, allocations: 38.06 kB / 2.854 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=11): time 3.186e-06/6.101, allocations: 0 / 2.854 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001692/6.103, allocations: 410.1 kB / 2.854 GB, free: 152.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/6.103, allocations: 80.25 kB / 2.854 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/6.103, allocations: 353.1 kB / 2.855 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/6.103, allocations: 27.73 kB / 2.855 GB, free: 152.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/6.103, allocations: 271.6 kB / 2.855 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/6.103, allocations: 42.92 kB / 2.855 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/6.103, allocations: 0 / 2.855 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.238e-05/6.103, allocations: 344.7 kB / 2.855 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/6.103, allocations: 92.31 kB / 2.855 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/6.104, allocations: 245.2 kB / 2.856 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/6.104, allocations: 125.9 kB / 2.856 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/6.104, allocations: 2.938 kB / 2.856 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00164/6.105, allocations: 0.5343 MB / 2.856 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/6.105, allocations: 3.5 kB / 2.856 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/6.105, allocations: 9.719 kB / 2.856 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/6.106, allocations: 132.2 kB / 2.856 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/6.106, allocations: 88.81 kB / 2.856 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/6.108, allocations: 1.721 MB / 2.858 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005889/6.109, allocations: 79.06 kB / 2.858 GB, free: 150.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/6.109, allocations: 17.45 kB / 2.858 GB, free: 150.4 MB / 0.4948 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: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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.0001576/6.109, allocations: 126.6 kB / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/6.109, allocations: 41.25 kB / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/6.109, allocations: 43.84 kB / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/6.109, allocations: 0 / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/6.109, allocations: 0.75 kB / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/6.109, allocations: 1.656 kB / 2.858 GB, free: 150.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/6.111, allocations: 0.8817 MB / 2.859 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/6.111, allocations: 2.531 kB / 2.859 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/6.112, allocations: 49.64 kB / 2.859 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/6.112, allocations: 129.6 kB / 2.859 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/6.112, allocations: 0 / 2.859 GB, free: 150 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/6.114, allocations: 1.705 MB / 2.861 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/6.114, allocations: 0 / 2.861 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001523/6.116, allocations: 0.5315 MB / 2.862 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/6.116, allocations: 156.6 kB / 2.862 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.596e-05/6.116, allocations: 7.438 kB / 2.862 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005215/6.116, allocations: 67.02 kB / 2.862 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/6.116, allocations: 7.75 kB / 2.862 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/6.116, allocations: 11.69 kB / 2.862 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002237/6.117, allocations: 265.9 kB / 2.862 GB, free: 148.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007942/6.117, allocations: 231.3 kB / 2.862 GB, free: 148.4 MB / 0.4948 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.001184/6.119, allocations: 1.138 MB / 2.863 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000495/6.119, allocations: 336 kB / 2.864 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/6.119, allocations: 0 / 2.864 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/6.119, allocations: 192.2 kB / 2.864 GB, free: 148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/6.12, allocations: 168.2 kB / 2.864 GB, free: 148 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/6.123, allocations: 0.7257 MB / 2.865 GB, free: 147.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003614/6.123, allocations: 0.9099 MB / 2.866 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.182e-06/6.123, allocations: 3.219 kB / 2.866 GB, free: 147.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.02019/6.143, allocations: 13.93 MB / 2.879 GB, free: 146.8 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)