Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.225/2.225, allocations: 284.8 MB / 292.1 MB, free: 10.75 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.001582/0.001582, allocations: 185.3 kB / 360.3 MB, free: 7.555 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.918/1.918, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001205/0.001205, allocations: 90.08 kB / 0.7317 GB, free: 45.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3032/0.3045, allocations: 121.4 MB / 0.8502 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.9755, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.719/6.694, allocations: 2.382 GB / 3.345 GB, free: 68.17 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006862/6.695, allocations: 100.1 kB / 3.345 GB, free: 68.12 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 8.738/15.43, allocations: 1.671 GB / 5.016 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/15.43, allocations: 10.22 kB / 5.016 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009213/15.44, allocations: 0.7812 MB / 5.017 GB, free: 107 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01206/15.45, allocations: 2.816 MB / 5.02 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/15.46, allocations: 58.72 kB / 5.02 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009025/15.46, allocations: 114 kB / 5.02 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006875/15.46, allocations: 1.791 MB / 5.021 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007446/15.47, allocations: 1.968 MB / 5.023 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-05/15.47, allocations: 5.094 kB / 5.023 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/15.47, allocations: 0 / 5.023 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/15.47, allocations: 83.23 kB / 5.023 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/15.5, allocations: 9.795 MB / 5.033 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/15.5, allocations: 1.16 MB / 5.034 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/15.51, allocations: 0.6314 MB / 5.035 GB, free: 102 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008527/15.51, allocations: 2.469 MB / 5.037 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/15.51, allocations: 45 kB / 5.037 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 4.609e-06/15.51, allocations: 2.953 kB / 5.037 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=106): time 0.01542/15.53, allocations: 3.205 MB / 5.04 GB, free: 99.96 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/15.53, allocations: 61.59 kB / 5.04 GB, free: 99.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/15.53, allocations: 1.434 MB / 5.042 GB, free: 99.68 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004026/15.53, allocations: 29.2 kB / 5.042 GB, free: 99.65 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006892/15.54, allocations: 0.808 MB / 5.043 GB, free: 99.19 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007408/15.54, allocations: 356.3 kB / 5.043 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/15.54, allocations: 5.625 kB / 5.043 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001297/15.54, allocations: 365.2 kB / 5.043 GB, free: 98.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/15.54, allocations: 481.3 kB / 5.044 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002991/15.54, allocations: 1.033 MB / 5.045 GB, free: 97.95 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.04548/15.59, allocations: 3.376 MB / 5.048 GB, free: 97.83 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/15.59, allocations: 6.469 kB / 5.048 GB, free: 97.83 MB / 0.9948 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.007643/15.59, allocations: 1.841 MB / 5.05 GB, free: 97.66 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001298/15.6, allocations: 5.866 MB / 5.056 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/15.6, allocations: 11.88 kB / 5.056 GB, free: 91.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003107/15.6, allocations: 373.5 kB / 5.056 GB, free: 91.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/15.6, allocations: 303 kB / 5.056 GB, free: 91.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/15.6, allocations: 1.046 MB / 5.057 GB, free: 91.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/15.61, allocations: 129.5 kB / 5.057 GB, free: 91.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004767/15.61, allocations: 77.12 kB / 5.058 GB, free: 91.02 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/15.61, allocations: 3.844 kB / 5.058 GB, free: 91.02 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008058/15.62, allocations: 1.585 MB / 5.059 GB, free: 90.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-05/15.62, allocations: 14.25 kB / 5.059 GB, free: 90.99 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/15.62, allocations: 369.4 kB / 5.059 GB, free: 90.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/15.62, allocations: 300.8 kB / 5.06 GB, free: 90.98 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/15.62, allocations: 1.043 MB / 5.061 GB, free: 90.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003751/15.63, allocations: 109.9 kB / 5.061 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003804/15.63, allocations: 79.14 kB / 5.061 GB, free: 90.43 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.0005679/15.63, allocations: 158 kB / 5.061 GB, free: 90.32 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/15.63, allocations: 212.9 kB / 5.061 GB, free: 90.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/15.64, allocations: 1.502 MB / 5.063 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.349e-05/15.64, allocations: 14.38 kB / 5.063 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/15.64, allocations: 0 / 5.063 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004802/15.64, allocations: 1.148 MB / 5.064 GB, free: 90.01 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/15.66, allocations: 3.531 MB / 5.067 GB, free: 89.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/15.66, allocations: 6.219 kB / 5.067 GB, free: 89.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/15.66, allocations: 192.1 kB / 5.068 GB, free: 89.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/15.66, allocations: 323.1 kB / 5.068 GB, free: 89.39 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003766/15.66, allocations: 18 kB / 5.068 GB, free: 89.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/15.67, allocations: 0.9882 MB / 5.069 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/15.67, allocations: 8.906 kB / 5.069 GB, free: 88.86 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008534/15.67, allocations: 2.66 MB / 5.071 GB, free: 87.69 MB / 0.9948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01227/15.69, allocations: 3.889 MB / 5.075 GB, free: 86.13 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/15.69, allocations: 418.4 kB / 5.076 GB, free: 85.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001245/15.69, allocations: 14.72 kB / 5.076 GB, free: 85.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004745/15.7, allocations: 69.59 kB / 5.076 GB, free: 85.91 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004351/15.7, allocations: 76.8 kB / 5.076 GB, free: 85.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002822/15.7, allocations: 41.47 kB / 5.076 GB, free: 85.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.004328/15.7, allocations: 1.076 MB / 5.077 GB, free: 85.77 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01847/15.72, allocations: 2.195 MB / 5.079 GB, free: 85.71 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.01139/15.73, allocations: 3.897 MB / 5.083 GB, free: 84.21 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006341/15.74, allocations: 2.029 MB / 5.085 GB, free: 84.17 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.695e-05/15.74, allocations: 3.938 kB / 5.085 GB, free: 84.17 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/15.74, allocations: 0.5393 MB / 5.085 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0104/15.75, allocations: 1.065 MB / 5.086 GB, free: 84.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/15.77, allocations: 3.976 MB / 5.09 GB, free: 83.14 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003797/15.77, allocations: 1.914 MB / 5.092 GB, free: 82.4 MB / 0.9948 GB Notification: Performance of SimCode: time 1.212e-06/15.77, allocations: 3.844 kB / 5.092 GB, free: 82.4 MB / 0.9948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatentLoop.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatentLoop.pipe 2>&1)