Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.561/1.561, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.001319/0.001319, allocations: 181.2 kB / 366.3 MB, free: 1.961 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.394/1.394, allocations: 205.2 MB / 0.6256 GB, free: 5.883 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.0009734/0.0009734, allocations: 93.42 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.333e-05/1.38e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.661, allocations: 116.3 MB / 0.9726 GB, free: 68.4 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.99/5.651, allocations: 2.383 GB / 3.356 GB, free: 67.37 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/5.651, allocations: 100.4 kB / 3.356 GB, free: 67.27 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.998/11.65, allocations: 1.668 GB / 5.024 GB, free: 118.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.000343/11.65, allocations: 72.28 kB / 5.024 GB, free: 118.9 MB / 1.01 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.0119/11.66, allocations: 2.936 MB / 5.027 GB, free: 117.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/11.66, allocations: 7.469 kB / 5.027 GB, free: 117.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/11.67, allocations: 0.7818 MB / 5.028 GB, free: 117.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007741/11.68, allocations: 2.829 MB / 5.031 GB, free: 117.2 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.555e-05/11.68, allocations: 56.47 kB / 5.031 GB, free: 117.2 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/11.68, allocations: 115.2 kB / 5.031 GB, free: 117.2 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003414/11.68, allocations: 1.786 MB / 5.032 GB, free: 117.2 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/11.68, allocations: 1.977 MB / 5.034 GB, free: 117 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/11.68, allocations: 0 / 5.034 GB, free: 117 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/11.68, allocations: 3.375 kB / 5.034 GB, free: 117 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-05/11.68, allocations: 79.06 kB / 5.034 GB, free: 117 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01473/11.7, allocations: 9.794 MB / 5.044 GB, free: 112.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/11.7, allocations: 1.161 MB / 5.045 GB, free: 112.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/11.7, allocations: 0.63 MB / 5.046 GB, free: 112.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004149/11.7, allocations: 2.475 MB / 5.048 GB, free: 111.5 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/11.7, allocations: 44.47 kB / 5.048 GB, free: 111.4 MB / 1.01 GB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/11.7, allocations: 3 kB / 5.048 GB, free: 111.4 MB / 1.01 GB Notification: Performance of matching and sorting (n=106): time 0.008487/11.71, allocations: 3.201 MB / 5.051 GB, free: 110.6 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/11.71, allocations: 63.09 kB / 5.051 GB, free: 110.6 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002236/11.72, allocations: 1.432 MB / 5.053 GB, free: 110.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/11.72, allocations: 29.3 kB / 5.053 GB, free: 110.3 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/11.72, allocations: 0.8041 MB / 5.054 GB, free: 109.9 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/11.72, allocations: 360.1 kB / 5.054 GB, free: 109.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.561e-05/11.72, allocations: 3.375 kB / 5.054 GB, free: 109.6 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001007/11.72, allocations: 362.5 kB / 5.054 GB, free: 109.3 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006597/11.72, allocations: 479.5 kB / 5.055 GB, free: 109.3 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/11.72, allocations: 1.037 MB / 5.056 GB, free: 108.6 MB / 1.01 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.02091/11.74, allocations: 3.368 MB / 5.059 GB, free: 108.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.298e-05/11.74, allocations: 3.719 kB / 5.059 GB, free: 108.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005538/11.74, allocations: 1.845 MB / 5.061 GB, free: 108.4 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.001466/11.75, allocations: 5.868 MB / 5.067 GB, free: 102.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/11.75, allocations: 17.89 kB / 5.067 GB, free: 102.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/11.75, allocations: 371.2 kB / 5.067 GB, free: 102.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001507/11.75, allocations: 305.6 kB / 5.067 GB, free: 102.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/11.75, allocations: 1.042 MB / 5.068 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/11.75, allocations: 127.4 kB / 5.068 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001855/11.75, allocations: 82.31 kB / 5.068 GB, free: 101.7 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/11.75, allocations: 3.656 kB / 5.068 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003711/11.76, allocations: 1.575 MB / 5.07 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.994e-05/11.76, allocations: 16.44 kB / 5.07 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/11.76, allocations: 374.3 kB / 5.07 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/11.76, allocations: 299.1 kB / 5.071 GB, free: 101.7 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/11.76, allocations: 1.049 MB / 5.072 GB, free: 101.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002447/11.76, allocations: 109.6 kB / 5.072 GB, free: 101.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/11.76, allocations: 79.38 kB / 5.072 GB, free: 101.1 MB / 1.01 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.000446/11.76, allocations: 154.9 kB / 5.072 GB, free: 101 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/11.76, allocations: 208.8 kB / 5.072 GB, free: 100.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003662/11.77, allocations: 1.502 MB / 5.074 GB, free: 100.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.527e-05/11.77, allocations: 10.91 kB / 5.074 GB, free: 100.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/11.77, allocations: 3.906 kB / 5.074 GB, free: 100.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002312/11.77, allocations: 1.151 MB / 5.075 GB, free: 100.7 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006392/11.78, allocations: 3.527 MB / 5.078 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/11.78, allocations: 7.25 kB / 5.078 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009833/11.78, allocations: 189 kB / 5.078 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/11.78, allocations: 326.4 kB / 5.079 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.599e-05/11.78, allocations: 19.41 kB / 5.079 GB, free: 100.1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009006/11.78, allocations: 0.9879 MB / 5.08 GB, free: 99.56 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/11.78, allocations: 9.344 kB / 5.08 GB, free: 99.56 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00316/11.78, allocations: 2.649 MB / 5.082 GB, free: 98.38 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/11.79, allocations: 415.3 kB / 5.083 GB, free: 98.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/11.79, allocations: 12.17 kB / 5.083 GB, free: 98.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/11.79, allocations: 72.69 kB / 5.083 GB, free: 98.17 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/11.79, allocations: 73.17 kB / 5.083 GB, free: 98.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/11.79, allocations: 49.73 kB / 5.083 GB, free: 98.17 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.001612/11.79, allocations: 1.073 MB / 5.084 GB, free: 98.02 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.00413/11.79, allocations: 1.266 MB / 5.085 GB, free: 97.97 MB / 1.01 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.005132/11.8, allocations: 3.898 MB / 5.089 GB, free: 96.45 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003721/11.8, allocations: 2.036 MB / 5.091 GB, free: 96.41 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/11.8, allocations: 0 / 5.091 GB, free: 96.41 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0008812/11.8, allocations: 0.5387 MB / 5.092 GB, free: 96.41 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/11.81, allocations: 1.068 MB / 5.093 GB, free: 96.38 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/11.82, allocations: 3.975 MB / 5.096 GB, free: 95.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/11.82, allocations: 1.911 MB / 5.098 GB, free: 94.64 MB / 1.01 GB Notification: Performance of SimCode: time 9.22e-07/11.82, allocations: 3.188 kB / 5.098 GB, free: 94.64 MB / 1.01 GB Notification: Performance of Templates: time 0.09936/11.92, allocations: 66.61 MB / 5.163 GB, free: 90.79 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)