Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) [: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 9.1.1-maint.9.1.x/package.mo): time 1.979/1.979, allocations: 387.2 MB / 394.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 188 kB / 487 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.4 MB / 0.7819 GB, free: 6.738 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008904/0.0008904, allocations: 97.67 kB / 0.9213 GB, free: 43.66 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.296/0.2969, allocations: 148.5 MB / 1.066 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8335/1.13, allocations: 142.3 MB / 1.205 GB, free: 72.65 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/2.142, allocations: 476.7 MB / 1.671 GB, free: 135.6 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/2.142, allocations: 103 kB / 1.671 GB, free: 135.5 MB / 1.01 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 5.027/7.169, allocations: 1.289 GB / 2.96 GB, free: 151.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/7.169, allocations: 9.641 kB / 2.96 GB, free: 151.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/7.175, allocations: 0.7212 MB / 2.961 GB, free: 150.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08334/7.259, allocations: 31.98 MB / 2.992 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/7.259, allocations: 86.31 kB / 2.992 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/7.26, allocations: 219 kB / 2.992 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006383/7.267, allocations: 3.077 MB / 2.995 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/7.274, allocations: 3.698 MB / 2.999 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-05/7.274, allocations: 7.094 kB / 2.999 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003185/7.275, allocations: 7.734 kB / 2.999 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/7.275, allocations: 119.4 kB / 2.999 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03606/7.311, allocations: 21.49 MB / 3.02 GB, free: 141.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/7.315, allocations: 2.709 MB / 3.023 GB, free: 141.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002017/7.317, allocations: 1.59 MB / 3.024 GB, free: 141.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01622/7.333, allocations: 9.732 MB / 3.034 GB, free: 138.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/7.335, allocations: 1.413 MB / 3.035 GB, free: 138.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=171): time 4.237e-06/7.335, allocations: 0 / 3.035 GB, free: 138.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=171): time 0.006591/7.342, allocations: 2.997 MB / 3.038 GB, free: 137.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/7.342, allocations: 126.9 kB / 3.038 GB, free: 137.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/7.357, allocations: 7.975 MB / 3.046 GB, free: 137.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009209/7.358, allocations: 29.58 kB / 3.046 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002499/7.361, allocations: 1.485 MB / 3.047 GB, free: 136.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002749/7.363, allocations: 0.6043 MB / 3.048 GB, free: 136.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/7.364, allocations: 0 / 3.048 GB, free: 136.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003408/7.364, allocations: 466 kB / 3.048 GB, free: 135.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/7.367, allocations: 2.015 MB / 3.05 GB, free: 135.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003134/7.37, allocations: 3.562 MB / 3.054 GB, free: 133.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003907/7.374, allocations: 2.705 MB / 3.057 GB, free: 133.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/7.374, allocations: 17.2 kB / 3.057 GB, free: 133.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.01102/7.385, allocations: 5.966 MB / 3.062 GB, free: 133.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005326/7.39, allocations: 24.55 MB / 3.086 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001481/7.39, allocations: 52.12 kB / 3.086 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009238/7.391, allocations: 254.1 kB / 3.087 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004921/7.396, allocations: 0.9241 MB / 3.088 GB, free: 108.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003461/7.4, allocations: 4.661 MB / 3.092 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0111/7.411, allocations: 1.185 MB / 3.093 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/7.412, allocations: 188.2 kB / 3.093 GB, free: 104.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/7.412, allocations: 6.844 kB / 3.093 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009213/7.421, allocations: 5.375 MB / 3.099 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001382/7.422, allocations: 53.34 kB / 3.099 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006864/7.422, allocations: 252.4 kB / 3.099 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/7.426, allocations: 0.9204 MB / 3.1 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/7.429, allocations: 4.672 MB / 3.104 GB, free: 100.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009905/7.439, allocations: 1.101 MB / 3.106 GB, free: 100.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/7.44, allocations: 180.9 kB / 3.106 GB, free: 100.7 MB / 1.167 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.00169/7.442, allocations: 247.2 kB / 3.106 GB, free: 100.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002839/7.444, allocations: 0.5321 MB / 3.106 GB, free: 100.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007707/7.452, allocations: 3.372 MB / 3.11 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/7.452, allocations: 15.75 kB / 3.11 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/7.452, allocations: 9.516 kB / 3.11 GB, free: 100.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003526/7.456, allocations: 2.798 MB / 3.113 GB, free: 99.62 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02297/7.479, allocations: 9.521 MB / 3.122 GB, free: 96.77 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/7.479, allocations: 6.75 kB / 3.122 GB, free: 96.77 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002056/7.481, allocations: 419.6 kB / 3.122 GB, free: 96.76 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006571/7.482, allocations: 187.1 kB / 3.122 GB, free: 96.71 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/7.482, allocations: 71.42 kB / 3.122 GB, free: 96.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002895/7.485, allocations: 4.584 MB / 3.127 GB, free: 92.77 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/7.485, allocations: 0.5625 kB / 3.127 GB, free: 92.77 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008289/7.493, allocations: 4.794 MB / 3.132 GB, free: 90.94 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01045/7.503, allocations: 7.065 MB / 3.139 GB, free: 88.09 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0075/7.511, allocations: 4.791 MB / 3.143 GB, free: 83.97 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002965/7.514, allocations: 54.77 kB / 3.143 GB, free: 83.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006826/7.521, allocations: 0.5394 MB / 3.144 GB, free: 83.95 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/7.521, allocations: 96.92 kB / 3.144 GB, free: 83.93 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003583/7.522, allocations: 64.98 kB / 3.144 GB, free: 83.92 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.01487/7.537, allocations: 5.88 MB / 3.15 GB, free: 81.95 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02605/7.563, allocations: 3.618 MB / 3.153 GB, free: 81.1 MB / 1.167 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.006262/7.569, allocations: 1.738 MB / 3.155 GB, free: 80.63 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01572/7.585, allocations: 7.517 MB / 3.162 GB, free: 77.74 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/7.585, allocations: 2.812 kB / 3.162 GB, free: 77.74 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/7.588, allocations: 1.615 MB / 3.164 GB, free: 76.29 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01378/7.602, allocations: 2.103 MB / 3.166 GB, free: 74.78 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/7.642, allocations: 12.36 MB / 3.178 GB, free: 65.05 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008804/7.651, allocations: 4.934 MB / 3.183 GB, free: 61.21 MB / 1.167 GB Notification: Performance of SimCode: time 1.453e-06/7.651, allocations: 0 / 3.183 GB, free: 61.21 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)