Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil") [: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 1.6.0+build.1/package.mo): time 0.5198/0.5198, allocations: 94.74 MB / 102 MB, free: 14.21 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001121/0.001121, allocations: 172.1 kB / 125.3 MB, free: 8.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.424/1.424, allocations: 170.5 MB / 319 MB, free: 1.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001688/0.001688, allocations: 105.8 kB / 381 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.736e-06/8.766e-06, allocations: 0 / 448.6 MB, free: 45.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1523, allocations: 61.52 MB / 0.4981 GB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.7/12.85, allocations: 5.213 GB / 5.711 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004643/12.85, allocations: 101.2 kB / 5.711 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.6415/13.5, allocations: 139.8 MB / 5.847 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003458/13.5, allocations: 30.62 kB / 5.847 GB, free: 118.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.007224/13.5, allocations: 2.154 MB / 5.849 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/13.5, allocations: 8.656 kB / 5.849 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/13.51, allocations: 394 kB / 5.85 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006574/13.51, allocations: 2.478 MB / 5.852 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/13.51, allocations: 86.12 kB / 5.852 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/13.52, allocations: 33.11 kB / 5.852 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002353/13.52, allocations: 1.259 MB / 5.854 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/13.52, allocations: 1.221 MB / 5.855 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/13.52, allocations: 5.844 kB / 5.855 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002172/13.52, allocations: 3.938 kB / 5.855 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/13.52, allocations: 10.91 kB / 5.855 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/13.53, allocations: 4.769 MB / 5.859 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/13.53, allocations: 1.119 MB / 5.861 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/13.53, allocations: 0.5946 MB / 5.861 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000732/13.53, allocations: 0.9187 MB / 5.862 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001526/13.54, allocations: 1.095 MB / 5.863 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 4.278e-06/13.54, allocations: 0 / 5.863 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.005961/13.54, allocations: 1.933 MB / 5.865 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.13e-05/13.54, allocations: 131 kB / 5.865 GB, free: 115 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009145/13.55, allocations: 4.07 MB / 5.869 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006605/13.55, allocations: 47.92 kB / 5.869 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/13.55, allocations: 406.3 kB / 5.87 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005447/13.55, allocations: 212.9 kB / 5.87 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003214/13.55, allocations: 3.969 kB / 5.87 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001339/13.55, allocations: 335.8 kB / 5.87 GB, free: 113.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/13.55, allocations: 1.147 MB / 5.871 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/13.56, allocations: 1.111 MB / 5.872 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005386/13.56, allocations: 1.79 MB / 5.874 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/13.56, allocations: 3.594 kB / 5.874 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.009297/13.57, allocations: 3.528 MB / 5.877 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/13.57, allocations: 115.9 kB / 5.878 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/13.57, allocations: 0 / 5.878 GB, free: 111.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/13.57, allocations: 470.1 kB / 5.878 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/13.58, allocations: 231 kB / 5.878 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/13.58, allocations: 3.414 MB / 5.882 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/13.58, allocations: 111.6 kB / 5.882 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/13.58, allocations: 60.06 kB / 5.882 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/13.58, allocations: 7.25 kB / 5.882 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007426/13.59, allocations: 3.182 MB / 5.885 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/13.59, allocations: 2.094 kB / 5.885 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/13.59, allocations: 417.1 kB / 5.885 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/13.59, allocations: 223.4 kB / 5.885 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005374/13.6, allocations: 6.653 MB / 5.892 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/13.6, allocations: 107 kB / 5.892 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003333/13.6, allocations: 66.03 kB / 5.892 GB, free: 101.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006996/13.6, allocations: 199.2 kB / 5.892 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001261/13.6, allocations: 249.3 kB / 5.893 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007502/13.61, allocations: 2.252 MB / 5.895 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/13.61, allocations: 8.25 kB / 5.895 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/13.61, allocations: 0 / 5.895 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/13.61, allocations: 3.656 kB / 5.895 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005654/13.61, allocations: 2.294 MB / 5.897 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/13.61, allocations: 1.406 kB / 5.897 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/13.62, allocations: 185.4 kB / 5.897 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.001e-05/13.62, allocations: 10.47 kB / 5.897 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/13.62, allocations: 23.5 kB / 5.897 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003295/13.62, allocations: 0.5847 MB / 5.898 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/13.62, allocations: 3.312 kB / 5.898 GB, free: 98.74 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006323/13.62, allocations: 2.139 MB / 5.9 GB, free: 97.96 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/13.62, allocations: 0.7982 MB / 5.901 GB, free: 97.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001112/13.63, allocations: 59.16 kB / 5.901 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/13.63, allocations: 119 kB / 5.901 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/13.63, allocations: 77.73 kB / 5.901 GB, free: 97.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/13.63, allocations: 53.03 kB / 5.901 GB, free: 97.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.008292/13.64, allocations: 3.069 MB / 5.904 GB, free: 96.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007538/13.64, allocations: 0.9451 MB / 5.905 GB, free: 96.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent) * Number of discrete states: 8 (speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004459/13.65, allocations: 1.322 MB / 5.906 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009982/13.66, allocations: 4.234 MB / 5.91 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/13.66, allocations: 0 / 5.91 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/13.66, allocations: 0.8019 MB / 5.911 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005042/13.67, allocations: 0.5709 MB / 5.912 GB, free: 93.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/13.68, allocations: 4.303 MB / 5.916 GB, free: 90.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003986/13.68, allocations: 2.281 MB / 5.918 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of SimCode: time 3.046e-06/13.68, allocations: 0 / 5.918 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of Templates: time 0.1197/13.8, allocations: 60.27 MB / 5.977 GB, free: 32.72 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1)