Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.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.Examples.Density_pTX,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_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.931/1.931, allocations: 248.6 MB / 255.9 MB, free: 7.164 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.00157/0.00157, allocations: 184.2 kB / 315.1 MB, free: 4.289 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.678/1.678, allocations: 205.1 MB / 0.5658 GB, free: 468 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.001259/0.001258, allocations: 85.02 kB / 0.67 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4167/0.418, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.6033, allocations: 106.3 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6317/1.235, allocations: 158.9 MB / 1.039 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/1.235, allocations: 76.45 kB / 1.039 GB, free: 13.29 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009169/1.245, allocations: 2.229 MB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.245, allocations: 8 kB / 1.041 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/1.245, allocations: 7.906 kB / 1.041 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/1.245, allocations: 167.2 kB / 1.041 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/1.245, allocations: 8.75 kB / 1.041 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/1.245, allocations: 0 / 1.041 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001243/1.245, allocations: 18.81 kB / 1.041 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/1.245, allocations: 48.38 kB / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/1.245, allocations: 0 / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/1.245, allocations: 4 kB / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/1.245, allocations: 0 / 1.041 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004111/1.246, allocations: 254.4 kB / 1.041 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/1.246, allocations: 34.5 kB / 1.041 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/1.246, allocations: 16.23 kB / 1.041 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002071/1.246, allocations: 93.19 kB / 1.041 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.246, allocations: 41.28 kB / 1.042 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=3): time 1.674e-06/1.246, allocations: 0 / 1.042 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3): time 0.0002992/1.246, allocations: 49.5 kB / 1.042 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/1.246, allocations: 58.34 kB / 1.042 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/1.247, allocations: 100.6 kB / 1.042 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/1.247, allocations: 25.7 kB / 1.042 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/1.247, allocations: 95.97 kB / 1.042 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/1.247, allocations: 11.22 kB / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/1.247, allocations: 0 / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.247, allocations: 314.8 kB / 1.042 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.848e-05/1.247, allocations: 7.312 kB / 1.042 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.014e-05/1.247, allocations: 15.47 kB / 1.042 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/1.247, allocations: 6.625 kB / 1.042 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/1.247, allocations: 0 / 1.042 GB, free: 9.867 MB / 0.6667 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001761/1.247, allocations: 56.72 kB / 1.042 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.247, allocations: 15.98 kB / 1.042 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/1.247, allocations: 0.8125 kB / 1.042 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/1.247, allocations: 3.938 kB / 1.042 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/1.247, allocations: 19.98 kB / 1.042 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/1.247, allocations: 0 / 1.042 GB, free: 9.773 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000219/1.248, allocations: 19.98 kB / 1.042 GB, free: 9.754 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/1.248, allocations: 7.906 kB / 1.042 GB, free: 9.746 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.758e-05/1.248, allocations: 104.6 kB / 1.042 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.524e-05/1.248, allocations: 4 kB / 1.042 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/1.248, allocations: 64.39 kB / 1.042 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.248, allocations: 11.98 kB / 1.042 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.248, allocations: 0 / 1.042 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.248, allocations: 0 / 1.042 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/1.248, allocations: 148.7 kB / 1.043 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.248, allocations: 0 / 1.043 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/1.249, allocations: 28.3 kB / 1.043 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.249, allocations: 0 / 1.043 GB, free: 9.355 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/1.249, allocations: 3.984 kB / 1.043 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/1.249, allocations: 3.906 kB / 1.043 GB, free: 9.348 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/1.249, allocations: 7.938 kB / 1.043 GB, free: 9.34 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002065/1.249, allocations: 149.2 kB / 1.043 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003336/1.249, allocations: 0.5277 MB / 1.043 GB, free: 8.652 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 4.141e-05/1.249, allocations: 77.11 kB / 1.043 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/1.249, allocations: 2.625 kB / 1.043 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/1.25, allocations: 19.98 kB / 1.043 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.524e-05/1.25, allocations: 11.92 kB / 1.043 GB, free: 8.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/1.25, allocations: 3.906 kB / 1.043 GB, free: 8.523 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.499e-05/1.25, allocations: 86.53 kB / 1.044 GB, free: 8.441 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001208/1.251, allocations: 19.44 kB / 1.044 GB, free: 8.426 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.0002629/1.251, allocations: 135.2 kB / 1.044 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001315/1.251, allocations: 19 kB / 1.044 GB, free: 8.273 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.251, allocations: 4 kB / 1.044 GB, free: 8.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.232e-05/1.251, allocations: 11.12 kB / 1.044 GB, free: 8.262 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/1.252, allocations: 14.2 kB / 1.044 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/1.252, allocations: 86.92 kB / 1.044 GB, free: 8.148 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003385/1.252, allocations: 0.699 MB / 1.044 GB, free: 7.43 MB / 0.6667 GB Notification: Performance of SimCode: time 7.11e-07/1.252, allocations: 0 / 1.044 GB, free: 7.43 MB / 0.6667 GB