Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent",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.284/2.284, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.001645/0.001644, allocations: 175.8 kB / 360.3 MB, free: 7.516 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.94/1.94, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001268/0.001267, allocations: 86.41 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3063/0.3076, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6613/0.9689, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.692/6.661, allocations: 2.341 GB / 3.304 GB, free: 138.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/6.662, allocations: 97.2 kB / 3.304 GB, free: 138.2 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 5.517/12.18, allocations: 1.115 GB / 4.419 GB, free: 102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/12.18, allocations: 8 kB / 4.419 GB, free: 102 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/12.18, allocations: 384.5 kB / 4.419 GB, free: 101.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006967/12.19, allocations: 1.662 MB / 4.421 GB, free: 99.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.016e-05/12.19, allocations: 47.94 kB / 4.421 GB, free: 99.89 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003252/12.19, allocations: 84 kB / 4.421 GB, free: 99.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003427/12.2, allocations: 0.9465 MB / 4.422 GB, free: 98.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003691/12.2, allocations: 1.225 MB / 4.423 GB, free: 97.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.456e-05/12.2, allocations: 3.938 kB / 4.423 GB, free: 97.56 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/12.2, allocations: 3.703 kB / 4.423 GB, free: 97.56 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.936e-05/12.2, allocations: 58.62 kB / 4.423 GB, free: 97.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01447/12.21, allocations: 7.228 MB / 4.43 GB, free: 89.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/12.22, allocations: 0.7847 MB / 4.431 GB, free: 89.06 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009468/12.22, allocations: 383.4 kB / 4.432 GB, free: 88.68 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001222/12.22, allocations: 0.7235 MB / 4.432 GB, free: 87.81 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/12.22, allocations: 39.22 kB / 4.432 GB, free: 87.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=75): time 3.667e-06/12.22, allocations: 0 / 4.432 GB, free: 87.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=75): time 0.006446/12.23, allocations: 1.196 MB / 4.434 GB, free: 86.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/12.23, allocations: 60.06 kB / 4.434 GB, free: 86.48 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/12.23, allocations: 0.932 MB / 4.434 GB, free: 85.54 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002664/12.23, allocations: 25.7 kB / 4.435 GB, free: 85.51 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000432/12.23, allocations: 0.5842 MB / 4.435 GB, free: 84.92 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/12.23, allocations: 244.3 kB / 4.435 GB, free: 84.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/12.23, allocations: 0 / 4.435 GB, free: 84.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/12.23, allocations: 345.9 kB / 4.436 GB, free: 84.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/12.23, allocations: 273.9 kB / 4.436 GB, free: 84.07 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008972/12.23, allocations: 0.5522 MB / 4.436 GB, free: 83.39 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/12.23, allocations: 445.2 kB / 4.437 GB, free: 82.96 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/12.23, allocations: 4 kB / 4.437 GB, free: 82.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.007412/12.24, allocations: 1.265 MB / 4.438 GB, free: 81.68 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006484/12.24, allocations: 1.955 MB / 4.44 GB, free: 79.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.371e-05/12.24, allocations: 7.984 kB / 4.44 GB, free: 79.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/12.24, allocations: 378.3 kB / 4.44 GB, free: 79.22 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/12.25, allocations: 147.7 kB / 4.441 GB, free: 79.08 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/12.25, allocations: 2.146 MB / 4.443 GB, free: 76.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/12.25, allocations: 151.1 kB / 4.443 GB, free: 76.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/12.25, allocations: 39.98 kB / 4.443 GB, free: 76.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/12.25, allocations: 4 kB / 4.443 GB, free: 76.66 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006293/12.26, allocations: 1.051 MB / 4.444 GB, free: 75.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/12.26, allocations: 7.938 kB / 4.444 GB, free: 75.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/12.27, allocations: 376.4 kB / 4.444 GB, free: 75.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/12.27, allocations: 155.8 kB / 4.444 GB, free: 75.06 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007703/12.28, allocations: 3.775 MB / 4.448 GB, free: 71.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/12.28, allocations: 143.2 kB / 4.448 GB, free: 70.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/12.28, allocations: 39.98 kB / 4.448 GB, free: 70.86 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003232/12.28, allocations: 128.7 kB / 4.448 GB, free: 70.73 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004113/12.28, allocations: 138.3 kB / 4.448 GB, free: 70.59 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005514/12.28, allocations: 1.256 MB / 4.45 GB, free: 69.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/12.28, allocations: 12 kB / 4.45 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/12.28, allocations: 0 / 4.45 GB, free: 69.31 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004672/12.29, allocations: 1.341 MB / 4.451 GB, free: 67.88 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007921/12.3, allocations: 2.534 MB / 4.453 GB, free: 65.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/12.3, allocations: 0 / 4.453 GB, free: 65.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/12.3, allocations: 116.1 kB / 4.454 GB, free: 65.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002832/12.3, allocations: 362.4 kB / 4.454 GB, free: 64.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001557/12.3, allocations: 8 kB / 4.454 GB, free: 64.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002305/12.3, allocations: 2.125 MB / 4.456 GB, free: 62.59 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.007e-06/12.3, allocations: 4 kB / 4.456 GB, free: 62.59 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003556/12.31, allocations: 1.339 MB / 4.457 GB, free: 61.13 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004149/12.31, allocations: 1.882 MB / 4.459 GB, free: 59.12 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/12.31, allocations: 335 kB / 4.459 GB, free: 58.78 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/12.31, allocations: 4 kB / 4.459 GB, free: 58.77 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002251/12.32, allocations: 107.7 kB / 4.46 GB, free: 58.67 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/12.32, allocations: 56.44 kB / 4.46 GB, free: 58.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/12.32, allocations: 31.98 kB / 4.46 GB, free: 58.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001628/12.32, allocations: 0.7063 MB / 4.46 GB, free: 57.88 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009396/12.33, allocations: 1.665 MB / 4.462 GB, free: 56.21 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004705/12.33, allocations: 2.546 MB / 4.464 GB, free: 53.86 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00432/12.34, allocations: 1.46 MB / 4.466 GB, free: 52.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/12.34, allocations: 0 / 4.466 GB, free: 52.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/12.34, allocations: 441.5 kB / 4.466 GB, free: 51.96 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007247/12.34, allocations: 0.6947 MB / 4.467 GB, free: 51.29 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007172/12.35, allocations: 1.988 MB / 4.469 GB, free: 49.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001736/12.35, allocations: 1.487 MB / 4.47 GB, free: 47.72 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/12.35, allocations: 0 / 4.47 GB, free: 47.72 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementLatent.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)