Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_7_0_0_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.332/2.332, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.001752/0.001751, allocations: 181.2 kB / 315.1 MB, free: 4.27 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.081/2.081, allocations: 205.1 MB / 0.5658 GB, free: 352 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.001296/0.001296, allocations: 94.7 kB / 0.67 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4904/0.4917, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/0.7468, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.533/2.28, allocations: 430.9 MB / 1.304 GB, free: 250.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003032/2.28, allocations: 79.73 kB / 1.304 GB, free: 250.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.4052/2.686, allocations: 85.21 MB / 1.388 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/2.686, allocations: 15.98 kB / 1.388 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002362/2.686, allocations: 19.81 kB / 1.388 GB, free: 213.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/2.686, allocations: 213.4 kB / 1.388 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/2.686, allocations: 8 kB / 1.388 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/2.686, allocations: 8 kB / 1.388 GB, free: 212.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006817/2.687, allocations: 413.9 kB / 1.388 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/2.687, allocations: 217.9 kB / 1.388 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/2.687, allocations: 0 / 1.388 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/2.687, allocations: 0 / 1.388 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/2.687, allocations: 19.53 kB / 1.388 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001413/2.689, allocations: 0.9954 MB / 1.389 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004267/2.689, allocations: 141.6 kB / 1.39 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/2.69, allocations: 56.27 kB / 1.39 GB, free: 211.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/2.691, allocations: 1.963 MB / 1.392 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/2.691, allocations: 42.38 kB / 1.392 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 2.655e-06/2.691, allocations: 0 / 1.392 GB, free: 208.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0007833/2.692, allocations: 128.4 kB / 1.392 GB, free: 208.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/2.692, allocations: 55.28 kB / 1.392 GB, free: 208.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001373/2.692, allocations: 137.3 kB / 1.392 GB, free: 208.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/2.692, allocations: 25.7 kB / 1.392 GB, free: 208.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.902e-05/2.692, allocations: 139.3 kB / 1.392 GB, free: 208.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/2.692, allocations: 58.5 kB / 1.392 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/2.692, allocations: 0 / 1.392 GB, free: 208.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.917e-05/2.693, allocations: 318.5 kB / 1.392 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/2.693, allocations: 31.36 kB / 1.392 GB, free: 207.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/2.693, allocations: 135.7 kB / 1.393 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/2.693, allocations: 78.98 kB / 1.393 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/2.693, allocations: 0 / 1.393 GB, free: 207.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007633/2.694, allocations: 212.2 kB / 1.393 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/2.694, allocations: 4 kB / 1.393 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/2.694, allocations: 4 kB / 1.393 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/2.694, allocations: 11.94 kB / 1.393 GB, free: 207.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003745/2.695, allocations: 55.91 kB / 1.393 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/2.695, allocations: 7.984 kB / 1.393 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/2.695, allocations: 24.22 kB / 1.393 GB, free: 207.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/2.695, allocations: 23.67 kB / 1.393 GB, free: 207.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001041/2.695, allocations: 115.3 kB / 1.393 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/2.695, allocations: 15.81 kB / 1.393 GB, free: 207.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009428/2.696, allocations: 182.4 kB / 1.393 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.187e-05/2.696, allocations: 4 kB / 1.393 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/2.696, allocations: 3.906 kB / 1.393 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/2.696, allocations: 0 / 1.393 GB, free: 207.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/2.696, allocations: 184.2 kB / 1.393 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/2.696, allocations: 3.906 kB / 1.393 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/2.697, allocations: 31.92 kB / 1.393 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/2.697, allocations: 0 / 1.393 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/2.697, allocations: 11.44 kB / 1.394 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/2.697, allocations: 7.984 kB / 1.394 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.697, allocations: 0 / 1.394 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006887/2.697, allocations: 229.2 kB / 1.394 GB, free: 206.6 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007843/2.698, allocations: 0.6221 MB / 1.394 GB, free: 206 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/2.698, allocations: 120 kB / 1.394 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/2.698, allocations: 3.906 kB / 1.394 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/2.699, allocations: 11.69 kB / 1.394 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/2.699, allocations: 11.98 kB / 1.394 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/2.699, allocations: 7.984 kB / 1.394 GB, free: 205.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.26e-05/2.699, allocations: 112.7 kB / 1.395 GB, free: 205.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001472/2.701, allocations: 90.55 kB / 1.395 GB, free: 205.6 MB / 0.8698 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0004411/2.701, allocations: 222.3 kB / 1.395 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003663/2.701, allocations: 114.5 kB / 1.395 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/2.701, allocations: 0 / 1.395 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/2.701, allocations: 43.73 kB / 1.395 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/2.702, allocations: 27.08 kB / 1.395 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/2.703, allocations: 168.1 kB / 1.395 GB, free: 205.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003136/2.703, allocations: 0.7514 MB / 1.396 GB, free: 204.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.122e-06/2.703, allocations: 0 / 1.396 GB, free: 204.3 MB / 0.8698 GB