Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed") [: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 1.6.0+build.1/package.mo): time 0.4939/0.4939, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001372/0.001372, allocations: 179 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.343/1.343, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001671/0.001671, allocations: 113.7 kB / 381 MB, free: 18.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.077e-06, allocations: 0 / 448.6 MB, free: 2.137 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 61.51 MB / 0.4981 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.48, allocations: 415.1 MB / 0.9035 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003898/1.481, allocations: 89.83 kB / 0.9035 GB, free: 189.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.255/8.736, allocations: 1.846 GB / 2.75 GB, free: 22.57 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001871/8.738, allocations: 170.5 kB / 2.75 GB, free: 22.53 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 939 * Number of variables: 939 Notification: Performance of Generate backend data structure: time 0.02469/8.763, allocations: 5.007 MB / 2.755 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.029e-05/8.763, allocations: 9.062 kB / 2.755 GB, free: 20.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007648/8.77, allocations: 0.7232 MB / 2.756 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0275/8.798, allocations: 6.22 MB / 2.762 GB, free: 18.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005479/8.798, allocations: 453 kB / 2.762 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009325/8.799, allocations: 238.6 kB / 2.762 GB, free: 18.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00697/8.806, allocations: 2.434 MB / 2.765 GB, free: 18.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008896/8.815, allocations: 3.431 MB / 2.768 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/8.815, allocations: 8.375 kB / 2.768 GB, free: 17.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005294/8.816, allocations: 12.41 kB / 2.768 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001541/8.816, allocations: 96.44 kB / 2.768 GB, free: 17.63 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03471/8.851, allocations: 20.88 MB / 2.789 GB, free: 5.59 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/8.853, allocations: 1.057 MB / 2.79 GB, free: 5.562 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/8.854, allocations: 1.076 MB / 2.791 GB, free: 5.543 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005476/8.86, allocations: 5.746 MB / 2.796 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.968e-05/8.86, allocations: 62.41 kB / 2.796 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=212): time 6.372e-06/8.86, allocations: 3.344 kB / 2.796 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=288): time 0.04718/8.907, allocations: 11.7 MB / 2.808 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/8.907, allocations: 133.2 kB / 2.808 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005776/8.913, allocations: 2.977 MB / 2.811 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0007329/8.914, allocations: 32.7 kB / 2.811 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001595/8.916, allocations: 1.617 MB / 2.812 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/8.917, allocations: 0.9484 MB / 2.813 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/8.917, allocations: 0 / 2.813 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002755/8.917, allocations: 437.5 kB / 2.814 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001809/8.919, allocations: 0.97 MB / 2.815 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/8.922, allocations: 2.054 MB / 2.817 GB, free: 8.637 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007181/8.929, allocations: 2.054 MB / 2.819 GB, free: 8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-05/8.929, allocations: 7.344 kB / 2.819 GB, free: 8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.01406/8.943, allocations: 4.475 MB / 2.823 GB, free: 4.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004774/8.948, allocations: 11.86 MB / 2.835 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.689e-05/8.948, allocations: 24 kB / 2.835 GB, free: 7.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002187/8.95, allocations: 0.934 MB / 2.836 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/8.953, allocations: 0.6387 MB / 2.836 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00671/8.96, allocations: 5.857 MB / 2.842 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006466/8.966, allocations: 350.6 kB / 2.842 GB, free: 496 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007284/8.967, allocations: 171.7 kB / 2.842 GB, free: 344 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/8.967, allocations: 4 kB / 2.842 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4978/9.465, allocations: 4.513 MB / 2.847 GB, free: 84.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/9.465, allocations: 30.5 kB / 2.847 GB, free: 84.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/9.466, allocations: 0.5639 MB / 2.847 GB, free: 84.29 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/9.468, allocations: 0.6333 MB / 2.848 GB, free: 84.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/9.48, allocations: 13.89 MB / 2.862 GB, free: 74.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005968/9.486, allocations: 317.1 kB / 2.862 GB, free: 74.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007095/9.486, allocations: 148.7 kB / 2.862 GB, free: 74.32 MB / 0.6355 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_6.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.hea6.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_2.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.res_11.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 332 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 9,1 9,1 12,1 12,1 9,1 9,1 12,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001332/9.488, allocations: 212.1 kB / 2.862 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/9.49, allocations: 497.7 kB / 2.863 GB, free: 74.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/9.502, allocations: 5.19 MB / 2.868 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.293e-05/9.503, allocations: 44.8 kB / 2.868 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/9.503, allocations: 0 / 2.868 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/9.503, allocations: 16.98 kB / 2.868 GB, free: 73.97 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0245/9.527, allocations: 9.469 MB / 2.877 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/9.527, allocations: 0 / 2.877 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/9.529, allocations: 445.9 kB / 2.878 GB, free: 72.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/9.53, allocations: 0.7269 MB / 2.878 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/9.531, allocations: 55.16 kB / 2.878 GB, free: 72.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004652/9.535, allocations: 5.386 MB / 2.884 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/9.535, allocations: 0 / 2.884 GB, free: 68.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01398/9.549, allocations: 5.85 MB / 2.889 GB, free: 68.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003866/9.553, allocations: 0.5653 MB / 2.89 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002524/9.556, allocations: 0 / 2.89 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006518/9.562, allocations: 391.5 kB / 2.89 GB, free: 67.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/9.563, allocations: 167.8 kB / 2.89 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007521/9.563, allocations: 160.8 kB / 2.891 GB, free: 67.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.007009/9.57, allocations: 2.188 MB / 2.893 GB, free: 67.46 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02169/9.592, allocations: 2.904 MB / 2.895 GB, free: 67.46 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hea1.vol.dynBal.medium.T,hea2.vol.dynBal.medium.T,hea3.vol.dynBal.medium.T,hea4.vol.dynBal.medium.T,mix1.dynBal.medium.T,hea5.vol.dynBal.medium.T,hea6.vol.dynBal.medium.T,hea7.vol.dynBal.medium.T,hea8.vol.dynBal.medium.T,mix2.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 5,1 7,1 7,1 10,1 5,1 7,1 7,1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/9.603, allocations: 3.345 MB / 2.899 GB, free: 66.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01369/9.616, allocations: 5.59 MB / 2.904 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/9.616, allocations: 5.469 kB / 2.904 GB, free: 65.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003785/9.62, allocations: 1.588 MB / 2.906 GB, free: 65.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01901/9.639, allocations: 2.245 MB / 2.908 GB, free: 65.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02957/9.669, allocations: 7.258 MB / 2.915 GB, free: 63.74 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008572/9.677, allocations: 3.363 MB / 2.918 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of SimCode: time 3.477e-06/9.678, allocations: 0 / 2.918 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of Templates: time 0.2519/9.929, allocations: 132.5 MB / 3.048 GB, free: 44.98 MB / 0.6355 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.HeaterCoolerPrescribed.pipe 2>&1)