Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.pW_TDewPoi_comparison,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.955/1.955, allocations: 248.6 MB / 255.9 MB, free: 7.109 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.001593/0.001592, allocations: 187.2 kB / 315.1 MB, free: 4.281 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.645/1.645, allocations: 205.1 MB / 0.5658 GB, free: 320 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.001255/0.001254, allocations: 86.7 kB / 0.67 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.405/0.4063, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.5856, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.562/1.148, allocations: 132.9 MB / 1.013 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/1.148, allocations: 75.81 kB / 1.013 GB, free: 7.324 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01188/1.16, allocations: 2.478 MB / 1.016 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.16, allocations: 8 kB / 1.016 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002753/1.16, allocations: 11.98 kB / 1.016 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/1.16, allocations: 171 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.16, allocations: 7.906 kB / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/1.16, allocations: 0 / 1.016 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/1.161, allocations: 18.75 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/1.161, allocations: 53.48 kB / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/1.161, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/1.161, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/1.161, allocations: 0 / 1.016 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001773/1.161, allocations: 141.1 kB / 1.016 GB, free: 4.711 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/1.161, allocations: 52.84 kB / 1.016 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/1.161, allocations: 24.59 kB / 1.016 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.689e-05/1.161, allocations: 7.25 kB / 1.016 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/1.161, allocations: 33.12 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/1.161, allocations: 0 / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0001856/1.161, allocations: 56.19 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/1.161, allocations: 55.09 kB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.395e-05/1.162, allocations: 86.22 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/1.162, allocations: 29.7 kB / 1.016 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.414e-05/1.162, allocations: 84.27 kB / 1.017 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/1.162, allocations: 19.64 kB / 1.017 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.162, allocations: 0 / 1.017 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.162, allocations: 317.9 kB / 1.017 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-05/1.162, allocations: 7.812 kB / 1.017 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/1.162, allocations: 15.31 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.926e-05/1.162, allocations: 11.23 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.162, allocations: 0 / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001891/1.162, allocations: 62.72 kB / 1.017 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/1.162, allocations: 4 kB / 1.017 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.162, allocations: 11.94 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.162, allocations: 3.938 kB / 1.017 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/1.162, allocations: 19.23 kB / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/1.162, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/1.162, allocations: 0 / 1.017 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/1.163, allocations: 3.984 kB / 1.017 GB, free: 3.809 MB / 0.6355 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 (6): * Single equations (assignments): 6 * 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 8.435e-05/1.163, allocations: 108.9 kB / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.428e-05/1.163, allocations: 0 / 1.017 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/1.163, allocations: 87.06 kB / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.163, allocations: 0 / 1.017 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.163, allocations: 4 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/1.163, allocations: 3.906 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/1.163, allocations: 141.5 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.163, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/1.163, allocations: 20.86 kB / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/1.163, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/1.163, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/1.163, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.163, allocations: 0 / 1.017 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001674/1.164, allocations: 93.16 kB / 1.017 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002988/1.164, allocations: 479.8 kB / 1.018 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/1.164, allocations: 84.95 kB / 1.018 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/1.164, allocations: 8 kB / 1.018 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.746e-05/1.164, allocations: 3.984 kB / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/1.164, allocations: 0 / 1.018 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.164, allocations: 4 kB / 1.018 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.494e-05/1.164, allocations: 79.28 kB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001057/1.165, allocations: 8 kB / 1.018 GB, free: 2.637 MB / 0.6355 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 (7): * Single equations (assignments): 7 * 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.0001321/1.165, allocations: 103.2 kB / 1.018 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001299/1.166, allocations: 37.92 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/1.166, allocations: 0 / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.376e-05/1.166, allocations: 19.8 kB / 1.018 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/1.166, allocations: 11.69 kB / 1.018 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/1.166, allocations: 87.08 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003347/1.167, allocations: 0.6919 MB / 1.019 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of SimCode: time 6.51e-07/1.167, allocations: 0 / 1.019 GB, free: 1.652 MB / 0.6355 GB