Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_X",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.125 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.0016/0.0016, allocations: 188.1 kB / 315.1 MB, free: 4.254 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.657/1.657, allocations: 205.1 MB / 0.5658 GB, free: 268 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.001227/0.001227, allocations: 77.64 kB / 0.67 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.401/0.4023, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.5787, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5915/1.17, allocations: 132 MB / 1.012 GB, free: 8.109 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.171, allocations: 74.58 kB / 1.012 GB, free: 8.066 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00647/1.177, allocations: 1.502 MB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/1.177, allocations: 8 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/1.177, allocations: 15.89 kB / 1.014 GB, free: 6.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/1.178, allocations: 170.2 kB / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/1.178, allocations: 0 / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/1.178, allocations: 0 / 1.014 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.865e-05/1.178, allocations: 11.62 kB / 1.014 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.638e-05/1.178, allocations: 48.84 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.178, allocations: 4 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/1.178, allocations: 0 / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.178, allocations: 0 / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/1.178, allocations: 133.5 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/1.181, allocations: 269 kB / 1.015 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.631e-05/1.182, allocations: 16.36 kB / 1.015 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/1.182, allocations: 8 kB / 1.015 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/1.182, allocations: 34.64 kB / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.774e-06/1.182, allocations: 0 / 1.015 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001721/1.182, allocations: 52.3 kB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.182, allocations: 51.41 kB / 1.015 GB, free: 5.863 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/1.182, allocations: 92.98 kB / 1.015 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/1.182, allocations: 25.7 kB / 1.015 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/1.182, allocations: 84.27 kB / 1.015 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/1.182, allocations: 14.81 kB / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/1.182, allocations: 0 / 1.015 GB, free: 5.637 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.182, allocations: 314.8 kB / 1.015 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.797e-05/1.182, allocations: 7.062 kB / 1.015 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/1.182, allocations: 8.469 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/1.182, allocations: 7.984 kB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.182, allocations: 0 / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001154/1.182, allocations: 49.28 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/1.182, allocations: 7.938 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.182, allocations: 4.047 kB / 1.015 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/1.182, allocations: 7.969 kB / 1.015 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.697e-05/1.183, allocations: 7.938 kB / 1.015 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/1.183, allocations: 11.89 kB / 1.015 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/1.183, allocations: 7.875 kB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/1.183, allocations: 0 / 1.015 GB, free: 5.215 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 (4): * Single equations (assignments): 4 * 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.914e-05/1.183, allocations: 101 kB / 1.015 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/1.183, allocations: 4 kB / 1.015 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/1.183, allocations: 10.56 kB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/1.183, allocations: 4 kB / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/1.183, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.183, allocations: 0 / 1.015 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/1.183, allocations: 137.7 kB / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.614e-06/1.183, allocations: 0 / 1.016 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/1.183, allocations: 8 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.183, allocations: 0 / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/1.183, allocations: 3.984 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.183, allocations: 3.906 kB / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.183, allocations: 0 / 1.016 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001405/1.183, allocations: 82.19 kB / 1.016 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002648/1.184, allocations: 457.6 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.642e-05/1.184, allocations: 81.11 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/1.184, allocations: 0 / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.787e-05/1.184, allocations: 7.891 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/1.184, allocations: 4 kB / 1.016 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/1.184, allocations: 4 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.822e-05/1.184, allocations: 75.28 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001039/1.185, allocations: 8 kB / 1.016 GB, free: 4.168 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 (4): * Single equations (assignments): 4 * 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.0001276/1.185, allocations: 91.25 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001033/1.185, allocations: 26 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/1.185, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.624e-05/1.185, allocations: 19.89 kB / 1.016 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/1.186, allocations: 4 kB / 1.016 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/1.186, allocations: 82.55 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.186, allocations: 0.6876 MB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/1.186, allocations: 0 / 1.017 GB, free: 3.219 MB / 0.6355 GB