Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",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.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 289.8 MB / 297.1 MB, free: 6.586 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.001137/0.001137, allocations: 169.3 kB / 366.3 MB, free: 1.934 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.527/1.527, allocations: 205.1 MB / 0.6256 GB, free: 5.77 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.0008422/0.0008422, allocations: 98.7 kB / 0.7396 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2629/0.2638, allocations: 122.4 MB / 0.8591 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.9273, allocations: 116.3 MB / 0.9727 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.478/6.405, allocations: 2.334 GB / 3.307 GB, free: 116.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/6.405, allocations: 95.89 kB / 3.307 GB, free: 116.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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 3.974/10.38, allocations: 1.008 GB / 4.315 GB, free: 145 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/10.38, allocations: 10.98 kB / 4.315 GB, free: 145 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/10.38, allocations: 364.4 kB / 4.315 GB, free: 144.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/10.39, allocations: 1.6 MB / 4.317 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/10.39, allocations: 38.16 kB / 4.317 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/10.39, allocations: 74.19 kB / 4.317 GB, free: 144.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001767/10.39, allocations: 0.7938 MB / 4.318 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/10.39, allocations: 0.9858 MB / 4.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/10.39, allocations: 2.875 kB / 4.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-05/10.39, allocations: 3.828 kB / 4.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/10.39, allocations: 44.83 kB / 4.319 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007747/10.4, allocations: 5.594 MB / 4.324 GB, free: 139.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/10.4, allocations: 0.6384 MB / 4.325 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005145/10.4, allocations: 390.7 kB / 4.325 GB, free: 139.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005047/10.4, allocations: 0.6032 MB / 4.326 GB, free: 138.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/10.4, allocations: 47.47 kB / 4.326 GB, free: 138.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 2.625e-06/10.4, allocations: 2.734 kB / 4.326 GB, free: 138.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002179/10.4, allocations: 0.8425 MB / 4.327 GB, free: 138.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/10.4, allocations: 61.05 kB / 4.327 GB, free: 138 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/10.4, allocations: 0.8687 MB / 4.328 GB, free: 137.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.126e-05/10.4, allocations: 28.45 kB / 4.328 GB, free: 137.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/10.4, allocations: 482.7 kB / 4.328 GB, free: 137.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/10.4, allocations: 247.1 kB / 4.328 GB, free: 137.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/10.4, allocations: 0 / 4.328 GB, free: 137.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.523e-05/10.4, allocations: 327.1 kB / 4.329 GB, free: 136.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/10.4, allocations: 242.6 kB / 4.329 GB, free: 136.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005077/10.41, allocations: 481 kB / 4.329 GB, free: 136.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/10.41, allocations: 337.6 kB / 4.33 GB, free: 136.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/10.41, allocations: 0 / 4.33 GB, free: 136.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001717/10.41, allocations: 0.9012 MB / 4.33 GB, free: 135.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/10.41, allocations: 1.069 MB / 4.332 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/10.41, allocations: 2.188 kB / 4.332 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002764/10.41, allocations: 96.23 kB / 4.332 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/10.41, allocations: 165.4 kB / 4.332 GB, free: 134.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009812/10.41, allocations: 1.809 MB / 4.334 GB, free: 133 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/10.41, allocations: 138 kB / 4.334 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/10.41, allocations: 25.81 kB / 4.334 GB, free: 132.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/10.41, allocations: 5.031 kB / 4.334 GB, free: 132.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/10.41, allocations: 0.6902 MB / 4.334 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/10.41, allocations: 5.125 kB / 4.334 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002831/10.41, allocations: 96.92 kB / 4.334 GB, free: 132.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/10.41, allocations: 156.9 kB / 4.335 GB, free: 132.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/10.42, allocations: 2.995 MB / 4.338 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/10.42, allocations: 138 kB / 4.338 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/10.42, allocations: 26.44 kB / 4.338 GB, free: 129.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000278/10.42, allocations: 130 kB / 4.338 GB, free: 129.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/10.42, allocations: 133.9 kB / 4.338 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/10.42, allocations: 0.8577 MB / 4.339 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/10.42, allocations: 13.5 kB / 4.339 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/10.42, allocations: 3.906 kB / 4.339 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001133/10.42, allocations: 0.9815 MB / 4.34 GB, free: 128.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/10.43, allocations: 2.219 MB / 4.342 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/10.43, allocations: 2.344 kB / 4.342 GB, free: 127.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000805/10.43, allocations: 168.4 kB / 4.342 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001565/10.43, allocations: 66.55 kB / 4.342 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/10.43, allocations: 12.77 kB / 4.342 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007272/10.43, allocations: 1.757 MB / 4.344 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/10.43, allocations: 2.531 kB / 4.344 GB, free: 125.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001857/10.43, allocations: 1.477 MB / 4.345 GB, free: 125 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002697/10.43, allocations: 2.366 MB / 4.348 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/10.43, allocations: 315.1 kB / 4.348 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/10.43, allocations: 8.875 kB / 4.348 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/10.43, allocations: 116.8 kB / 4.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/10.43, allocations: 41.98 kB / 4.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.596e-05/10.43, allocations: 30.84 kB / 4.348 GB, free: 123.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009751/10.44, allocations: 0.6702 MB / 4.349 GB, free: 122.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005792/10.44, allocations: 1.464 MB / 4.35 GB, free: 122.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003632/10.44, allocations: 2.239 MB / 4.352 GB, free: 121.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002578/10.45, allocations: 1.289 MB / 4.354 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/10.45, allocations: 2.844 kB / 4.354 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006515/10.45, allocations: 375.6 kB / 4.354 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003875/10.45, allocations: 0.715 MB / 4.355 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/10.46, allocations: 2.102 MB / 4.357 GB, free: 119.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001259/10.46, allocations: 1.429 MB / 4.358 GB, free: 118.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/10.46, allocations: 0 / 4.358 GB, free: 118.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)