Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_InteriorConvection",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.416/2.416, allocations: 248.6 MB / 255.9 MB, free: 7.125 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.002354/0.002354, allocations: 183.5 kB / 315.1 MB, free: 4.219 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.956/1.956, allocations: 205.1 MB / 0.5658 GB, free: 252 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.001295/0.001294, allocations: 95.33 kB / 0.67 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5067/0.5081, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.7233, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.68/1.403, allocations: 135.5 MB / 1.016 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004913/1.404, allocations: 85.12 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.02254/1.427, allocations: 3.33 MB / 1.019 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/1.427, allocations: 11.94 kB / 1.019 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/1.427, allocations: 7.906 kB / 1.019 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/1.427, allocations: 213.4 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/1.427, allocations: 4 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.97e-05/1.427, allocations: 8 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001646/1.427, allocations: 36.25 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/1.428, allocations: 67.98 kB / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/1.428, allocations: 0 / 1.02 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/1.428, allocations: 7.844 kB / 1.02 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/1.428, allocations: 0 / 1.02 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/1.429, allocations: 361.5 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/1.429, allocations: 37.75 kB / 1.02 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.215e-05/1.429, allocations: 16.11 kB / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/1.429, allocations: 0 / 1.02 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/1.429, allocations: 33.38 kB / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.754e-06/1.429, allocations: 0 / 1.02 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003174/1.429, allocations: 61.36 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/1.429, allocations: 51.41 kB / 1.02 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/1.43, allocations: 118.5 kB / 1.02 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/1.43, allocations: 29.7 kB / 1.02 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.207e-05/1.43, allocations: 106.8 kB / 1.02 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/1.43, allocations: 11.38 kB / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/1.43, allocations: 0 / 1.02 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.43, allocations: 314.8 kB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.862e-05/1.43, allocations: 13.88 kB / 1.021 GB, free: 200 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.612e-05/1.43, allocations: 7.062 kB / 1.021 GB, free: 196 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.915e-05/1.43, allocations: 15.55 kB / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.43, allocations: 0 / 1.021 GB, free: 184 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001981/1.43, allocations: 69.28 kB / 1.021 GB, free: 116 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.73e-05/1.43, allocations: 89 kB / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.43, allocations: 0 / 1.021 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/1.43, allocations: 3.984 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001905/1.431, allocations: 15.94 kB / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/1.431, allocations: 0 / 1.021 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/1.431, allocations: 19.98 kB / 1.021 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/1.431, allocations: 3.938 kB / 1.021 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/1.431, allocations: 7.938 kB / 1.021 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001802/1.431, allocations: 27.92 kB / 1.021 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.431, allocations: 3.984 kB / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-06/1.431, allocations: 0 / 1.021 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/1.431, allocations: 16 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/1.431, allocations: 0 / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/1.431, allocations: 11.98 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/1.431, allocations: 0.5469 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 9.367e-05/1.432, allocations: 105 kB / 1.021 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/1.432, allocations: 11.91 kB / 1.021 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/1.432, allocations: 72.69 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/1.432, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.432, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/1.432, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004172/1.432, allocations: 167.3 kB / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.432, allocations: 0 / 1.021 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/1.432, allocations: 15.98 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/1.432, allocations: 7.906 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/1.433, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/1.433, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.433, allocations: 0 / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001876/1.433, allocations: 150.7 kB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000311/1.433, allocations: 0.5141 MB / 1.022 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/1.433, allocations: 81.02 kB / 1.022 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.856e-05/1.433, allocations: 7.984 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/1.433, allocations: 7.906 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/1.433, allocations: 11.05 kB / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/1.433, allocations: 0 / 1.022 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9.247e-05/1.434, allocations: 95.38 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002151/1.436, allocations: 43.84 kB / 1.022 GB, free: 14.57 MB / 0.6511 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 (3): * Single equations (assignments): 3 * 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.0002442/1.436, allocations: 107.2 kB / 1.022 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002242/1.436, allocations: 34.75 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.436, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.197e-05/1.436, allocations: 19.64 kB / 1.022 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005202/1.437, allocations: 17.09 kB / 1.022 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/1.437, allocations: 118.5 kB / 1.022 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/1.438, allocations: 0.711 MB / 1.023 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.438, allocations: 0 / 1.023 GB, free: 13.55 MB / 0.6511 GB