Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") [: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 8.1.4-maint.8.1.x/package.mo): time 1.545/1.545, allocations: 289.8 MB / 297.1 MB, free: 6.656 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.1 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009824/0.0009824, allocations: 87.98 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.367e-06/9.457e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7088, allocations: 116.3 MB / 0.9726 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9568/1.666, allocations: 399.2 MB / 1.362 GB, free: 89.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/1.666, allocations: 85.72 kB / 1.362 GB, free: 89.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.449/4.115, allocations: 0.66 GB / 2.022 GB, free: 203.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001083/4.115, allocations: 44.7 kB / 2.023 GB, free: 203.2 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: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.002214/4.117, allocations: 1.44 MB / 2.024 GB, free: 202.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/4.117, allocations: 7.562 kB / 2.024 GB, free: 202.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005109/4.118, allocations: 213.2 kB / 2.024 GB, free: 202.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05182/4.17, allocations: 23.01 MB / 2.047 GB, free: 201.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003804/4.17, allocations: 111.6 kB / 2.047 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/4.17, allocations: 56.58 kB / 2.047 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/4.171, allocations: 443.9 kB / 2.047 GB, free: 201.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/4.173, allocations: 0.8162 MB / 2.048 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.292e-05/4.173, allocations: 2.625 kB / 2.048 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/4.173, allocations: 3.906 kB / 2.048 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.297e-05/4.173, allocations: 19.28 kB / 2.048 GB, free: 201.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004388/4.177, allocations: 4.339 MB / 2.052 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00045/4.178, allocations: 244.2 kB / 2.052 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/4.178, allocations: 147.7 kB / 2.053 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006534/4.178, allocations: 1.145 MB / 2.054 GB, free: 197.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/4.178, allocations: 40.88 kB / 2.054 GB, free: 197.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=29): time 2.414e-06/4.178, allocations: 6.266 kB / 2.054 GB, free: 197.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=29): time 0.001177/4.18, allocations: 457.1 kB / 2.054 GB, free: 197.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.022e-05/4.18, allocations: 55.22 kB / 2.054 GB, free: 197 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/4.18, allocations: 0.6487 MB / 2.055 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/4.18, allocations: 33.23 kB / 2.055 GB, free: 196.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/4.181, allocations: 432.6 kB / 2.055 GB, free: 196.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/4.181, allocations: 103.9 kB / 2.055 GB, free: 196.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/4.181, allocations: 0 / 2.055 GB, free: 196.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/4.181, allocations: 331 kB / 2.056 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/4.181, allocations: 104.5 kB / 2.056 GB, free: 196.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/4.181, allocations: 312.1 kB / 2.056 GB, free: 196 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/4.182, allocations: 199.1 kB / 2.056 GB, free: 196 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.182, allocations: 0 / 2.056 GB, free: 196 MB / 0.948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00117/4.183, allocations: 0.559 MB / 2.057 GB, free: 195.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/4.183, allocations: 7.781 kB / 2.057 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/4.183, allocations: 3.844 kB / 2.057 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00048/4.183, allocations: 130.3 kB / 2.057 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/4.184, allocations: 132.7 kB / 2.057 GB, free: 195.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008728/4.185, allocations: 1.723 MB / 2.059 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007281/4.186, allocations: 103.8 kB / 2.059 GB, free: 194.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.519e-05/4.186, allocations: 34.23 kB / 2.059 GB, free: 194.3 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volQflow.heatPort.Q_flow:VARIABLE(flow=true unit = "W" ) "Heat flow rate (positive if flowing from outside into the component)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/4.186, allocations: 126.4 kB / 2.059 GB, free: 194.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/4.186, allocations: 94.84 kB / 2.059 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/4.187, allocations: 0.5898 MB / 2.06 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/4.187, allocations: 13.56 kB / 2.06 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/4.187, allocations: 0 / 2.06 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/4.187, allocations: 3.141 kB / 2.06 GB, free: 194.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/4.189, allocations: 1.353 MB / 2.061 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/4.189, allocations: 0 / 2.061 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/4.19, allocations: 89.78 kB / 2.061 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/4.19, allocations: 115.7 kB / 2.061 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/4.19, allocations: 14.31 kB / 2.061 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007511/4.191, allocations: 1.702 MB / 2.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/4.191, allocations: 0 / 2.063 GB, free: 192.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00117/4.192, allocations: 0.7428 MB / 2.064 GB, free: 191.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002943/4.192, allocations: 233.7 kB / 2.064 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/4.192, allocations: 0 / 2.064 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006793/4.193, allocations: 95.34 kB / 2.064 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/4.193, allocations: 35.34 kB / 2.064 GB, free: 191.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/4.193, allocations: 18.25 kB / 2.064 GB, free: 191.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005267/4.194, allocations: 0.4951 MB / 2.065 GB, free: 191.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00109/4.195, allocations: 395.7 kB / 2.065 GB, free: 191.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009621/4.196, allocations: 0.6098 MB / 2.066 GB, free: 191.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000697/4.197, allocations: 369.4 kB / 2.066 GB, free: 191.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/4.197, allocations: 0 / 2.066 GB, free: 191.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/4.197, allocations: 213.7 kB / 2.066 GB, free: 191.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001659/4.199, allocations: 399.4 kB / 2.066 GB, free: 191.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/4.201, allocations: 1.233 MB / 2.068 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000597/4.201, allocations: 1.192 MB / 2.069 GB, free: 190.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/4.201, allocations: 0 / 2.069 GB, free: 190.1 MB / 0.948 GB Notification: Performance of Templates: time 0.0269/4.228, allocations: 17.21 MB / 2.086 GB, free: 189.7 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)