Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [: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 1.6.0+build.1/package.mo): time 0.5497/0.5497, allocations: 94.74 MB / 102 MB, free: 4.086 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00156/0.00156, allocations: 178 kB / 125.3 MB, free: 2.426 MB / 98.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.326/1.326, allocations: 170.5 MB / 319 MB, free: 10.29 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001778/0.001779, allocations: 118.6 kB / 381 MB, free: 12.39 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.696e-06, allocations: 4 kB / 448.6 MB, free: 72.3 MB / 338.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.115, allocations: 61.52 MB / 0.4981 GB, free: 10.86 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9149/1.03, allocations: 410.4 MB / 0.8989 GB, free: 48.91 MB / 0.5183 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.03, allocations: 83.7 kB / 0.899 GB, free: 48.87 MB / 0.5183 GB Notification: Performance of FrontEnd: time 0.4251/1.455, allocations: 91.63 MB / 0.9884 GB, free: 168.4 MB / 0.5183 GB Notification: Performance of Transformations before backend: time 6.487e-05/1.455, allocations: 17.06 kB / 0.9885 GB, free: 168.4 MB / 0.5183 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001881/1.457, allocations: 0.733 MB / 0.9892 GB, free: 167.8 MB / 0.5183 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.457, allocations: 13.25 kB / 0.9892 GB, free: 167.8 MB / 0.5183 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005358/1.458, allocations: 71.31 kB / 0.9893 GB, free: 167.8 MB / 0.5183 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01523/1.473, allocations: 5.997 MB / 0.9951 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/1.473, allocations: 12.88 kB / 0.9951 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/1.473, allocations: 24.81 kB / 0.9952 GB, free: 164.6 MB / 0.5183 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008713/1.474, allocations: 282.6 kB / 0.9954 GB, free: 164.5 MB / 0.5183 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009379/1.475, allocations: 383.9 kB / 0.9958 GB, free: 164.2 MB / 0.5183 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.475, allocations: 3.906 kB / 0.9958 GB, free: 164.2 MB / 0.5183 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/1.475, allocations: 1.469 kB / 0.9958 GB, free: 164.2 MB / 0.5183 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.475, allocations: 9.406 kB / 0.9958 GB, free: 164.2 MB / 0.5183 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/1.479, allocations: 1.855 MB / 0.9976 GB, free: 162.6 MB / 0.5183 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/1.479, allocations: 179.6 kB / 0.9978 GB, free: 162.5 MB / 0.5183 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.479, allocations: 97.61 kB / 0.9979 GB, free: 162.4 MB / 0.5183 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00122/1.481, allocations: 0.9218 MB / 0.9988 GB, free: 161.5 MB / 0.5183 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.481, allocations: 41.19 kB / 0.9988 GB, free: 161.4 MB / 0.5183 GB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/1.481, allocations: 4 kB / 0.9988 GB, free: 161.4 MB / 0.5183 GB Notification: Performance of matching and sorting (n=15): time 0.0006337/1.481, allocations: 204.4 kB / 0.999 GB, free: 161.3 MB / 0.5183 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.481, allocations: 110.2 kB / 0.9991 GB, free: 161.2 MB / 0.5183 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/1.482, allocations: 318.1 kB / 0.9994 GB, free: 161 MB / 0.5183 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/1.482, allocations: 31.39 kB / 0.9995 GB, free: 161 MB / 0.5183 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/1.482, allocations: 253 kB / 0.9997 GB, free: 160.7 MB / 0.5183 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/1.482, allocations: 51.48 kB / 0.9997 GB, free: 160.7 MB / 0.5183 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.302e-05/1.482, allocations: 4 kB / 0.9997 GB, free: 160.7 MB / 0.5183 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/1.482, allocations: 343.2 kB / 1 GB, free: 160.4 MB / 0.5183 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.482, allocations: 73.23 kB / 1 GB, free: 160.3 MB / 0.5183 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/1.482, allocations: 199.3 kB / 1 GB, free: 160.1 MB / 0.5183 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/1.483, allocations: 111.5 kB / 1 GB, free: 160.1 MB / 0.5183 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/1.483, allocations: 1.312 kB / 1 GB, free: 160.1 MB / 0.5183 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007487/1.483, allocations: 351.2 kB / 1.001 GB, free: 159.9 MB / 0.5183 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.484, allocations: 5.5 kB / 1.001 GB, free: 159.9 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/1.484, allocations: 6.688 kB / 1.001 GB, free: 159.9 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002382/1.484, allocations: 59.23 kB / 1.001 GB, free: 159.9 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.484, allocations: 83.08 kB / 1.001 GB, free: 159.8 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004759/1.485, allocations: 0.6334 MB / 1.002 GB, free: 159.2 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004342/1.485, allocations: 56.91 kB / 1.002 GB, free: 159.2 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/1.485, allocations: 15.52 kB / 1.002 GB, free: 159.2 MB / 0.5183 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.485, allocations: 116.8 kB / 1.002 GB, free: 159.1 MB / 0.5183 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.091e-05/1.485, allocations: 39.5 kB / 1.002 GB, free: 159.1 MB / 0.5183 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/1.486, allocations: 220.4 kB / 1.002 GB, free: 158.9 MB / 0.5183 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.486, allocations: 2.25 kB / 1.002 GB, free: 158.9 MB / 0.5183 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.486, allocations: 0 / 1.002 GB, free: 158.9 MB / 0.5183 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.486, allocations: 1.469 kB / 1.002 GB, free: 158.9 MB / 0.5183 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003968/1.486, allocations: 339.1 kB / 1.002 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.486, allocations: 0 / 1.002 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/1.486, allocations: 41.25 kB / 1.002 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.487, allocations: 50.86 kB / 1.002 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/1.487, allocations: 9 kB / 1.002 GB, free: 158.6 MB / 0.5183 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003653/1.487, allocations: 0.6293 MB / 1.003 GB, free: 158 MB / 0.5183 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.487, allocations: 0 / 1.003 GB, free: 158 MB / 0.5183 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004453/1.487, allocations: 310.1 kB / 1.003 GB, free: 157.8 MB / 0.5183 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/1.488, allocations: 123.4 kB / 1.003 GB, free: 157.7 MB / 0.5183 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.583e-05/1.488, allocations: 0 / 1.003 GB, free: 157.7 MB / 0.5183 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/1.488, allocations: 24.11 kB / 1.003 GB, free: 157.6 MB / 0.5183 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/1.488, allocations: 8.109 kB / 1.003 GB, free: 157.6 MB / 0.5183 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/1.488, allocations: 13.08 kB / 1.003 GB, free: 157.6 MB / 0.5183 GB Notification: Performance of sort global known variables: time 0.0002743/1.488, allocations: 245.9 kB / 1.004 GB, free: 157.5 MB / 0.5183 GB Notification: Performance of remove unused functions: time 0.0007262/1.489, allocations: 167.5 kB / 1.004 GB, free: 157.4 MB / 0.5183 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006828/1.49, allocations: 300.8 kB / 1.004 GB, free: 157.3 MB / 0.5183 GB Notification: Performance of simCode: created initialization part: time 0.0004955/1.49, allocations: 204.8 kB / 1.004 GB, free: 157.2 MB / 0.5183 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.49, allocations: 0.9062 kB / 1.004 GB, free: 157.2 MB / 0.5183 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/1.491, allocations: 77.06 kB / 1.004 GB, free: 157.2 MB / 0.5183 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/1.492, allocations: 199.8 kB / 1.005 GB, free: 157.1 MB / 0.5183 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009997/1.493, allocations: 456.2 kB / 1.005 GB, free: 156.8 MB / 0.5183 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/1.493, allocations: 0.883 MB / 1.006 GB, free: 156 MB / 0.5183 GB Notification: Performance of SimCode: time 2.91e-07/1.493, allocations: 0 / 1.006 GB, free: 156 MB / 0.5183 GB Notification: Performance of Templates: time 0.01371/1.507, allocations: 8.423 MB / 1.014 GB, free: 147.7 MB / 0.5183 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)