Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.7365/0.7365, allocations: 141.8 MB / 149.1 MB, free: 3.977 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.001171/0.001171, allocations: 177.8 kB / 181.9 MB, free: 15.72 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.479/1.479, allocations: 221.3 MB / 436 MB, free: 8.883 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.001043/0.001043, allocations: 96.19 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 276.7 kB / 0.5884 GB, free: 11.88 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.423e-05/1.426e-05, allocations: 4 kB / 0.6759 GB, free: 2.238 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5738/0.5739, allocations: 82.76 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8897/1.464, allocations: 371.1 MB / 1.119 GB, free: 10.81 MB / 0.6513 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003617/1.464, allocations: 96.16 kB / 1.119 GB, free: 10.77 MB / 0.6513 GB Notification: Performance of FrontEnd: time 0.9733/2.437, allocations: 246.5 MB / 1.36 GB, free: 107.1 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001565/2.438, allocations: 27.94 kB / 1.36 GB, free: 107.1 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002975/2.441, allocations: 1.185 MB / 1.361 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/2.441, allocations: 12.02 kB / 1.361 GB, free: 105.9 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008569/2.442, allocations: 146.5 kB / 1.361 GB, free: 105.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0181/2.46, allocations: 7.769 MB / 1.369 GB, free: 97.85 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/2.46, allocations: 24 kB / 1.369 GB, free: 97.83 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002933/2.46, allocations: 48 kB / 1.369 GB, free: 97.78 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001445/2.462, allocations: 0.6559 MB / 1.37 GB, free: 97.12 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/2.463, allocations: 0.8693 MB / 1.37 GB, free: 96.2 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/2.463, allocations: 7.938 kB / 1.37 GB, free: 96.2 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/2.463, allocations: 3.984 kB / 1.37 GB, free: 96.19 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-05/2.463, allocations: 24 kB / 1.37 GB, free: 96.17 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00571/2.469, allocations: 4.505 MB / 1.375 GB, free: 91.35 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/2.469, allocations: 304.4 kB / 1.375 GB, free: 91.05 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/2.47, allocations: 253.4 kB / 1.375 GB, free: 90.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/2.47, allocations: 433.8 kB / 1.376 GB, free: 90.28 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/2.47, allocations: 38.89 kB / 1.376 GB, free: 90.23 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=40): time 3.738e-06/2.47, allocations: 0 / 1.376 GB, free: 90.23 MB / 0.6982 GB Notification: Performance of matching and sorting (n=40): time 0.001406/2.472, allocations: 0.5578 MB / 1.376 GB, free: 89.67 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/2.472, allocations: 55.41 kB / 1.376 GB, free: 89.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/2.473, allocations: 0.7895 MB / 1.377 GB, free: 88.81 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 7.776e-05/2.473, allocations: 33.64 kB / 1.377 GB, free: 88.77 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002296/2.473, allocations: 378.8 kB / 1.378 GB, free: 88.39 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/2.473, allocations: 138 kB / 1.378 GB, free: 88.26 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-05/2.473, allocations: 4 kB / 1.378 GB, free: 88.25 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 7.658e-05/2.473, allocations: 326 kB / 1.378 GB, free: 87.93 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/2.474, allocations: 217.2 kB / 1.378 GB, free: 87.72 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/2.474, allocations: 436 kB / 1.379 GB, free: 87.2 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/2.474, allocations: 321.3 kB / 1.379 GB, free: 86.88 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.82e-06/2.474, allocations: 4 kB / 1.379 GB, free: 86.88 MB / 0.6982 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001328/2.476, allocations: 0.7554 MB / 1.38 GB, free: 86.11 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004935/2.476, allocations: 2.175 MB / 1.382 GB, free: 83.77 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/2.476, allocations: 8 kB / 1.382 GB, free: 83.76 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/2.476, allocations: 60.83 kB / 1.382 GB, free: 83.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/2.477, allocations: 107.8 kB / 1.382 GB, free: 83.59 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000508/2.478, allocations: 0.6381 MB / 1.383 GB, free: 82.93 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/2.479, allocations: 95.38 kB / 1.383 GB, free: 82.84 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-05/2.479, allocations: 31.98 kB / 1.383 GB, free: 82.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/2.479, allocations: 8 kB / 1.383 GB, free: 82.8 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/2.48, allocations: 0.6172 MB / 1.383 GB, free: 82.18 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/2.48, allocations: 4 kB / 1.383 GB, free: 82.17 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/2.48, allocations: 60.81 kB / 1.383 GB, free: 82.11 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003846/2.48, allocations: 111.8 kB / 1.384 GB, free: 82 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/2.482, allocations: 1.579 MB / 1.385 GB, free: 80.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/2.483, allocations: 79.53 kB / 1.385 GB, free: 80.23 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/2.483, allocations: 31.98 kB / 1.385 GB, free: 80.2 MB / 0.6982 GB 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 (64): * Single equations (assignments): 63 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002177/2.483, allocations: 128.7 kB / 1.385 GB, free: 80.07 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/2.483, allocations: 82.97 kB / 1.385 GB, free: 79.98 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/2.485, allocations: 0.6287 MB / 1.386 GB, free: 79.35 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/2.485, allocations: 4 kB / 1.386 GB, free: 79.34 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/2.485, allocations: 4 kB / 1.386 GB, free: 79.34 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008575/2.486, allocations: 0.8124 MB / 1.387 GB, free: 78.44 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/2.488, allocations: 1.558 MB / 1.388 GB, free: 76.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/2.488, allocations: 4.125 kB / 1.388 GB, free: 76.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/2.489, allocations: 87.89 kB / 1.388 GB, free: 76.71 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/2.489, allocations: 28.78 kB / 1.388 GB, free: 76.68 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/2.489, allocations: 7.984 kB / 1.388 GB, free: 76.68 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002687/2.489, allocations: 0.568 MB / 1.389 GB, free: 76.08 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/2.489, allocations: 12 kB / 1.389 GB, free: 76.07 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001053/2.49, allocations: 0.9791 MB / 1.39 GB, free: 75.04 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/2.491, allocations: 267.9 kB / 1.39 GB, free: 74.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/2.491, allocations: 8 kB / 1.39 GB, free: 74.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/2.491, allocations: 55.83 kB / 1.39 GB, free: 74.69 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/2.492, allocations: 27.91 kB / 1.39 GB, free: 74.66 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/2.492, allocations: 27.97 kB / 1.39 GB, free: 74.64 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006305/2.492, allocations: 0.6084 MB / 1.391 GB, free: 74.04 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001971/2.494, allocations: 0.5688 MB / 1.392 GB, free: 73.46 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.000956/2.495, allocations: 406.4 kB / 1.392 GB, free: 73.07 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001517/2.497, allocations: 0.9736 MB / 1.393 GB, free: 72.09 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/2.497, allocations: 0 / 1.393 GB, free: 72.09 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0002874/2.497, allocations: 235.7 kB / 1.393 GB, free: 71.86 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002384/2.499, allocations: 0.5113 MB / 1.394 GB, free: 71.35 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/2.502, allocations: 1.634 MB / 1.395 GB, free: 69.67 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008074/2.503, allocations: 1.322 MB / 1.396 GB, free: 68.32 MB / 0.6982 GB Notification: Performance of SimCode: time 1.843e-06/2.503, allocations: 4 kB / 1.396 GB, free: 68.32 MB / 0.6982 GB Notification: Performance of Templates: time 0.03643/2.539, allocations: 21.6 MB / 1.418 GB, free: 46.92 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)