Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TemperatureDryBulb",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 loadModel(Buildings): time 3.944/3.944, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.586/4.53, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/4.788, allocations: 98.74 MB / 0.6283 GB, free: 9.781 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.85/10.64, allocations: 2.177 GB / 2.805 GB, free: 164 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/10.64, allocations: 87.77 kB / 2.805 GB, free: 163.9 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 2.036/12.68, allocations: 413.2 MB / 3.208 GB, free: 86.06 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/12.68, allocations: 8 kB / 3.208 GB, free: 86.05 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003384/12.68, allocations: 266.9 kB / 3.209 GB, free: 85.79 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/12.68, allocations: 484.1 kB / 3.209 GB, free: 85.28 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/12.68, allocations: 12 kB / 3.209 GB, free: 85.27 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/12.68, allocations: 28 kB / 3.209 GB, free: 85.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001157/12.68, allocations: 397.9 kB / 3.21 GB, free: 84.85 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/12.68, allocations: 493.6 kB / 3.21 GB, free: 84.33 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/12.68, allocations: 0 / 3.21 GB, free: 84.33 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-05/12.68, allocations: 7.938 kB / 3.21 GB, free: 84.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/12.68, allocations: 11.98 kB / 3.21 GB, free: 84.31 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004419/12.69, allocations: 2.133 MB / 3.212 GB, free: 82.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/12.69, allocations: 398.7 kB / 3.212 GB, free: 81.67 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004638/12.69, allocations: 197.4 kB / 3.213 GB, free: 81.47 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/12.69, allocations: 0.6324 MB / 3.213 GB, free: 80.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/12.69, allocations: 247.9 kB / 3.214 GB, free: 80.46 MB / 0.823 GB Notification: Performance of pre-optimization done (n=37): time 3.426e-06/12.69, allocations: 4 kB / 3.214 GB, free: 80.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=37): time 0.003587/12.69, allocations: 0.6174 MB / 3.214 GB, free: 79.83 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/12.69, allocations: 63.34 kB / 3.214 GB, free: 79.75 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005371/12.7, allocations: 305.1 kB / 3.214 GB, free: 79.45 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/12.7, allocations: 29.7 kB / 3.215 GB, free: 79.42 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/12.7, allocations: 223.9 kB / 3.215 GB, free: 79.19 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/12.7, allocations: 122.3 kB / 3.215 GB, free: 79.07 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.918e-05/12.7, allocations: 0 / 3.215 GB, free: 79.07 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001009/12.7, allocations: 354.8 kB / 3.215 GB, free: 78.71 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000399/12.7, allocations: 144.9 kB / 3.215 GB, free: 78.57 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/12.7, allocations: 269.5 kB / 3.216 GB, free: 78.26 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008587/12.7, allocations: 240.7 kB / 3.216 GB, free: 78.03 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/12.7, allocations: 0 / 3.216 GB, free: 78.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001837/12.7, allocations: 0.5161 MB / 3.216 GB, free: 77.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/12.7, allocations: 15.88 kB / 3.216 GB, free: 77.49 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/12.7, allocations: 0 / 3.216 GB, free: 77.49 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.807e-05/12.7, allocations: 8 kB / 3.216 GB, free: 77.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/12.7, allocations: 108.2 kB / 3.216 GB, free: 77.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/12.7, allocations: 4 kB / 3.216 GB, free: 77.37 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/12.7, allocations: 91.53 kB / 3.217 GB, free: 77.28 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/12.7, allocations: 20 kB / 3.217 GB, free: 77.26 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.000178/12.7, allocations: 117.7 kB / 3.217 GB, free: 77.14 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/12.7, allocations: 47.44 kB / 3.217 GB, free: 77.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/12.7, allocations: 481.6 kB / 3.217 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/12.7, allocations: 4 kB / 3.217 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/12.7, allocations: 0 / 3.217 GB, free: 76.61 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/12.7, allocations: 7.984 kB / 3.217 GB, free: 76.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003171/12.71, allocations: 1.207 MB / 3.218 GB, free: 75.31 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/12.71, allocations: 8 kB / 3.218 GB, free: 75.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008695/12.71, allocations: 96.25 kB / 3.218 GB, free: 75.21 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/12.71, allocations: 4 kB / 3.218 GB, free: 75.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/12.71, allocations: 8 kB / 3.218 GB, free: 75.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/12.71, allocations: 4 kB / 3.218 GB, free: 75.19 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/12.71, allocations: 8 kB / 3.218 GB, free: 75.18 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001967/12.71, allocations: 1.003 MB / 3.219 GB, free: 74.03 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002902/12.71, allocations: 1.665 MB / 3.221 GB, free: 72.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/12.71, allocations: 156.4 kB / 3.221 GB, free: 72.04 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/12.71, allocations: 15.92 kB / 3.221 GB, free: 72.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009487/12.71, allocations: 52.02 kB / 3.221 GB, free: 71.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/12.71, allocations: 47.83 kB / 3.221 GB, free: 71.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.222e-05/12.71, allocations: 16 kB / 3.221 GB, free: 71.91 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003483/12.72, allocations: 239.1 kB / 3.222 GB, free: 71.68 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002505/12.72, allocations: 419.7 kB / 3.222 GB, free: 71.27 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002709/12.72, allocations: 1.677 MB / 3.224 GB, free: 69.53 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001186/12.72, allocations: 420.4 kB / 3.224 GB, free: 69.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/12.72, allocations: 4.062 kB / 3.224 GB, free: 69.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008295/12.72, allocations: 239 kB / 3.224 GB, free: 68.87 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003305/12.73, allocations: 181.9 kB / 3.224 GB, free: 68.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/12.73, allocations: 0.7881 MB / 3.225 GB, free: 67.84 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/12.73, allocations: 0.9244 MB / 3.226 GB, free: 66.89 MB / 0.823 GB Notification: Performance of SimCode: time 1.463e-06/12.73, allocations: 4 kB / 3.226 GB, free: 66.88 MB / 0.823 GB