Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.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.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7399/0.7399, allocations: 141.8 MB / 149.1 MB, free: 15.93 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 184.8 kB / 182 MB, free: 12.25 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.472/1.472, allocations: 221.3 MB / 436 MB, free: 5.012 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.001113/0.001113, allocations: 95.06 kB / 0.507 GB, free: 18.99 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 281.9 kB / 0.5885 GB, free: 6.246 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.115e-05/1.119e-05, allocations: 2.438 kB / 0.6759 GB, free: 139.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 82.79 MB / 0.7567 GB, free: 87.73 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.781/0.9886, allocations: 369.3 MB / 1.117 GB, free: 0.9023 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.989, allocations: 79.45 kB / 1.117 GB, free: 0.8633 MB / 0.6825 GB Notification: Performance of FrontEnd: time 2.701/3.69, allocations: 0.6726 GB / 1.79 GB, free: 96.03 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001813/3.69, allocations: 42.53 kB / 1.79 GB, free: 96.02 MB / 0.7138 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.003627/3.694, allocations: 1.444 MB / 1.792 GB, free: 95.2 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/3.694, allocations: 9.375 kB / 1.792 GB, free: 95.2 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/3.695, allocations: 210.7 kB / 1.792 GB, free: 95.12 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06231/3.757, allocations: 23.47 MB / 1.815 GB, free: 93.75 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004056/3.758, allocations: 109.6 kB / 1.815 GB, free: 93.75 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000282/3.758, allocations: 54.12 kB / 1.815 GB, free: 93.74 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001287/3.759, allocations: 448.1 kB / 1.815 GB, free: 93.74 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/3.761, allocations: 0.813 MB / 1.816 GB, free: 93.46 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/3.761, allocations: 7.469 kB / 1.816 GB, free: 93.46 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.995e-05/3.761, allocations: 11.2 kB / 1.816 GB, free: 93.45 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/3.761, allocations: 21.12 kB / 1.816 GB, free: 93.45 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005656/3.767, allocations: 4.333 MB / 1.82 GB, free: 90.79 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/3.767, allocations: 248.1 kB / 1.821 GB, free: 90.76 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/3.767, allocations: 140.6 kB / 1.821 GB, free: 90.75 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007408/3.768, allocations: 1.149 MB / 1.822 GB, free: 89.44 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/3.768, allocations: 36.59 kB / 1.822 GB, free: 89.4 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=29): time 2.265e-06/3.768, allocations: 0 / 1.822 GB, free: 89.4 MB / 0.7138 GB Notification: Performance of matching and sorting (n=29): time 0.001498/3.77, allocations: 456.9 kB / 1.822 GB, free: 89.29 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.418e-05/3.77, allocations: 58.59 kB / 1.822 GB, free: 89.22 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009916/3.771, allocations: 0.6532 MB / 1.823 GB, free: 89.08 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/3.771, allocations: 25.7 kB / 1.823 GB, free: 89.05 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/3.771, allocations: 438.2 kB / 1.823 GB, free: 88.79 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/3.771, allocations: 98.33 kB / 1.823 GB, free: 88.73 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/3.771, allocations: 0 / 1.823 GB, free: 88.73 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 6.964e-05/3.771, allocations: 320.1 kB / 1.824 GB, free: 88.42 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/3.771, allocations: 111.5 kB / 1.824 GB, free: 88.42 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/3.772, allocations: 315.3 kB / 1.824 GB, free: 88.17 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/3.772, allocations: 189.3 kB / 1.824 GB, free: 88.16 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/3.772, allocations: 0 / 1.824 GB, free: 88.16 MB / 0.7138 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001428/3.774, allocations: 0.5609 MB / 1.825 GB, free: 88.04 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/3.774, allocations: 7.812 kB / 1.825 GB, free: 88.04 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/3.774, allocations: 7.688 kB / 1.825 GB, free: 88.03 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004894/3.774, allocations: 126.9 kB / 1.825 GB, free: 88.01 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/3.775, allocations: 129.5 kB / 1.825 GB, free: 88 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/3.776, allocations: 1.732 MB / 1.827 GB, free: 86.44 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009169/3.777, allocations: 101.9 kB / 1.827 GB, free: 86.41 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/3.777, allocations: 33.05 kB / 1.827 GB, free: 86.41 MB / 0.7138 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.0001977/3.777, allocations: 124.1 kB / 1.827 GB, free: 86.3 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/3.777, allocations: 96.28 kB / 1.827 GB, free: 86.25 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/3.779, allocations: 0.5954 MB / 1.828 GB, free: 86.14 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/3.779, allocations: 4.812 kB / 1.828 GB, free: 86.14 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/3.779, allocations: 0 / 1.828 GB, free: 86.14 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/3.779, allocations: 3.516 kB / 1.828 GB, free: 86.14 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002815/3.782, allocations: 1.351 MB / 1.829 GB, free: 85.78 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/3.782, allocations: 1.938 kB / 1.829 GB, free: 85.78 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/3.782, allocations: 94.45 kB / 1.829 GB, free: 85.77 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/3.782, allocations: 113 kB / 1.829 GB, free: 85.75 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.154e-05/3.782, allocations: 10.78 kB / 1.829 GB, free: 85.75 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000846/3.783, allocations: 1.707 MB / 1.831 GB, free: 84.19 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/3.783, allocations: 10.5 kB / 1.831 GB, free: 84.18 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/3.785, allocations: 0.7296 MB / 1.832 GB, free: 83.82 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/3.785, allocations: 229.7 kB / 1.832 GB, free: 83.67 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/3.785, allocations: 6.75 kB / 1.832 GB, free: 83.67 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000783/3.786, allocations: 88.98 kB / 1.832 GB, free: 83.67 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/3.786, allocations: 36.05 kB / 1.832 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/3.786, allocations: 19.59 kB / 1.832 GB, free: 83.66 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.000625/3.787, allocations: 0.4923 MB / 1.833 GB, free: 83.55 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.001377/3.788, allocations: 401.8 kB / 1.833 GB, free: 83.48 MB / 0.7138 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.001309/3.79, allocations: 0.6093 MB / 1.834 GB, free: 83.31 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.0008256/3.79, allocations: 374.7 kB / 1.834 GB, free: 83.29 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.79, allocations: 0 / 1.834 GB, free: 83.29 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0003996/3.791, allocations: 218.2 kB / 1.834 GB, free: 83.27 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/3.793, allocations: 401.6 kB / 1.835 GB, free: 83.26 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/3.796, allocations: 1.237 MB / 1.836 GB, free: 82.83 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007864/3.796, allocations: 1.19 MB / 1.837 GB, free: 82.12 MB / 0.7138 GB Notification: Performance of SimCode: time 3.41e-07/3.796, allocations: 0 / 1.837 GB, free: 82.12 MB / 0.7138 GB Notification: Performance of Templates: time 0.03229/3.829, allocations: 17.24 MB / 1.854 GB, free: 75.59 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeZeroFlow.pipe 2>&1)