Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") [: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.7662/0.7662, allocations: 141.8 MB / 149.1 MB, free: 3.695 MB / 123.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 188.4 kB / 181.9 MB, free: 15.46 MB / 155.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.4 MB / 436 MB, free: 8.586 MB / 331.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 92.23 kB / 0.507 GB, free: 24.24 MB / 395.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 277.6 kB / 0.5884 GB, free: 11.67 MB / 443.1 MB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.848e-06, allocations: 0 / 0.6759 GB, free: 2.02 MB / 0.5109 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.522, allocations: 82.75 MB / 0.7567 GB, free: 112.3 MB / 0.5265 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.682/5.204, allocations: 1.877 GB / 2.634 GB, free: 195.6 MB / 0.6984 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/5.204, allocations: 85.33 kB / 2.634 GB, free: 195.5 MB / 0.6984 GB Notification: Performance of FrontEnd: time 1.04/6.244, allocations: 261.9 MB / 2.89 GB, free: 192.9 MB / 0.6984 GB Notification: Performance of Transformations before backend: time 7.353e-05/6.244, allocations: 18.17 kB / 2.89 GB, free: 192.9 MB / 0.6984 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002132/6.246, allocations: 0.7835 MB / 2.891 GB, free: 192.4 MB / 0.6984 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/6.246, allocations: 9.375 kB / 2.891 GB, free: 192.4 MB / 0.6984 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/6.248, allocations: 176.7 kB / 2.891 GB, free: 192.4 MB / 0.6984 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/6.249, allocations: 0.5122 MB / 2.891 GB, free: 192 MB / 0.6984 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/6.249, allocations: 12.97 kB / 2.891 GB, free: 192 MB / 0.6984 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/6.25, allocations: 24.62 kB / 2.891 GB, free: 192 MB / 0.6984 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008218/6.25, allocations: 379.1 kB / 2.892 GB, free: 191.9 MB / 0.6984 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008861/6.251, allocations: 447.3 kB / 2.892 GB, free: 191.7 MB / 0.6984 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/6.251, allocations: 0 / 2.892 GB, free: 191.7 MB / 0.6984 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/6.251, allocations: 7 kB / 2.892 GB, free: 191.7 MB / 0.6984 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/6.251, allocations: 12.88 kB / 2.892 GB, free: 191.7 MB / 0.6984 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/6.254, allocations: 1.623 MB / 2.894 GB, free: 190.7 MB / 0.6984 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002723/6.255, allocations: 194.9 kB / 2.894 GB, free: 190.6 MB / 0.6984 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002038/6.255, allocations: 170.4 kB / 2.894 GB, free: 190.6 MB / 0.6984 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/6.255, allocations: 100.4 kB / 2.894 GB, free: 190.5 MB / 0.6984 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/6.255, allocations: 42.39 kB / 2.894 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of pre-optimization done (n=28): time 2.345e-06/6.255, allocations: 0 / 2.894 GB, free: 190.4 MB / 0.6984 GB Notification: Performance of matching and sorting (n=29): time 0.001819/6.257, allocations: 0.83 MB / 2.895 GB, free: 190 MB / 0.6984 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/6.257, allocations: 54.47 kB / 2.895 GB, free: 189.9 MB / 0.6984 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000342/6.257, allocations: 295.9 kB / 2.896 GB, free: 189.7 MB / 0.6984 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/6.257, allocations: 25.7 kB / 2.896 GB, free: 189.7 MB / 0.6984 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/6.258, allocations: 225.8 kB / 2.896 GB, free: 189.6 MB / 0.6984 GB Notification: Performance of collectInitialBindings (initialization): time 7.934e-05/6.258, allocations: 102.6 kB / 2.896 GB, free: 189.5 MB / 0.6984 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.48e-05/6.258, allocations: 0 / 2.896 GB, free: 189.5 MB / 0.6984 GB Notification: Performance of setup shared object (initialization): time 0.0001068/6.258, allocations: 347.4 kB / 2.896 GB, free: 189.2 MB / 0.6984 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/6.258, allocations: 110 kB / 2.896 GB, free: 189.1 MB / 0.6984 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/6.258, allocations: 205.3 kB / 2.896 GB, free: 189 MB / 0.6984 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/6.258, allocations: 146 kB / 2.897 GB, free: 188.9 MB / 0.6984 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/6.258, allocations: 0 / 2.897 GB, free: 188.9 MB / 0.6984 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005132/6.259, allocations: 366.5 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/6.259, allocations: 7.75 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/6.259, allocations: 3.969 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/6.259, allocations: 3.938 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/6.259, allocations: 63.78 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/6.259, allocations: 7.422 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/6.26, allocations: 24.94 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/6.26, allocations: 11.75 kB / 2.897 GB, free: 188.8 MB / 0.6984 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/6.26, allocations: 112.8 kB / 2.897 GB, free: 188.7 MB / 0.6984 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/6.26, allocations: 43.09 kB / 2.897 GB, free: 188.7 MB / 0.6984 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/6.26, allocations: 49.92 kB / 2.897 GB, free: 188.6 MB / 0.6984 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/6.26, allocations: 7.812 kB / 2.897 GB, free: 188.6 MB / 0.6984 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/6.26, allocations: 0 / 2.897 GB, free: 188.6 MB / 0.6984 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004039/6.261, allocations: 365.7 kB / 2.898 GB, free: 188.4 MB / 0.6984 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/6.262, allocations: 1.048 MB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/6.262, allocations: 3.281 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/6.262, allocations: 69.64 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/6.262, allocations: 9.953 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/6.262, allocations: 3.938 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/6.262, allocations: 3.938 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/6.262, allocations: 6.281 kB / 2.899 GB, free: 187.8 MB / 0.6984 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007464/6.263, allocations: 0.7847 MB / 2.9 GB, free: 187.2 MB / 0.6984 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/6.263, allocations: 152.8 kB / 2.9 GB, free: 187 MB / 0.6984 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/6.263, allocations: 17.61 kB / 2.9 GB, free: 187 MB / 0.6984 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004174/6.264, allocations: 31.5 kB / 2.9 GB, free: 187 MB / 0.6984 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/6.264, allocations: 15.28 kB / 2.9 GB, free: 187 MB / 0.6984 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/6.264, allocations: 24.19 kB / 2.9 GB, free: 187 MB / 0.6984 GB Notification: Performance of sort global known variables: time 0.0002347/6.264, allocations: 227.4 kB / 2.9 GB, free: 186.9 MB / 0.6984 GB Notification: Performance of remove unused functions: time 0.0008111/6.265, allocations: 190.8 kB / 2.9 GB, free: 186.9 MB / 0.6984 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/6.266, allocations: 1.09 MB / 2.901 GB, free: 186.6 MB / 0.6984 GB Notification: Performance of simCode: created initialization part: time 0.0004334/6.267, allocations: 275.7 kB / 2.901 GB, free: 186.6 MB / 0.6984 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/6.267, allocations: 0 / 2.901 GB, free: 186.6 MB / 0.6984 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/6.267, allocations: 141.5 kB / 2.902 GB, free: 186.5 MB / 0.6984 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/6.268, allocations: 240 kB / 2.902 GB, free: 186.5 MB / 0.6984 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/6.27, allocations: 0.7766 MB / 2.903 GB, free: 186.1 MB / 0.6984 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004392/6.27, allocations: 0.9341 MB / 2.904 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of SimCode: time 2.31e-07/6.27, allocations: 0 / 2.904 GB, free: 185.4 MB / 0.6984 GB Notification: Performance of Templates: time 0.02796/6.298, allocations: 13.4 MB / 2.917 GB, free: 179.2 MB / 0.6984 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)