Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.188/2.188, allocations: 284.9 MB / 292.2 MB, free: 1.41 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 184.9 kB / 360.4 MB, free: 15.64 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 205.1 MB / 0.6188 GB, free: 6.641 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001269/0.001267, allocations: 100.4 kB / 0.7318 GB, free: 47.02 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.084e-05/1.093e-05, allocations: 4 kB / 0.8502 GB, free: 13.68 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6386, allocations: 115.2 MB / 0.9628 GB, free: 86.44 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.128/5.767, allocations: 2.121 GB / 3.083 GB, free: 280.8 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/5.767, allocations: 91.52 kB / 3.083 GB, free: 280.8 MB / 0.9405 GB Notification: Performance of FrontEnd: time 8.962/14.73, allocations: 1.985 GB / 5.068 GB, free: 115.6 MB / 0.9717 GB Notification: Performance of Transformations before backend: time 0.0004179/14.73, allocations: 57.7 kB / 5.068 GB, free: 115.5 MB / 0.9717 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.009703/14.74, allocations: 2.621 MB / 5.071 GB, free: 114.2 MB / 0.9717 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/14.74, allocations: 11.72 kB / 5.071 GB, free: 114.2 MB / 0.9717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009233/14.75, allocations: 0.8504 MB / 5.072 GB, free: 114.1 MB / 0.9717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/14.76, allocations: 2.413 MB / 5.074 GB, free: 113.5 MB / 0.9717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/14.76, allocations: 45.03 kB / 5.074 GB, free: 113.5 MB / 0.9717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005863/14.76, allocations: 96.56 kB / 5.074 GB, free: 113.5 MB / 0.9717 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004571/14.76, allocations: 1.354 MB / 5.075 GB, free: 113.5 MB / 0.9717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004751/14.77, allocations: 1.562 MB / 5.077 GB, free: 113.3 MB / 0.9717 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-05/14.77, allocations: 4.531 kB / 5.077 GB, free: 113.3 MB / 0.9717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002516/14.77, allocations: 9.594 kB / 5.077 GB, free: 113.3 MB / 0.9717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/14.77, allocations: 54.69 kB / 5.077 GB, free: 113.3 MB / 0.9717 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01923/14.79, allocations: 8.301 MB / 5.085 GB, free: 109.2 MB / 0.9717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/14.79, allocations: 0.9424 MB / 5.086 GB, free: 109.2 MB / 0.9717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/14.79, allocations: 0.6138 MB / 5.087 GB, free: 109.1 MB / 0.9717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/14.79, allocations: 378.5 kB / 5.087 GB, free: 108.8 MB / 0.9717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001547/14.8, allocations: 0.6108 MB / 5.088 GB, free: 108.7 MB / 0.9717 GB Notification: Performance of pre-optimization done (n=102): time 4.419e-06/14.8, allocations: 3.719 kB / 5.088 GB, free: 108.7 MB / 0.9717 GB Notification: Performance of matching and sorting (n=105): time 0.01329/14.81, allocations: 3.011 MB / 5.091 GB, free: 107.5 MB / 0.9717 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/14.81, allocations: 170.3 kB / 5.091 GB, free: 107.3 MB / 0.9717 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0028/14.81, allocations: 1.206 MB / 5.092 GB, free: 106.8 MB / 0.9717 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/14.81, allocations: 29.55 kB / 5.092 GB, free: 106.8 MB / 0.9717 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007371/14.81, allocations: 0.6273 MB / 5.093 GB, free: 106.3 MB / 0.9717 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006683/14.81, allocations: 357.5 kB / 5.093 GB, free: 106.1 MB / 0.9717 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/14.81, allocations: 0 / 5.093 GB, free: 106.1 MB / 0.9717 GB Notification: Performance of setup shared object (initialization): time 0.0001194/14.81, allocations: 359.4 kB / 5.093 GB, free: 105.7 MB / 0.9717 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/14.82, allocations: 446.6 kB / 5.094 GB, free: 105.6 MB / 0.9717 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/14.82, allocations: 0.8033 MB / 5.094 GB, free: 104.9 MB / 0.9717 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/14.83, allocations: 2.088 MB / 5.096 GB, free: 104.3 MB / 0.9717 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/14.83, allocations: 1.562 kB / 5.096 GB, free: 104.3 MB / 0.9717 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006948/14.84, allocations: 1.47 MB / 5.098 GB, free: 103.8 MB / 0.9717 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008207/14.84, allocations: 2.997 MB / 5.101 GB, free: 100.6 MB / 0.9717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/14.84, allocations: 6.281 kB / 5.101 GB, free: 100.6 MB / 0.9717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/14.84, allocations: 48.02 kB / 5.101 GB, free: 100.5 MB / 0.9717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/14.84, allocations: 286.4 kB / 5.101 GB, free: 100.5 MB / 0.9717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/14.85, allocations: 1.418 MB / 5.103 GB, free: 99.16 MB / 0.9717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004856/14.85, allocations: 143.7 kB / 5.103 GB, free: 99.14 MB / 0.9717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003711/14.85, allocations: 56.44 kB / 5.103 GB, free: 99.13 MB / 0.9717 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/14.85, allocations: 5.594 kB / 5.103 GB, free: 99.13 MB / 0.9717 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004119/14.85, allocations: 1.216 MB / 5.104 GB, free: 98.71 MB / 0.9717 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.022e-05/14.85, allocations: 8.75 kB / 5.104 GB, free: 98.71 MB / 0.9717 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/14.86, allocations: 51.22 kB / 5.104 GB, free: 98.7 MB / 0.9717 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002645/14.86, allocations: 281.8 kB / 5.104 GB, free: 98.67 MB / 0.9717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/14.86, allocations: 1.416 MB / 5.106 GB, free: 97.31 MB / 0.9717 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/14.86, allocations: 144.8 kB / 5.106 GB, free: 97.3 MB / 0.9717 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/14.86, allocations: 54.28 kB / 5.106 GB, free: 97.29 MB / 0.9717 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005445/14.86, allocations: 156.5 kB / 5.106 GB, free: 97.15 MB / 0.9717 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006245/14.86, allocations: 188.2 kB / 5.106 GB, free: 97.05 MB / 0.9717 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004862/14.87, allocations: 1.292 MB / 5.107 GB, free: 96.55 MB / 0.9717 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/14.87, allocations: 10.66 kB / 5.107 GB, free: 96.55 MB / 0.9717 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/14.87, allocations: 0 / 5.107 GB, free: 96.55 MB / 0.9717 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003141/14.87, allocations: 1.038 MB / 5.108 GB, free: 96.14 MB / 0.9717 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/14.88, allocations: 3.015 MB / 5.111 GB, free: 94.76 MB / 0.9717 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/14.88, allocations: 1.875 kB / 5.111 GB, free: 94.76 MB / 0.9717 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002459/14.88, allocations: 233.3 kB / 5.112 GB, free: 94.75 MB / 0.9717 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004217/14.89, allocations: 80.39 kB / 5.112 GB, free: 94.71 MB / 0.9717 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/14.89, allocations: 17.09 kB / 5.112 GB, free: 94.7 MB / 0.9717 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002611/14.89, allocations: 2.633 MB / 5.114 GB, free: 92.16 MB / 0.9717 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/14.89, allocations: 7.844 kB / 5.114 GB, free: 92.15 MB / 0.9717 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005598/14.89, allocations: 2.056 MB / 5.116 GB, free: 91.13 MB / 0.9717 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/14.9, allocations: 377.6 kB / 5.117 GB, free: 90.86 MB / 0.9717 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007333/14.9, allocations: 9.062 kB / 5.117 GB, free: 90.86 MB / 0.9717 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00328/14.9, allocations: 126.8 kB / 5.117 GB, free: 90.86 MB / 0.9717 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/14.9, allocations: 74.91 kB / 5.117 GB, free: 90.84 MB / 0.9717 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/14.9, allocations: 36.53 kB / 5.117 GB, free: 90.83 MB / 0.9717 GB Notification: Performance of sort global known variables: time 0.002289/14.9, allocations: 0.9136 MB / 5.118 GB, free: 90.41 MB / 0.9717 GB Notification: Performance of remove unused functions: time 0.007143/14.91, allocations: 1.182 MB / 5.119 GB, free: 90.18 MB / 0.9717 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007993/14.92, allocations: 3.673 MB / 5.123 GB, free: 88.72 MB / 0.9717 GB Notification: Performance of simCode: created initialization part: time 0.006409/14.92, allocations: 2.159 MB / 5.125 GB, free: 87.71 MB / 0.9717 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/14.92, allocations: 1.375 kB / 5.125 GB, free: 87.71 MB / 0.9717 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/14.93, allocations: 0.7408 MB / 5.125 GB, free: 87.31 MB / 0.9717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008905/14.94, allocations: 0.8912 MB / 5.126 GB, free: 87.12 MB / 0.9717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/14.95, allocations: 3.245 MB / 5.129 GB, free: 84.42 MB / 0.9717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002738/14.95, allocations: 1.795 MB / 5.131 GB, free: 82.97 MB / 0.9717 GB Notification: Performance of SimCode: time 1.853e-06/14.95, allocations: 0 / 5.131 GB, free: 82.97 MB / 0.9717 GB Notification: Performance of Templates: time 0.1692/15.12, allocations: 59.14 MB / 5.189 GB, free: 27.62 MB / 0.9717 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)