Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.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.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") [: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.257/2.257, allocations: 284.9 MB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001695/0.001694, allocations: 189.2 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.2 MB / 0.6188 GB, free: 12.43 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 88.02 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.526e-05/1.529e-05, allocations: 8 kB / 0.8503 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.675, allocations: 115.2 MB / 0.9628 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.591/6.266, allocations: 2.382 GB / 3.345 GB, free: 67.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/6.267, allocations: 95.14 kB / 3.345 GB, free: 67.34 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.165/14.43, allocations: 1.668 GB / 5.013 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004704/14.43, allocations: 68.8 kB / 5.013 GB, free: 109.3 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.01622/14.45, allocations: 2.928 MB / 5.016 GB, free: 108.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/14.45, allocations: 9.062 kB / 5.016 GB, free: 108.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009494/14.46, allocations: 0.7815 MB / 5.017 GB, free: 108.1 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01166/14.47, allocations: 2.821 MB / 5.02 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/14.47, allocations: 56.78 kB / 5.02 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007849/14.47, allocations: 112.8 kB / 5.02 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006544/14.48, allocations: 1.791 MB / 5.022 GB, free: 107.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007145/14.48, allocations: 1.972 MB / 5.023 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.786e-05/14.48, allocations: 3.25 kB / 5.023 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/14.48, allocations: 3.656 kB / 5.023 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.505e-05/14.49, allocations: 76.02 kB / 5.024 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02577/14.51, allocations: 9.804 MB / 5.033 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/14.51, allocations: 1.162 MB / 5.034 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/14.52, allocations: 0.6306 MB / 5.035 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006441/14.52, allocations: 2.473 MB / 5.037 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.604e-05/14.52, allocations: 48.69 kB / 5.037 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 4.819e-06/14.52, allocations: 0 / 5.037 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106): time 0.01465/14.54, allocations: 3.207 MB / 5.04 GB, free: 101 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/14.54, allocations: 65.09 kB / 5.041 GB, free: 101 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/14.54, allocations: 1.433 MB / 5.042 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004422/14.54, allocations: 29.23 kB / 5.042 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006391/14.54, allocations: 0.8066 MB / 5.043 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000643/14.54, allocations: 359.4 kB / 5.043 GB, free: 100 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/14.54, allocations: 0 / 5.043 GB, free: 100 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001264/14.54, allocations: 359.9 kB / 5.043 GB, free: 99.73 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/14.54, allocations: 480.4 kB / 5.044 GB, free: 99.73 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/14.55, allocations: 1.035 MB / 5.045 GB, free: 99.03 MB / 0.9948 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start (sin_2.p = fan.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.04308/14.59, allocations: 3.364 MB / 5.048 GB, free: 98.92 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/14.59, allocations: 6.656 kB / 5.048 GB, free: 98.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.007873/14.6, allocations: 1.846 MB / 5.05 GB, free: 98.75 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001456/14.6, allocations: 5.864 MB / 5.056 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/14.6, allocations: 15.09 kB / 5.056 GB, free: 92.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00312/14.6, allocations: 374.2 kB / 5.056 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002647/14.6, allocations: 303.4 kB / 5.056 GB, free: 92.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/14.61, allocations: 1.045 MB / 5.057 GB, free: 92.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/14.61, allocations: 128.7 kB / 5.058 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/14.61, allocations: 87.47 kB / 5.058 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/14.61, allocations: 3.125 kB / 5.058 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006668/14.62, allocations: 1.586 MB / 5.059 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.635e-05/14.62, allocations: 14.31 kB / 5.059 GB, free: 92.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/14.62, allocations: 363.5 kB / 5.059 GB, free: 92.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/14.62, allocations: 303 kB / 5.06 GB, free: 92.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001795/14.62, allocations: 1.05 MB / 5.061 GB, free: 91.53 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/14.63, allocations: 97.75 kB / 5.061 GB, free: 91.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/14.63, allocations: 85.06 kB / 5.061 GB, free: 91.52 MB / 0.9948 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: fan.vol.dynBal.medium.p = fan.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005881/14.63, allocations: 155.6 kB / 5.061 GB, free: 91.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/14.63, allocations: 214.3 kB / 5.061 GB, free: 91.29 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006405/14.64, allocations: 1.495 MB / 5.063 GB, free: 91.19 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.408e-05/14.64, allocations: 18.84 kB / 5.063 GB, free: 91.18 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/14.64, allocations: 3.719 kB / 5.063 GB, free: 91.18 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004585/14.64, allocations: 1.145 MB / 5.064 GB, free: 91.09 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/14.65, allocations: 3.531 MB / 5.067 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-05/14.65, allocations: 4 kB / 5.067 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001886/14.65, allocations: 193 kB / 5.068 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/14.66, allocations: 330.7 kB / 5.068 GB, free: 90.47 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/14.66, allocations: 17.73 kB / 5.068 GB, free: 90.47 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/14.66, allocations: 0.9823 MB / 5.069 GB, free: 89.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/14.66, allocations: 9.562 kB / 5.069 GB, free: 89.94 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005494/14.66, allocations: 2.657 MB / 5.071 GB, free: 88.77 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/14.67, allocations: 414.1 kB / 5.072 GB, free: 88.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007201/14.67, allocations: 9.625 kB / 5.072 GB, free: 88.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/14.67, allocations: 69.47 kB / 5.072 GB, free: 88.55 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/14.67, allocations: 79.78 kB / 5.072 GB, free: 88.55 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/14.67, allocations: 52.34 kB / 5.072 GB, free: 88.55 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002574/14.67, allocations: 1.075 MB / 5.073 GB, free: 88.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007323/14.68, allocations: 1.261 MB / 5.074 GB, free: 88.35 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (fan.vol.dynBal.U,fan.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {3 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007268/14.69, allocations: 3.895 MB / 5.078 GB, free: 86.84 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.007668/14.7, allocations: 2.033 MB / 5.08 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-05/14.7, allocations: 2.969 kB / 5.08 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/14.7, allocations: 0.5443 MB / 5.081 GB, free: 86.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01315/14.71, allocations: 1.068 MB / 5.082 GB, free: 86.77 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02018/14.73, allocations: 3.959 MB / 5.086 GB, free: 85.78 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003808/14.74, allocations: 1.917 MB / 5.087 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of SimCode: time 1.413e-06/14.74, allocations: 0 / 5.087 GB, free: 85.04 MB / 0.9948 GB Notification: Performance of Templates: time 0.1831/14.92, allocations: 66.61 MB / 5.153 GB, free: 81.05 MB / 0.9948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)