Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.058/2.058, allocations: 390.4 MB / 397.7 MB, free: 10.68 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.001171/0.001171, allocations: 184.4 kB / 490.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.4 MB / 0.7863 GB, free: 2.555 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.00104/0.001039, allocations: 96.11 kB / 0.9264 GB, free: 39.95 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.4115/0.4126, allocations: 149.2 MB / 1.072 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9106/1.323, allocations: 143 MB / 1.212 GB, free: 63.57 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.215/2.539, allocations: 477.9 MB / 1.678 GB, free: 58.16 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/2.539, allocations: 100.2 kB / 1.678 GB, free: 58.11 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 688 * Number of variables: 688 Notification: Performance of Generate backend data structure: time 5.591/8.13, allocations: 1.289 GB / 2.968 GB, free: 168.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/8.13, allocations: 7.062 kB / 2.968 GB, free: 168.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007282/8.138, allocations: 0.7173 MB / 2.969 GB, free: 168 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0956/8.233, allocations: 32 MB / 3 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/8.233, allocations: 90.48 kB / 3 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/8.235, allocations: 213.2 kB / 3 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00625/8.241, allocations: 3.088 MB / 3.003 GB, free: 166.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006177/8.247, allocations: 3.714 MB / 3.007 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.917e-05/8.247, allocations: 12.16 kB / 3.007 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002652/8.248, allocations: 3.906 kB / 3.007 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/8.248, allocations: 114 kB / 3.007 GB, free: 165.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04249/8.29, allocations: 21.53 MB / 3.028 GB, free: 157.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005238/8.296, allocations: 2.699 MB / 3.031 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/8.299, allocations: 1.588 MB / 3.032 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02313/8.322, allocations: 9.721 MB / 3.042 GB, free: 150.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003145/8.325, allocations: 1.417 MB / 3.043 GB, free: 150.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=171): time 1.134e-05/8.325, allocations: 2.031 kB / 3.043 GB, free: 150.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=171): time 0.00913/8.334, allocations: 3 MB / 3.046 GB, free: 149.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.3e-05/8.334, allocations: 126.9 kB / 3.046 GB, free: 149.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02814/8.362, allocations: 7.992 MB / 3.054 GB, free: 146.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001161/8.364, allocations: 35.17 kB / 3.054 GB, free: 146.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.005263/8.369, allocations: 1.478 MB / 3.055 GB, free: 145.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003619/8.373, allocations: 0.6148 MB / 3.056 GB, free: 145.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009721/8.374, allocations: 4.844 kB / 3.056 GB, free: 145.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0006778/8.374, allocations: 459.7 kB / 3.056 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004508/8.379, allocations: 2.017 MB / 3.058 GB, free: 144.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006003/8.385, allocations: 3.573 MB / 3.062 GB, free: 141.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006731/8.392, allocations: 2.712 MB / 3.065 GB, free: 140.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001692/8.392, allocations: 15.84 kB / 3.065 GB, free: 140.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=437) (initialization): time 0.02021/8.412, allocations: 5.979 MB / 3.07 GB, free: 138.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.007681/8.42, allocations: 24.79 MB / 3.095 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/8.42, allocations: 50.47 kB / 3.095 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/8.421, allocations: 246.7 kB / 3.095 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005135/8.426, allocations: 0.9271 MB / 3.096 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005477/8.432, allocations: 4.66 MB / 3.1 GB, free: 107.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01291/8.445, allocations: 1.194 MB / 3.101 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/8.447, allocations: 185.7 kB / 3.102 GB, free: 107.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/8.447, allocations: 3.156 kB / 3.102 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01602/8.463, allocations: 5.394 MB / 3.107 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002936/8.463, allocations: 52 kB / 3.107 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009322/8.464, allocations: 249.7 kB / 3.107 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004697/8.469, allocations: 0.9236 MB / 3.108 GB, free: 102.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004052/8.473, allocations: 4.683 MB / 3.113 GB, free: 97.45 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/8.485, allocations: 1.098 MB / 3.114 GB, free: 96.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001589/8.486, allocations: 180 kB / 3.114 GB, free: 96.18 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 (433): * Single equations (assignments): 429 * 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.002462/8.489, allocations: 246.8 kB / 3.114 GB, free: 95.94 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003834/8.493, allocations: 0.536 MB / 3.115 GB, free: 95.39 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/8.505, allocations: 3.378 MB / 3.118 GB, free: 92.05 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/8.505, allocations: 16 kB / 3.118 GB, free: 92.04 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/8.505, allocations: 7.906 kB / 3.118 GB, free: 92.03 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005106/8.51, allocations: 2.794 MB / 3.121 GB, free: 89.14 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0305/8.541, allocations: 9.535 MB / 3.13 GB, free: 79.58 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.968e-05/8.541, allocations: 0 / 3.13 GB, free: 79.58 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/8.543, allocations: 421.6 kB / 3.13 GB, free: 79.17 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008547/8.544, allocations: 185.3 kB / 3.131 GB, free: 78.98 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005237/8.545, allocations: 71.92 kB / 3.131 GB, free: 78.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003741/8.548, allocations: 4.584 MB / 3.135 GB, free: 74 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.737e-06/8.548, allocations: 2.156 kB / 3.135 GB, free: 74 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01102/8.559, allocations: 4.793 MB / 3.14 GB, free: 69.16 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01274/8.572, allocations: 7.082 MB / 3.147 GB, free: 62.02 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008678/8.581, allocations: 4.784 MB / 3.151 GB, free: 56.65 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003633/8.585, allocations: 55.86 kB / 3.152 GB, free: 56.59 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007668/8.592, allocations: 0.5345 MB / 3.152 GB, free: 56.07 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007001/8.593, allocations: 97.84 kB / 3.152 GB, free: 55.98 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005398/8.594, allocations: 67.95 kB / 3.152 GB, free: 55.91 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.016/8.61, allocations: 5.884 MB / 3.158 GB, free: 50.04 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.02301/8.633, allocations: 3.62 MB / 3.161 GB, free: 46.41 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.005338/8.638, allocations: 1.741 MB / 3.163 GB, free: 44.96 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01475/8.653, allocations: 7.516 MB / 3.171 GB, free: 37.41 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/8.653, allocations: 3.938 kB / 3.171 GB, free: 37.41 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002901/8.656, allocations: 1.629 MB / 3.172 GB, free: 35.76 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01451/8.671, allocations: 2.093 MB / 3.174 GB, free: 33.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04163/8.712, allocations: 12.39 MB / 3.186 GB, free: 21.81 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01279/8.725, allocations: 4.947 MB / 3.191 GB, free: 16.83 MB / 1.167 GB Notification: Performance of SimCode: time 1.814e-06/8.725, allocations: 3.562 kB / 3.191 GB, free: 16.83 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)