Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint") [: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.5217/0.5217, allocations: 94.73 MB / 102 MB, free: 10.38 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.001381/0.001381, allocations: 175.3 kB / 125.3 MB, free: 11.99 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.508/1.508, allocations: 170.5 MB / 319 MB, free: 9.41 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001637/0.001637, allocations: 118.3 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.082e-05/1.085e-05, allocations: 4 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.17, allocations: 61.52 MB / 0.4981 GB, free: 4.492 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.53/11.7, allocations: 5.206 GB / 5.704 GB, free: 71.61 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/11.7, allocations: 92.73 kB / 5.704 GB, free: 71.52 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.5271/12.23, allocations: 124.1 MB / 5.825 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000287/12.23, allocations: 20.88 kB / 5.825 GB, free: 137.2 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.005619/12.23, allocations: 1.409 MB / 5.826 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/12.23, allocations: 9.531 kB / 5.826 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/12.23, allocations: 206.6 kB / 5.827 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/12.24, allocations: 1.209 MB / 5.828 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/12.24, allocations: 4.125 kB / 5.828 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/12.24, allocations: 17.73 kB / 5.828 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003295/12.24, allocations: 133.1 kB / 5.828 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/12.24, allocations: 172.9 kB / 5.828 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/12.24, allocations: 3.094 kB / 5.828 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/12.24, allocations: 5.281 kB / 5.828 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/12.24, allocations: 6.75 kB / 5.828 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/12.24, allocations: 1.713 MB / 5.83 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/12.24, allocations: 202.8 kB / 5.83 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/12.24, allocations: 105.1 kB / 5.83 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007055/12.24, allocations: 0.9029 MB / 5.831 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/12.24, allocations: 173.9 kB / 5.831 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=21): time 3.456e-06/12.24, allocations: 1.406 kB / 5.831 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21): time 0.001473/12.24, allocations: 465 kB / 5.832 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/12.24, allocations: 111.9 kB / 5.832 GB, free: 133.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003122/12.25, allocations: 2.103 MB / 5.834 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/12.25, allocations: 28.58 kB / 5.834 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/12.25, allocations: 255.7 kB / 5.834 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/12.25, allocations: 59.95 kB / 5.834 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/12.25, allocations: 1.125 kB / 5.834 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000114/12.25, allocations: 323 kB / 5.834 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/12.25, allocations: 260.3 kB / 5.835 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004193/12.25, allocations: 265.1 kB / 5.835 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/12.25, allocations: 0.5669 MB / 5.835 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/12.25, allocations: 0 / 5.835 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.004163/12.26, allocations: 1.259 MB / 5.837 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.869e-05/12.26, allocations: 108.4 kB / 5.837 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/12.26, allocations: 0 / 5.837 GB, free: 131 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002494/12.26, allocations: 446.8 kB / 5.837 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007024/12.26, allocations: 124.1 kB / 5.837 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/12.26, allocations: 3.359 MB / 5.841 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/12.26, allocations: 84.61 kB / 5.841 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.391e-05/12.26, allocations: 23.17 kB / 5.841 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/12.26, allocations: 11.72 kB / 5.841 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003101/12.27, allocations: 1.025 MB / 5.842 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/12.27, allocations: 0 / 5.842 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/12.27, allocations: 388.2 kB / 5.842 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/12.27, allocations: 139 kB / 5.842 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004731/12.27, allocations: 6.456 MB / 5.849 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/12.27, allocations: 83.16 kB / 5.849 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/12.27, allocations: 16.75 kB / 5.849 GB, free: 121.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000248/12.27, allocations: 182 kB / 5.849 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/12.28, allocations: 138 kB / 5.849 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002054/12.28, allocations: 0.6414 MB / 5.85 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.279e-06/12.28, allocations: 0 / 5.85 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/12.28, allocations: 3.906 kB / 5.85 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/12.28, allocations: 7.875 kB / 5.85 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009607/12.28, allocations: 0.8755 MB / 5.85 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/12.28, allocations: 0 / 5.85 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/12.28, allocations: 93.91 kB / 5.851 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/12.28, allocations: 0 / 5.851 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/12.28, allocations: 7.641 kB / 5.851 GB, free: 121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002082/12.28, allocations: 0.5905 MB / 5.851 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/12.28, allocations: 4.938 kB / 5.851 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001369/12.28, allocations: 0.615 MB / 5.852 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005526/12.28, allocations: 374.2 kB / 5.852 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/12.28, allocations: 3.281 kB / 5.852 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000517/12.28, allocations: 52.72 kB / 5.852 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/12.28, allocations: 22.72 kB / 5.852 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/12.28, allocations: 15.16 kB / 5.852 GB, free: 119.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001868/12.28, allocations: 1.606 MB / 5.854 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002037/12.29, allocations: 0.5882 MB / 5.854 GB, free: 119.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,deaBan.y) * Number of discrete states: 6 (deaBan.y,speRat.last,speRat.nextEvent,speRat.b,speRat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * 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.001736/12.29, allocations: 1.285 MB / 5.856 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002888/12.29, allocations: 1.621 MB / 5.857 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/12.29, allocations: 1.719 kB / 5.857 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/12.29, allocations: 254.7 kB / 5.857 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/12.29, allocations: 281.9 kB / 5.858 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/12.3, allocations: 2.046 MB / 5.86 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/12.3, allocations: 1.483 MB / 5.861 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of SimCode: time 9.81e-07/12.3, allocations: 1.312 kB / 5.861 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.05233/12.35, allocations: 30.78 MB / 5.891 GB, free: 92.56 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)