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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.361/1.361, allocations: 285.5 MB / 292.8 MB, free: 10.53 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.0009633/0.0009633, allocations: 181.2 kB / 361.1 MB, free: 7.121 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.121/1.121, allocations: 205.1 MB / 0.6195 GB, free: 10.34 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.0008166/0.0008166, allocations: 84.56 kB / 0.7325 GB, free: 44.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2043/0.2051, allocations: 121.5 MB / 0.8512 GB, free: 2.918 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.69, allocations: 115.3 MB / 0.9638 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7195/1.41, allocations: 465.1 MB / 1.418 GB, free: 100.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.41, allocations: 99.94 kB / 1.418 GB, free: 100.1 MB / 0.8542 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.967/5.376, allocations: 1.264 GB / 2.682 GB, free: 5.273 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/5.376, allocations: 12.5 kB / 2.682 GB, free: 5.262 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004949/5.381, allocations: 0.7141 MB / 2.682 GB, free: 4.539 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07549/5.457, allocations: 30.83 MB / 2.713 GB, free: 5.402 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/5.457, allocations: 84 kB / 2.713 GB, free: 5.32 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/5.458, allocations: 223.8 kB / 2.713 GB, free: 5.102 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005569/5.464, allocations: 3.083 MB / 2.716 GB, free: 2.012 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3915/5.855, allocations: 3.671 MB / 2.719 GB, free: 194.2 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.202e-05/5.855, allocations: 6.75 kB / 2.72 GB, free: 194.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/5.856, allocations: 7.625 kB / 2.72 GB, free: 194.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/5.856, allocations: 75.8 kB / 2.72 GB, free: 194.2 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02888/5.885, allocations: 21.48 MB / 2.741 GB, free: 187.5 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/5.888, allocations: 2.696 MB / 2.743 GB, free: 187.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001781/5.89, allocations: 1.602 MB / 2.745 GB, free: 187.4 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01336/5.903, allocations: 9.722 MB / 2.754 GB, free: 184.3 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001546/5.905, allocations: 1.418 MB / 2.756 GB, free: 184.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=171): time 4.128e-06/5.905, allocations: 0 / 2.756 GB, free: 184.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=171): time 0.005641/5.91, allocations: 2.989 MB / 2.759 GB, free: 183.8 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/5.91, allocations: 129.8 kB / 2.759 GB, free: 183.7 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01268/5.923, allocations: 7.956 MB / 2.766 GB, free: 183.3 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0007753/5.924, allocations: 29.17 kB / 2.766 GB, free: 183.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001884/5.926, allocations: 1.478 MB / 2.768 GB, free: 182.8 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002361/5.928, allocations: 0.6031 MB / 2.769 GB, free: 182.5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/5.928, allocations: 3.828 kB / 2.769 GB, free: 182.5 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002507/5.929, allocations: 465.9 kB / 2.769 GB, free: 182.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/5.931, allocations: 2.018 MB / 2.771 GB, free: 182.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002688/5.934, allocations: 3.558 MB / 2.774 GB, free: 180.3 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/5.937, allocations: 2.707 MB / 2.777 GB, free: 180.3 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/5.937, allocations: 13.78 kB / 2.777 GB, free: 180.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=435) (initialization): time 0.009453/5.947, allocations: 5.959 MB / 2.783 GB, free: 179.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004324/5.951, allocations: 24.51 MB / 2.807 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.614e-05/5.951, allocations: 54.5 kB / 2.807 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007552/5.952, allocations: 247 kB / 2.807 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003822/5.956, allocations: 0.9253 MB / 2.808 GB, free: 154.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/5.959, allocations: 4.663 MB / 2.813 GB, free: 151.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008897/5.968, allocations: 1.181 MB / 2.814 GB, free: 151.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/5.969, allocations: 184.3 kB / 2.814 GB, free: 151.1 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/5.969, allocations: 5.906 kB / 2.814 GB, free: 151.1 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008179/5.977, allocations: 5.382 MB / 2.819 GB, free: 151 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/5.977, allocations: 54.53 kB / 2.819 GB, free: 151 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/5.978, allocations: 247.5 kB / 2.819 GB, free: 151 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/5.981, allocations: 0.9276 MB / 2.82 GB, free: 151 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/5.984, allocations: 4.66 MB / 2.825 GB, free: 147.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008607/5.992, allocations: 1.097 MB / 2.826 GB, free: 147.4 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009169/5.993, allocations: 185.4 kB / 2.826 GB, free: 147.4 MB / 1.01 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.0009384/5.994, allocations: 242.7 kB / 2.826 GB, free: 147.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002186/5.996, allocations: 0.5293 MB / 2.827 GB, free: 147 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006709/6.003, allocations: 3.378 MB / 2.83 GB, free: 146.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/6.003, allocations: 20.81 kB / 2.83 GB, free: 146.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/6.003, allocations: 3.969 kB / 2.83 GB, free: 146.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003305/6.006, allocations: 2.803 MB / 2.833 GB, free: 146.3 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/6.023, allocations: 9.509 MB / 2.842 GB, free: 145.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/6.023, allocations: 3.156 kB / 2.842 GB, free: 145.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/6.025, allocations: 422.5 kB / 2.843 GB, free: 145.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005305/6.025, allocations: 186 kB / 2.843 GB, free: 145.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/6.025, allocations: 72 kB / 2.843 GB, free: 145.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/6.028, allocations: 4.596 MB / 2.847 GB, free: 142.1 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/6.028, allocations: 0 / 2.847 GB, free: 142.1 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00689/6.035, allocations: 4.798 MB / 2.852 GB, free: 141.4 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009008/6.044, allocations: 7.059 MB / 2.859 GB, free: 140.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006204/6.05, allocations: 4.784 MB / 2.864 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002338/6.053, allocations: 59.08 kB / 2.864 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005758/6.058, allocations: 0.546 MB / 2.864 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/6.059, allocations: 94.45 kB / 2.864 GB, free: 136.9 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002876/6.059, allocations: 66.89 kB / 2.864 GB, free: 136.9 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.01202/6.071, allocations: 5.858 MB / 2.87 GB, free: 136.7 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.01793/6.089, allocations: 3.617 MB / 2.874 GB, free: 136.5 MB / 1.01 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.004186/6.093, allocations: 1.724 MB / 2.875 GB, free: 136.2 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.01179/6.105, allocations: 7.505 MB / 2.883 GB, free: 135.5 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.323e-06/6.105, allocations: 3.281 kB / 2.883 GB, free: 135.5 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/6.107, allocations: 1.623 MB / 2.884 GB, free: 135.2 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01333/6.121, allocations: 2.097 MB / 2.886 GB, free: 135.2 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03022/6.151, allocations: 12.33 MB / 2.898 GB, free: 133.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009681/6.161, allocations: 4.924 MB / 2.903 GB, free: 132.5 MB / 1.01 GB Notification: Performance of SimCode: time 1.072e-06/6.161, allocations: 0 / 2.903 GB, free: 132.5 MB / 1.01 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_RadiantSlabs_Examples_SingleCircuitMultipleCircuitEpsilonNTU.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.RadiantSlabs.Examples.SingleCircuitMultipleCircuitEpsilonNTU.pipe 2>&1)