Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.211/1.211, allocations: 249.4 MB / 256.7 MB, free: 6.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 176.5 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.117/1.117, allocations: 205.2 MB / 0.5667 GB, free: 15.66 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 87.33 kB / 0.671 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3201/0.321, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.4677, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.001/1.469, allocations: 458.5 MB / 1.332 GB, free: 288.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.469, allocations: 103 kB / 1.332 GB, free: 288.3 MB / 0.8698 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 3.712/5.181, allocations: 1.236 GB / 2.569 GB, free: 30.46 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/5.181, allocations: 8 kB / 2.569 GB, free: 30.45 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004556/5.186, allocations: 0.7142 MB / 2.569 GB, free: 29.73 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06677/5.253, allocations: 30.31 MB / 2.599 GB, free: 15.67 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001836/5.253, allocations: 87.94 kB / 2.599 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/5.254, allocations: 223.8 kB / 2.599 GB, free: 15.37 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006687/5.261, allocations: 3.079 MB / 2.602 GB, free: 12.28 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00797/5.269, allocations: 3.654 MB / 2.606 GB, free: 8.465 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.401e-05/5.269, allocations: 19.83 kB / 2.606 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002535/5.269, allocations: 7.703 kB / 2.606 GB, free: 8.441 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.673e-05/5.269, allocations: 71.94 kB / 2.606 GB, free: 8.371 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0323/5.302, allocations: 21.45 MB / 2.627 GB, free: 2.332 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4143/5.716, allocations: 2.711 MB / 2.63 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002283/5.718, allocations: 1.593 MB / 2.631 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01423/5.733, allocations: 9.705 MB / 2.641 GB, free: 153.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/5.734, allocations: 1.404 MB / 2.642 GB, free: 153.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=171): time 3.858e-06/5.734, allocations: 3.969 kB / 2.642 GB, free: 153.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=171): time 0.005591/5.74, allocations: 2.991 MB / 2.645 GB, free: 153.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/5.74, allocations: 128.1 kB / 2.645 GB, free: 153.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/5.753, allocations: 7.957 MB / 2.653 GB, free: 153 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008504/5.754, allocations: 25.7 kB / 2.653 GB, free: 152.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/5.756, allocations: 1.478 MB / 2.654 GB, free: 152.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002398/5.758, allocations: 0.6097 MB / 2.655 GB, free: 152.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/5.758, allocations: 3.438 kB / 2.655 GB, free: 152.2 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002129/5.758, allocations: 460.2 kB / 2.655 GB, free: 151.9 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002203/5.761, allocations: 2.021 MB / 2.657 GB, free: 151.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/5.763, allocations: 3.555 MB / 2.661 GB, free: 150 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/5.767, allocations: 2.704 MB / 2.663 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.928e-05/5.767, allocations: 17.59 kB / 2.663 GB, free: 149.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.008994/5.776, allocations: 5.964 MB / 2.669 GB, free: 149.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.004022/5.78, allocations: 24.51 MB / 2.693 GB, free: 124.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.048e-05/5.78, allocations: 51.81 kB / 2.693 GB, free: 124.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/5.781, allocations: 248.4 kB / 2.693 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003709/5.784, allocations: 0.9231 MB / 2.694 GB, free: 124.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/5.787, allocations: 4.672 MB / 2.699 GB, free: 120.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008762/5.796, allocations: 1.183 MB / 2.7 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007627/5.797, allocations: 182.1 kB / 2.7 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/5.797, allocations: 2.938 kB / 2.7 GB, free: 120.8 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007706/5.805, allocations: 5.382 MB / 2.705 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-05/5.805, allocations: 56.22 kB / 2.705 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006025/5.805, allocations: 246.8 kB / 2.706 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003133/5.808, allocations: 0.9246 MB / 2.707 GB, free: 120.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002694/5.811, allocations: 4.669 MB / 2.711 GB, free: 117.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008081/5.819, allocations: 1.095 MB / 2.712 GB, free: 117 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006248/5.82, allocations: 183.5 kB / 2.712 GB, free: 117 MB / 0.9167 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.001144/5.821, allocations: 246.9 kB / 2.713 GB, free: 116.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002049/5.823, allocations: 0.5286 MB / 2.713 GB, free: 116.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007072/5.83, allocations: 3.37 MB / 2.716 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/5.83, allocations: 21.28 kB / 2.716 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/5.83, allocations: 0 / 2.716 GB, free: 116.5 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00353/5.834, allocations: 2.813 MB / 2.719 GB, free: 116 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/5.852, allocations: 9.496 MB / 2.729 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/5.852, allocations: 3.375 kB / 2.729 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/5.854, allocations: 424.7 kB / 2.729 GB, free: 115.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005808/5.855, allocations: 185.7 kB / 2.729 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002275/5.855, allocations: 72.19 kB / 2.729 GB, free: 115.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002952/5.858, allocations: 4.578 MB / 2.734 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/5.858, allocations: 3.594 kB / 2.734 GB, free: 111.8 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00876/5.867, allocations: 4.789 MB / 2.738 GB, free: 111.1 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009389/5.876, allocations: 7.071 MB / 2.745 GB, free: 110 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006336/5.883, allocations: 4.779 MB / 2.75 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00246/5.885, allocations: 52.3 kB / 2.75 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00568/5.891, allocations: 0.5381 MB / 2.75 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002905/5.891, allocations: 103 kB / 2.751 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002098/5.891, allocations: 57.56 kB / 2.751 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.01221/5.904, allocations: 5.859 MB / 2.756 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01785/5.922, allocations: 3.625 MB / 2.76 GB, free: 106.2 MB / 0.9167 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.004228/5.926, allocations: 1.735 MB / 2.762 GB, free: 105.9 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01206/5.938, allocations: 7.514 MB / 2.769 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/5.938, allocations: 0 / 2.769 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002319/5.94, allocations: 1.628 MB / 2.771 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01184/5.952, allocations: 2.086 MB / 2.773 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/5.982, allocations: 12.34 MB / 2.785 GB, free: 103 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01126/5.993, allocations: 4.921 MB / 2.789 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.593e-06/5.993, allocations: 0 / 2.789 GB, free: 102.2 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)