Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU") translateModel(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU") [: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 8.0.1-maint.8.0.x/package.mo): time 1.501/1.501, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001356, allocations: 185.3 kB / 361.1 MB, free: 7.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009452/0.0009452, allocations: 90.48 kB / 0.7326 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.867e-06, allocations: 0 / 0.8511 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6777/0.6777, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.588, allocations: 465.1 MB / 1.418 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/1.588, allocations: 100.9 kB / 1.418 GB, free: 100.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.208/6.796, allocations: 1.258 GB / 2.676 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.002032/6.798, allocations: 139.8 kB / 2.676 GB, free: 1.352 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 684 * Number of variables: 684 Notification: Performance of Generate backend data structure: time 0.02835/6.827, allocations: 5.612 MB / 2.682 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/6.827, allocations: 8.531 kB / 2.682 GB, free: 11.65 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006878/6.834, allocations: 0.718 MB / 2.683 GB, free: 10.93 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.829/7.663, allocations: 30.82 MB / 2.713 GB, free: 180.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/7.663, allocations: 90.62 kB / 2.713 GB, free: 180.5 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001442/7.664, allocations: 210.8 kB / 2.713 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006222/7.67, allocations: 3.081 MB / 2.716 GB, free: 180.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00643/7.677, allocations: 3.677 MB / 2.72 GB, free: 180 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/7.677, allocations: 5.469 kB / 2.72 GB, free: 180 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/7.677, allocations: 5.906 kB / 2.72 GB, free: 180 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.129e-05/7.677, allocations: 68.91 kB / 2.72 GB, free: 180 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03886/7.716, allocations: 21.49 MB / 2.741 GB, free: 173 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/7.721, allocations: 2.702 MB / 2.743 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/7.723, allocations: 1.602 MB / 2.745 GB, free: 172.9 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01743/7.74, allocations: 9.72 MB / 2.754 GB, free: 169.8 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/7.742, allocations: 1.419 MB / 2.756 GB, free: 169.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=171): time 4.959e-06/7.742, allocations: 2.906 kB / 2.756 GB, free: 169.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=171): time 0.007389/7.75, allocations: 2.988 MB / 2.759 GB, free: 169.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/7.75, allocations: 133.2 kB / 2.759 GB, free: 169.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01774/7.768, allocations: 7.958 MB / 2.767 GB, free: 168.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001046/7.769, allocations: 28.64 kB / 2.767 GB, free: 168.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003164/7.772, allocations: 1.476 MB / 2.768 GB, free: 168.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.002926/7.775, allocations: 0.6099 MB / 2.769 GB, free: 168 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/7.775, allocations: 3.562 kB / 2.769 GB, free: 168 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003878/7.776, allocations: 462.7 kB / 2.769 GB, free: 167.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/7.779, allocations: 2.017 MB / 2.771 GB, free: 167.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003698/7.782, allocations: 3.551 MB / 2.774 GB, free: 165.8 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/7.787, allocations: 2.713 MB / 2.777 GB, free: 165.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.05e-05/7.787, allocations: 15.47 kB / 2.777 GB, free: 165.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01358/7.8, allocations: 5.96 MB / 2.783 GB, free: 165.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.007968/7.808, allocations: 24.51 MB / 2.807 GB, free: 140.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/7.809, allocations: 51.48 kB / 2.807 GB, free: 140.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/7.81, allocations: 252.9 kB / 2.807 GB, free: 140.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005092/7.815, allocations: 0.9279 MB / 2.808 GB, free: 140.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/7.819, allocations: 4.667 MB / 2.813 GB, free: 136.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01141/7.831, allocations: 1.18 MB / 2.814 GB, free: 136.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001479/7.832, allocations: 179.4 kB / 2.814 GB, free: 136.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/7.832, allocations: 5.375 kB / 2.814 GB, free: 136.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01737/7.85, allocations: 5.384 MB / 2.819 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/7.85, allocations: 55.69 kB / 2.819 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/7.851, allocations: 249.9 kB / 2.82 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004847/7.856, allocations: 0.9216 MB / 2.82 GB, free: 136.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004302/7.86, allocations: 4.668 MB / 2.825 GB, free: 132.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/7.871, allocations: 1.1 MB / 2.826 GB, free: 132.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/7.873, allocations: 188.6 kB / 2.826 GB, free: 132.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (431): * Single equations (assignments): 427 * Array equations: 0 * Algorithm blocks: 1 * 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: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002117/7.875, allocations: 232.3 kB / 2.826 GB, free: 132.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003297/7.878, allocations: 0.5334 MB / 2.827 GB, free: 132.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/7.889, allocations: 3.37 MB / 2.83 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/7.889, allocations: 25.42 kB / 2.83 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/7.889, allocations: 6.688 kB / 2.83 GB, free: 132.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00487/7.894, allocations: 2.799 MB / 2.833 GB, free: 131.6 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/7.922, allocations: 9.516 MB / 2.842 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/7.922, allocations: 0 / 2.842 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002493/7.924, allocations: 430.2 kB / 2.843 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007926/7.925, allocations: 180.8 kB / 2.843 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005087/7.926, allocations: 76.55 kB / 2.843 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003802/7.93, allocations: 4.587 MB / 2.847 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/7.93, allocations: 0 / 2.847 GB, free: 127.4 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01075/7.94, allocations: 4.792 MB / 2.852 GB, free: 126.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008355/7.949, allocations: 4.782 MB / 2.857 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003612/7.952, allocations: 57.45 kB / 2.857 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007673/7.96, allocations: 0.5322 MB / 2.857 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007221/7.961, allocations: 98.56 kB / 2.857 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005469/7.961, allocations: 71.03 kB / 2.858 GB, free: 123.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.01693/7.978, allocations: 5.854 MB / 2.863 GB, free: 123.1 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.02149/8, allocations: 3.186 MB / 2.866 GB, free: 122.8 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 30 (sla1.vol[1].dynBal.U,sla1.con_a[1].lay[1].T[1],sla1.con_a[1].lay[1].T[2],sla1.con_a[1].lay[1].T[3],sla1.con_a[1].lay[1].T[4],sla1.con_a[1].lay[1].T[5],sla1.con_b[1].lay[1].T[1],sla1.con_b[1].lay[2].T[1],sla1.con_b[1].lay[2].T[2],sla2.vol[1].dynBal.U,sla2.con_a[1].lay[1].T[1],sla2.con_a[1].lay[1].T[2],sla2.con_a[1].lay[1].T[3],sla2.con_a[1].lay[1].T[4],sla2.con_a[1].lay[1].T[5],sla2.con_b[1].lay[1].T[1],sla2.con_b[1].lay[2].T[1],sla2.con_b[1].lay[2].T[2],sla3.sla.vol[1].dynBal.U,sla3.sla.con_a[1].lay[1].T[1],sla3.sla.con_a[1].lay[1].T[2],sla3.sla.con_a[1].lay[1].T[3],sla3.sla.con_a[1].lay[1].T[4],sla3.sla.con_a[1].lay[1].T[5],sla3.sla.con_b[1].lay[1].T[1],sla3.sla.con_b[1].lay[2].T[1],sla3.sla.con_b[1].lay[2].T[2],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00565/8.006, allocations: 1.727 MB / 2.868 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.01593/8.022, allocations: 7.512 MB / 2.875 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.408e-05/8.022, allocations: 0 / 2.875 GB, free: 121.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.003171/8.025, allocations: 1.628 MB / 2.877 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01579/8.041, allocations: 2.091 MB / 2.879 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/8.083, allocations: 12.29 MB / 2.891 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01511/8.098, allocations: 4.829 MB / 2.896 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of SimCode: time 2.265e-06/8.098, allocations: 0 / 2.896 GB, free: 118.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.2786/8.377, allocations: 125.1 MB / 3.018 GB, free: 100.6 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)