Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.452/2.452, allocations: 248.6 MB / 255.9 MB, free: 7.133 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002432/0.002432, allocations: 178.5 kB / 315.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.987/1.987, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 90.58 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5022/0.5035, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.7075, allocations: 106.2 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.128/6.836, allocations: 2.451 GB / 3.335 GB, free: 243 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/6.836, allocations: 94.59 kB / 3.335 GB, free: 243 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 4.733/11.57, allocations: 0.979 GB / 4.314 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/11.57, allocations: 8.656 kB / 4.314 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/11.57, allocations: 365.8 kB / 4.314 GB, free: 126.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006435/11.58, allocations: 1.608 MB / 4.316 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/11.58, allocations: 36.52 kB / 4.316 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/11.58, allocations: 84.33 kB / 4.316 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002879/11.58, allocations: 0.802 MB / 4.316 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004175/11.59, allocations: 0.9816 MB / 4.317 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/11.59, allocations: 3.281 kB / 4.317 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/11.59, allocations: 0 / 4.317 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.761e-05/11.59, allocations: 44.64 kB / 4.317 GB, free: 125.8 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01539/11.6, allocations: 5.59 MB / 4.323 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00333/11.61, allocations: 0.6525 MB / 4.324 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/11.61, allocations: 382.7 kB / 4.324 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001484/11.61, allocations: 0.6082 MB / 4.324 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.242e-05/11.61, allocations: 42.59 kB / 4.325 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 7.183e-06/11.61, allocations: 0 / 4.325 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.006203/11.62, allocations: 0.8442 MB / 4.325 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/11.62, allocations: 62.06 kB / 4.325 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/11.62, allocations: 0.8788 MB / 4.326 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002622/11.62, allocations: 29.58 kB / 4.326 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003408/11.62, allocations: 474 kB / 4.327 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/11.62, allocations: 236.5 kB / 4.327 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/11.62, allocations: 0 / 4.327 GB, free: 121.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.814e-05/11.62, allocations: 339.2 kB / 4.327 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006186/11.62, allocations: 238.9 kB / 4.328 GB, free: 121.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/11.62, allocations: 490.6 kB / 4.328 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009467/11.62, allocations: 329.9 kB / 4.328 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/11.62, allocations: 3.25 kB / 4.328 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00314/11.62, allocations: 0.8899 MB / 4.329 GB, free: 121 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/11.62, allocations: 1.076 MB / 4.33 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/11.62, allocations: 2.125 kB / 4.33 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/11.62, allocations: 88.77 kB / 4.33 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/11.63, allocations: 173.2 kB / 4.33 GB, free: 119.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00157/11.63, allocations: 1.812 MB / 4.332 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/11.63, allocations: 139.6 kB / 4.332 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001952/11.63, allocations: 33.55 kB / 4.332 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/11.63, allocations: 6.156 kB / 4.332 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00245/11.63, allocations: 0.6742 MB / 4.333 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/11.63, allocations: 2.719 kB / 4.333 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004831/11.63, allocations: 97.75 kB / 4.333 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/11.64, allocations: 160.9 kB / 4.333 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003752/11.64, allocations: 2.995 MB / 4.336 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002676/11.64, allocations: 138.8 kB / 4.336 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/11.64, allocations: 31.8 kB / 4.336 GB, free: 115.6 MB / 0.8855 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.0003514/11.64, allocations: 122.5 kB / 4.337 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005373/11.64, allocations: 136.2 kB / 4.337 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/11.65, allocations: 0.8524 MB / 4.337 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/11.65, allocations: 7.344 kB / 4.338 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/11.65, allocations: 2.188 kB / 4.338 GB, free: 115.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001989/11.65, allocations: 0.9839 MB / 4.338 GB, free: 114.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/11.66, allocations: 2.213 MB / 4.341 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/11.66, allocations: 3.594 kB / 4.341 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/11.66, allocations: 168.2 kB / 4.341 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002649/11.66, allocations: 69.75 kB / 4.341 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.224e-05/11.66, allocations: 13.19 kB / 4.341 GB, free: 114.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/11.66, allocations: 1.744 MB / 4.343 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/11.66, allocations: 3.656 kB / 4.343 GB, free: 112.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003445/11.66, allocations: 1.472 MB / 4.344 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004661/11.67, allocations: 2.357 MB / 4.346 GB, free: 111.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/11.67, allocations: 316.7 kB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/11.67, allocations: 5.844 kB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/11.67, allocations: 119 kB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/11.67, allocations: 44.73 kB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/11.67, allocations: 30.38 kB / 4.347 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001513/11.67, allocations: 0.6745 MB / 4.347 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007756/11.68, allocations: 1.471 MB / 4.349 GB, free: 111 MB / 0.8855 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.004073/11.69, allocations: 2.243 MB / 4.351 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003951/11.69, allocations: 1.279 MB / 4.352 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/11.69, allocations: 3.75 kB / 4.352 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/11.69, allocations: 368.8 kB / 4.353 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0085/11.7, allocations: 0.7254 MB / 4.353 GB, free: 110.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006877/11.71, allocations: 2.102 MB / 4.355 GB, free: 109.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001847/11.71, allocations: 1.433 MB / 4.357 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.743e-06/11.71, allocations: 0 / 4.357 GB, free: 108.9 MB / 0.8855 GB