Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Convection.Examples.Exterior.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.Convection.Examples.Exterior,fileNamePrefix="Buildings_7_0_0_Buildings_HeatTransfer_Convection_Examples_Exterior",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.395/2.395, allocations: 248.6 MB / 255.9 MB, free: 7.207 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.001656/0.001656, allocations: 196.2 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.1 MB / 0.5658 GB, free: 288 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.001269/0.001269, allocations: 95.25 kB / 0.67 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5343/0.5356, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.7504, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7342/1.485, allocations: 138.3 MB / 1.019 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002944/1.485, allocations: 76.64 kB / 1.019 GB, free: 1.93 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.08011/1.565, allocations: 15.25 MB / 1.033 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/1.565, allocations: 12 kB / 1.033 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002116/1.567, allocations: 127.2 kB / 1.034 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.569, allocations: 354.4 kB / 1.034 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/1.569, allocations: 12 kB / 1.034 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.569, allocations: 19.94 kB / 1.034 GB, free: 4.586 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001225/1.57, allocations: 207.8 kB / 1.034 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/1.571, allocations: 233.5 kB / 1.034 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/1.571, allocations: 0 / 1.034 GB, free: 4.273 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.689e-05/1.572, allocations: 4 kB / 1.034 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.049e-05/1.572, allocations: 8 kB / 1.034 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004248/1.576, allocations: 0.8122 MB / 1.035 GB, free: 3.562 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/1.577, allocations: 210.6 kB / 1.035 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003985/1.577, allocations: 90.66 kB / 1.035 GB, free: 3.344 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003147/1.578, allocations: 89.09 kB / 1.036 GB, free: 3.238 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/1.578, allocations: 33.31 kB / 1.036 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 3.738e-06/1.578, allocations: 0 / 1.036 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.00233/1.58, allocations: 259.3 kB / 1.036 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/1.58, allocations: 58.91 kB / 1.036 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/1.581, allocations: 205.4 kB / 1.036 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/1.581, allocations: 25.81 kB / 1.036 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/1.581, allocations: 182.4 kB / 1.036 GB, free: 2.543 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001343/1.581, allocations: 76.44 kB / 1.036 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/1.581, allocations: 0 / 1.036 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002015/1.581, allocations: 338 kB / 1.037 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/1.582, allocations: 65.61 kB / 1.037 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/1.582, allocations: 70.2 kB / 1.037 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/1.584, allocations: 124.5 kB / 1.037 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.584, allocations: 0 / 1.037 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.002245/1.586, allocations: 291.4 kB / 1.037 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.586, allocations: 8 kB / 1.037 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/1.586, allocations: 0 / 1.037 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/1.586, allocations: 0 / 1.037 GB, free: 1.723 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/1.587, allocations: 79.86 kB / 1.037 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/1.587, allocations: 4 kB / 1.037 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/1.588, allocations: 39.67 kB / 1.037 GB, free: 1.602 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/1.588, allocations: 11.48 kB / 1.037 GB, free: 1.594 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 (33): * Single equations (assignments): 33 * 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.0001955/1.589, allocations: 108.9 kB / 1.037 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/1.589, allocations: 31.61 kB / 1.038 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/1.591, allocations: 330.2 kB / 1.038 GB, free: 1.176 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.591, allocations: 4 kB / 1.038 GB, free: 1.172 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.591, allocations: 3.906 kB / 1.038 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.591, allocations: 0 / 1.038 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008013/1.592, allocations: 298.2 kB / 1.038 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/1.592, allocations: 4 kB / 1.038 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.593, allocations: 59.81 kB / 1.038 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/1.593, allocations: 0 / 1.038 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/1.593, allocations: 7.984 kB / 1.038 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.593, allocations: 0 / 1.038 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.594, allocations: 0 / 1.038 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001635/1.595, allocations: 250.9 kB / 1.038 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001726/1.597, allocations: 0.6142 MB / 1.039 GB, free: 4 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000406/1.597, allocations: 136.9 kB / 1.039 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.598, allocations: 4 kB / 1.039 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/1.598, allocations: 23.98 kB / 1.039 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/1.598, allocations: 15.41 kB / 1.039 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.059e-05/1.599, allocations: 4 kB / 1.039 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003794/1.599, allocations: 181 kB / 1.039 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.003305/1.602, allocations: 107.6 kB / 1.039 GB, free: 15.57 MB / 0.6667 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 (21): * Single equations (assignments): 21 * 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.0005802/1.603, allocations: 149.7 kB / 1.04 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00064/1.604, allocations: 178 kB / 1.04 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.604, allocations: 0 / 1.04 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002497/1.604, allocations: 81.41 kB / 1.04 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007946/1.605, allocations: 60.25 kB / 1.04 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/1.607, allocations: 375.1 kB / 1.04 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007532/1.608, allocations: 0.8249 MB / 1.041 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of SimCode: time 1.403e-06/1.608, allocations: 3.938 kB / 1.041 GB, free: 13.96 MB / 0.6667 GB