Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) [: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.0.1-maint.8.0.x/package.mo): time 1.37/1.37, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001013/0.001013, allocations: 187.5 kB / 361.1 MB, free: 7.094 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.182/1.182, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008434/0.0008435, allocations: 90.25 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2137/0.2146, allocations: 121.5 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.7641, allocations: 115.3 MB / 0.9638 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.894/4.659, allocations: 2.382 GB / 3.346 GB, free: 115.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/4.659, allocations: 100.7 kB / 3.346 GB, free: 115.7 MB / 0.948 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 5.063/9.722, allocations: 1.671 GB / 5.017 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/9.722, allocations: 7.5 kB / 5.017 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005593/9.727, allocations: 0.7866 MB / 5.018 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006613/9.734, allocations: 2.83 MB / 5.021 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.003e-05/9.734, allocations: 56.06 kB / 5.021 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004634/9.735, allocations: 114.9 kB / 5.021 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003526/9.738, allocations: 1.788 MB / 5.023 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004455/9.743, allocations: 1.968 MB / 5.025 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.475e-05/9.743, allocations: 7.594 kB / 5.025 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002426/9.743, allocations: 7.25 kB / 5.025 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.58e-05/9.743, allocations: 78.11 kB / 5.025 GB, free: 103.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/9.758, allocations: 9.786 MB / 5.034 GB, free: 98.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/9.76, allocations: 1.158 MB / 5.035 GB, free: 98.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008006/9.761, allocations: 0.627 MB / 5.036 GB, free: 98.83 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003993/9.765, allocations: 2.479 MB / 5.038 GB, free: 97.65 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/9.765, allocations: 43.78 kB / 5.038 GB, free: 97.61 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 3.226e-06/9.765, allocations: 2.953 kB / 5.038 GB, free: 97.61 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106): time 0.008682/9.774, allocations: 3.206 MB / 5.042 GB, free: 96.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/9.774, allocations: 63.34 kB / 5.042 GB, free: 96.82 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002302/9.776, allocations: 1.436 MB / 5.043 GB, free: 96.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/9.776, allocations: 29.36 kB / 5.043 GB, free: 96.57 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/9.777, allocations: 0.7955 MB / 5.044 GB, free: 96.12 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/9.777, allocations: 369.8 kB / 5.044 GB, free: 95.88 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/9.777, allocations: 0 / 5.044 GB, free: 95.88 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001086/9.777, allocations: 363.4 kB / 5.045 GB, free: 95.58 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006912/9.778, allocations: 477.4 kB / 5.045 GB, free: 95.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/9.779, allocations: 1.034 MB / 5.046 GB, free: 94.89 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.02064/9.8, allocations: 3.371 MB / 5.049 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.292e-05/9.8, allocations: 3.938 kB / 5.049 GB, free: 94.77 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005133/9.805, allocations: 1.847 MB / 5.051 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001049/9.806, allocations: 5.871 MB / 5.057 GB, free: 88.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/9.806, allocations: 19.56 kB / 5.057 GB, free: 88.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001531/9.808, allocations: 374.9 kB / 5.057 GB, free: 88.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/9.809, allocations: 296.4 kB / 5.057 GB, free: 88.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/9.81, allocations: 1.042 MB / 5.058 GB, free: 87.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/9.812, allocations: 132.9 kB / 5.059 GB, free: 87.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/9.813, allocations: 77.14 kB / 5.059 GB, free: 87.96 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/9.813, allocations: 3.938 kB / 5.059 GB, free: 87.96 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00349/9.816, allocations: 1.58 MB / 5.06 GB, free: 87.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/9.816, allocations: 12.34 kB / 5.06 GB, free: 87.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/9.818, allocations: 372.2 kB / 5.061 GB, free: 87.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/9.819, allocations: 299.4 kB / 5.061 GB, free: 87.91 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/9.82, allocations: 1.048 MB / 5.062 GB, free: 87.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/9.823, allocations: 104.5 kB / 5.062 GB, free: 87.37 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/9.823, allocations: 80.38 kB / 5.062 GB, free: 87.37 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.0003682/9.823, allocations: 150 kB / 5.062 GB, free: 87.26 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/9.824, allocations: 212.6 kB / 5.062 GB, free: 87.15 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003339/9.827, allocations: 1.51 MB / 5.064 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/9.827, allocations: 11.78 kB / 5.064 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/9.827, allocations: 0 / 5.064 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002335/9.829, allocations: 1.156 MB / 5.065 GB, free: 86.95 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007524/9.837, allocations: 3.524 MB / 5.068 GB, free: 86.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/9.837, allocations: 5.5 kB / 5.068 GB, free: 86.34 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009616/9.838, allocations: 192.5 kB / 5.069 GB, free: 86.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001337/9.839, allocations: 330.3 kB / 5.069 GB, free: 86.33 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.262e-05/9.839, allocations: 16.86 kB / 5.069 GB, free: 86.33 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000858/9.84, allocations: 0.9879 MB / 5.07 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/9.84, allocations: 9.344 kB / 5.07 GB, free: 85.8 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003134/9.843, allocations: 2.659 MB / 5.073 GB, free: 84.63 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004594/9.848, allocations: 3.887 MB / 5.076 GB, free: 83.07 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/9.849, allocations: 417.2 kB / 5.077 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005042/9.85, allocations: 16.7 kB / 5.077 GB, free: 82.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/9.851, allocations: 71.16 kB / 5.077 GB, free: 82.85 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/9.851, allocations: 70.78 kB / 5.077 GB, free: 82.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.591e-05/9.851, allocations: 51.28 kB / 5.077 GB, free: 82.85 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001659/9.853, allocations: 1.076 MB / 5.078 GB, free: 82.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007066/9.86, allocations: 2.19 MB / 5.08 GB, free: 82.65 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.00506/9.865, allocations: 3.89 MB / 5.084 GB, free: 81.16 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003668/9.869, allocations: 2.044 MB / 5.086 GB, free: 81.12 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/9.869, allocations: 0 / 5.086 GB, free: 81.12 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009044/9.87, allocations: 0.5482 MB / 5.086 GB, free: 81.11 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005408/9.875, allocations: 1.062 MB / 5.088 GB, free: 81.09 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009475/9.885, allocations: 3.972 MB / 5.091 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001794/9.887, allocations: 1.916 MB / 5.093 GB, free: 79.36 MB / 0.9948 GB Notification: Performance of SimCode: time 1.062e-06/9.887, allocations: 0 / 5.093 GB, free: 79.36 MB / 0.9948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)