Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.HANaturalCylinder,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.256/2.256, allocations: 248.6 MB / 255.9 MB, free: 7.102 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.00167/0.00167, allocations: 179.7 kB / 315.1 MB, free: 4.254 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.881/1.881, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001238/0.001238, allocations: 94.08 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4927/0.4939, allocations: 112.4 MB / 0.7797 GB, free: 52.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.7362, allocations: 106.2 MB / 0.8835 GB, free: 9.777 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9372/1.673, allocations: 353.5 MB / 1.229 GB, free: 9.613 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003391/1.674, allocations: 84.53 kB / 1.229 GB, free: 9.57 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0533/1.727, allocations: 13.72 MB / 1.242 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.727, allocations: 10.84 kB / 1.242 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/1.727, allocations: 18.88 kB / 1.242 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/1.728, allocations: 182.8 kB / 1.242 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/1.728, allocations: 0 / 1.242 GB, free: 14.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/1.728, allocations: 8 kB / 1.242 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003263/1.728, allocations: 91.84 kB / 1.242 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/1.728, allocations: 74.23 kB / 1.243 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.728, allocations: 0 / 1.243 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/1.728, allocations: 8 kB / 1.243 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/1.728, allocations: 3.906 kB / 1.243 GB, free: 14.39 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009713/1.729, allocations: 387.6 kB / 1.243 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002444/1.73, allocations: 91.81 kB / 1.243 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/1.73, allocations: 49.47 kB / 1.243 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.731, allocations: 0.9263 MB / 1.244 GB, free: 12.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/1.732, allocations: 34.56 kB / 1.244 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=12): time 3.226e-06/1.732, allocations: 0 / 1.244 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12): time 0.0007767/1.732, allocations: 141.7 kB / 1.244 GB, free: 12.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/1.732, allocations: 59.34 kB / 1.244 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/1.733, allocations: 144 kB / 1.244 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/1.733, allocations: 25.7 kB / 1.244 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.767e-05/1.733, allocations: 103.2 kB / 1.244 GB, free: 12.42 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/1.733, allocations: 46.2 kB / 1.244 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/1.733, allocations: 4 kB / 1.244 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001581/1.733, allocations: 318.3 kB / 1.245 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/1.733, allocations: 49.19 kB / 1.245 GB, free: 12.04 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/1.733, allocations: 74.73 kB / 1.245 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.734, allocations: 140.1 kB / 1.245 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.734, allocations: 4 kB / 1.245 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001353/1.736, allocations: 266.9 kB / 1.245 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/1.736, allocations: 4 kB / 1.245 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.736, allocations: 0 / 1.245 GB, free: 11.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.736, allocations: 7.984 kB / 1.245 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005932/1.736, allocations: 60 kB / 1.245 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/1.737, allocations: 4.625 kB / 1.245 GB, free: 11.56 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003587/1.737, allocations: 35.05 kB / 1.245 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/1.737, allocations: 11.98 kB / 1.245 GB, free: 11.52 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001946/1.737, allocations: 110.8 kB / 1.246 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/1.737, allocations: 18.44 kB / 1.246 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007928/1.738, allocations: 152.6 kB / 1.246 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/1.738, allocations: 3.984 kB / 1.246 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/1.738, allocations: 0 / 1.246 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.738, allocations: 0 / 1.246 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003075/1.738, allocations: 193.3 kB / 1.246 GB, free: 11.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.739, allocations: 3.938 kB / 1.246 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/1.739, allocations: 46.59 kB / 1.246 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.739, allocations: 0 / 1.246 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/1.739, allocations: 0 / 1.246 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/1.739, allocations: 0 / 1.246 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.739, allocations: 3.906 kB / 1.246 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007004/1.74, allocations: 243.3 kB / 1.246 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007622/1.74, allocations: 0.6091 MB / 1.247 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.463e-05/1.741, allocations: 89 kB / 1.247 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.741, allocations: 4 kB / 1.247 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/1.741, allocations: 19.98 kB / 1.247 GB, free: 10.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/1.741, allocations: 15.33 kB / 1.247 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/1.741, allocations: 0 / 1.247 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001116/1.741, allocations: 109.6 kB / 1.247 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001337/1.742, allocations: 70.17 kB / 1.247 GB, free: 9.887 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004401/1.743, allocations: 177.1 kB / 1.247 GB, free: 9.711 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004712/1.743, allocations: 115.5 kB / 1.247 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.743, allocations: 0 / 1.247 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/1.744, allocations: 40.31 kB / 1.247 GB, free: 9.602 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.744, allocations: 23.3 kB / 1.247 GB, free: 9.582 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/1.745, allocations: 164.2 kB / 1.248 GB, free: 9.414 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/1.745, allocations: 0.7232 MB / 1.248 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of SimCode: time 9.61e-07/1.745, allocations: 0 / 1.248 GB, free: 8.668 MB / 0.8386 GB