Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_Density_pTX",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 1.935/1.935, allocations: 248.6 MB / 255.9 MB, free: 7.074 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.001627/0.001627, allocations: 192 kB / 315.1 MB, free: 4.266 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.667/1.667, allocations: 205.1 MB / 0.5658 GB, free: 308 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.001294/0.001294, allocations: 89.06 kB / 0.67 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4047/0.406, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.5834, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6157/1.199, allocations: 158.3 MB / 1.038 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.199, allocations: 74.17 kB / 1.038 GB, free: 13.87 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.005917/1.205, allocations: 1.629 MB / 1.04 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.205, allocations: 8 kB / 1.04 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.72e-05/1.206, allocations: 4 kB / 1.04 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.206, allocations: 167 kB / 1.04 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/1.206, allocations: 29.7 kB / 1.04 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/1.206, allocations: 3.906 kB / 1.04 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.397e-05/1.206, allocations: 7.312 kB / 1.04 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.376e-05/1.206, allocations: 37.67 kB / 1.04 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/1.206, allocations: 0 / 1.04 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.206, allocations: 0 / 1.04 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/1.206, allocations: 4 kB / 1.04 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/1.206, allocations: 132.8 kB / 1.04 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 6.81e-05/1.206, allocations: 33.92 kB / 1.04 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.392e-05/1.206, allocations: 12.61 kB / 1.04 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002076/1.207, allocations: 89.19 kB / 1.04 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/1.207, allocations: 38.47 kB / 1.04 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/1.207, allocations: 0 / 1.04 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002048/1.207, allocations: 45.62 kB / 1.04 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.207, allocations: 51.41 kB / 1.04 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.95e-05/1.207, allocations: 89 kB / 1.04 GB, free: 11.56 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.207, allocations: 28.33 kB / 1.04 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 3.621e-05/1.207, allocations: 80.14 kB / 1.041 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/1.207, allocations: 3.906 kB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/1.207, allocations: 3.938 kB / 1.041 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.207, allocations: 325.9 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/1.207, allocations: 4 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/1.207, allocations: 4 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/1.207, allocations: 7.062 kB / 1.041 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/1.207, allocations: 3.984 kB / 1.041 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001321/1.207, allocations: 45.31 kB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/1.207, allocations: 4 kB / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.207, allocations: 0 / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/1.207, allocations: 0 / 1.041 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/1.208, allocations: 8 kB / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.208, allocations: 4 kB / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.123e-05/1.208, allocations: 0 / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/1.208, allocations: 3.906 kB / 1.041 GB, free: 11.03 MB / 0.6667 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 (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 prepare postOptimizeDAE: time 7.532e-05/1.208, allocations: 105 kB / 1.041 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/1.208, allocations: 4 kB / 1.041 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/1.208, allocations: 57.09 kB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.208, allocations: 0 / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.208, allocations: 3.906 kB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.208, allocations: 7.938 kB / 1.041 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/1.208, allocations: 133.8 kB / 1.041 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.208, allocations: 3.938 kB / 1.041 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.637e-05/1.208, allocations: 7.984 kB / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.208, allocations: 0 / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.208, allocations: 4 kB / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/1.208, allocations: 0 / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.208, allocations: 0 / 1.041 GB, free: 10.67 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001503/1.208, allocations: 80.77 kB / 1.041 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002649/1.209, allocations: 451.8 kB / 1.042 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 6.989e-05/1.209, allocations: 81.11 kB / 1.042 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/1.209, allocations: 0 / 1.042 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/1.209, allocations: 0 / 1.042 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/1.209, allocations: 11.89 kB / 1.042 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/1.209, allocations: 3 kB / 1.042 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.937e-05/1.209, allocations: 82.41 kB / 1.042 GB, free: 9.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00106/1.21, allocations: 19.94 kB / 1.042 GB, free: 9.91 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 (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.0002624/1.21, allocations: 142.7 kB / 1.042 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 8.756e-05/1.211, allocations: 11.94 kB / 1.042 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.211, allocations: 0 / 1.042 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 3.077e-05/1.211, allocations: 11.88 kB / 1.042 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/1.211, allocations: 7.984 kB / 1.042 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002091/1.211, allocations: 62.22 kB / 1.042 GB, free: 9.656 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003367/1.211, allocations: 0.6876 MB / 1.043 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of SimCode: time 6.82e-07/1.211, allocations: 0 / 1.043 GB, free: 8.945 MB / 0.6667 GB