Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") [: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.864/0.864, allocations: 141.8 MB / 149.1 MB, free: 1.316 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.001509/0.00151, allocations: 189.2 kB / 182 MB, free: 0.6484 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.595/1.595, allocations: 221.4 MB / 436 MB, free: 5.406 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.001045/0.001045, allocations: 100.5 kB / 0.507 GB, free: 2.07 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001831/0.001831, allocations: 283.3 kB / 0.5885 GB, free: 47.22 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 9.127e-06/9.418e-06, allocations: 1.688 kB / 0.6759 GB, free: 59.57 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1868, allocations: 82.78 MB / 0.7567 GB, free: 0.6875 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.318, allocations: 491.8 MB / 1.237 GB, free: 142 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/1.318, allocations: 87.33 kB / 1.237 GB, free: 142 MB / 0.6982 GB Notification: Performance of FrontEnd: time 1.893/3.211, allocations: 0.5376 GB / 1.775 GB, free: 158.9 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001828/3.212, allocations: 18.88 kB / 1.775 GB, free: 158.9 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.005356/3.217, allocations: 1.157 MB / 1.776 GB, free: 157.7 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/3.217, allocations: 8.031 kB / 1.776 GB, free: 157.7 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/3.219, allocations: 146.9 kB / 1.776 GB, free: 157.5 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/3.229, allocations: 4.274 MB / 1.78 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/3.229, allocations: 18.91 kB / 1.78 GB, free: 153.4 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/3.229, allocations: 28 kB / 1.78 GB, free: 153.3 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007075/3.23, allocations: 289.9 kB / 1.781 GB, free: 153 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000793/3.231, allocations: 464.4 kB / 1.781 GB, free: 152.6 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.57e-05/3.231, allocations: 3.906 kB / 1.781 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.394e-05/3.231, allocations: 0 / 1.781 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/3.231, allocations: 12 kB / 1.781 GB, free: 152.5 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003192/3.234, allocations: 2.205 MB / 1.783 GB, free: 150.3 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/3.235, allocations: 189.3 kB / 1.783 GB, free: 150.1 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/3.235, allocations: 127 kB / 1.783 GB, free: 149.9 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/3.236, allocations: 2.301 MB / 1.786 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/3.236, allocations: 42.48 kB / 1.786 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=31): time 2.655e-06/3.236, allocations: 2.406 kB / 1.786 GB, free: 147.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=43): time 0.006244/3.243, allocations: 1.754 MB / 1.787 GB, free: 145.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.838e-05/3.243, allocations: 55.41 kB / 1.787 GB, free: 145.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/3.243, allocations: 414.8 kB / 1.788 GB, free: 144.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.453e-05/3.243, allocations: 25.7 kB / 1.788 GB, free: 144.7 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/3.243, allocations: 244.3 kB / 1.788 GB, free: 144.5 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/3.244, allocations: 153.7 kB / 1.788 GB, free: 144.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.057e-05/3.244, allocations: 0 / 1.788 GB, free: 144.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001068/3.244, allocations: 362.8 kB / 1.789 GB, free: 144 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/3.244, allocations: 142.7 kB / 1.789 GB, free: 143.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/3.244, allocations: 249.8 kB / 1.789 GB, free: 143.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009731/3.245, allocations: 251.5 kB / 1.789 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/3.245, allocations: 0 / 1.789 GB, free: 143.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001816/3.247, allocations: 0.6635 MB / 1.79 GB, free: 142.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002441/3.247, allocations: 1.131 MB / 1.791 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/3.247, allocations: 0 / 1.791 GB, free: 141.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/3.248, allocations: 184.7 kB / 1.791 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/3.248, allocations: 71.89 kB / 1.791 GB, free: 141.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/3.249, allocations: 1.415 MB / 1.793 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/3.25, allocations: 22.92 kB / 1.793 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/3.25, allocations: 43.98 kB / 1.793 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.584e-06/3.25, allocations: 0 / 1.793 GB, free: 139.7 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001458/3.252, allocations: 0.5514 MB / 1.793 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/3.252, allocations: 8.109 kB / 1.793 GB, free: 139.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004416/3.252, allocations: 185.6 kB / 1.793 GB, free: 138.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/3.252, allocations: 79.55 kB / 1.793 GB, free: 138.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001157/3.253, allocations: 1.416 MB / 1.795 GB, free: 137.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005091/3.254, allocations: 27.55 kB / 1.795 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/3.254, allocations: 39.98 kB / 1.795 GB, free: 137.3 MB / 0.6982 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002293/3.254, allocations: 126.1 kB / 1.795 GB, free: 137.2 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/3.255, allocations: 78.66 kB / 1.795 GB, free: 137.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/3.257, allocations: 0.8979 MB / 1.796 GB, free: 136.3 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/3.257, allocations: 8 kB / 1.796 GB, free: 136.2 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/3.257, allocations: 0 / 1.796 GB, free: 136.2 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/3.259, allocations: 0.7937 MB / 1.797 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/3.262, allocations: 1.485 MB / 1.798 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/3.262, allocations: 4 kB / 1.798 GB, free: 133.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/3.262, allocations: 47.91 kB / 1.798 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/3.262, allocations: 176.3 kB / 1.798 GB, free: 133.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/3.262, allocations: 4 kB / 1.798 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/3.264, allocations: 1.405 MB / 1.8 GB, free: 132.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/3.264, allocations: 7.531 kB / 1.8 GB, free: 132.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002054/3.266, allocations: 1.051 MB / 1.801 GB, free: 131.1 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003995/3.266, allocations: 212.2 kB / 1.801 GB, free: 130.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/3.266, allocations: 8 kB / 1.801 GB, free: 130.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/3.267, allocations: 22.89 kB / 1.801 GB, free: 130.9 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/3.267, allocations: 23.95 kB / 1.801 GB, free: 130.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/3.267, allocations: 27.45 kB / 1.801 GB, free: 130.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003976/3.267, allocations: 318.9 kB / 1.801 GB, free: 130.5 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002146/3.269, allocations: 0.5425 MB / 1.802 GB, free: 130 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/3.271, allocations: 0.6373 MB / 1.803 GB, free: 129.4 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001515/3.273, allocations: 0.731 MB / 1.803 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/3.273, allocations: 0 / 1.803 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005141/3.273, allocations: 291.4 kB / 1.804 GB, free: 128.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/3.275, allocations: 289.9 kB / 1.804 GB, free: 128.1 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/3.277, allocations: 0.9723 MB / 1.805 GB, free: 127.2 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007146/3.278, allocations: 1.036 MB / 1.806 GB, free: 126.2 MB / 0.6982 GB Notification: Performance of SimCode: time 4.11e-07/3.278, allocations: 0 / 1.806 GB, free: 126.2 MB / 0.6982 GB Notification: Performance of Templates: time 0.03333/3.311, allocations: 19.55 MB / 1.825 GB, free: 107.4 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)