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.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,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.145 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.001673/0.001672, allocations: 189.2 kB / 315.1 MB, free: 4.273 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.647/1.647, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001249/0.001249, allocations: 98.64 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4007/0.4019, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.5822, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5602/1.143, allocations: 133.2 MB / 1.014 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.143, allocations: 81.25 kB / 1.014 GB, free: 6.988 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.0313/1.174, allocations: 6.158 MB / 1.02 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.174, allocations: 8 kB / 1.02 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/1.175, allocations: 11.89 kB / 1.02 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/1.175, allocations: 167 kB / 1.02 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/1.175, allocations: 4 kB / 1.02 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/1.175, allocations: 0 / 1.02 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001069/1.175, allocations: 15.67 kB / 1.02 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.818e-05/1.175, allocations: 44.28 kB / 1.02 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/1.175, allocations: 4 kB / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/1.175, allocations: 0 / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.175, allocations: 0 / 1.02 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000176/1.175, allocations: 133.5 kB / 1.02 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.177, allocations: 128.2 kB / 1.02 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/1.177, allocations: 16.36 kB / 1.02 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/1.177, allocations: 85.19 kB / 1.02 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/1.177, allocations: 38.56 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/1.177, allocations: 1.031 kB / 1.02 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002779/1.177, allocations: 60.39 kB / 1.02 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.177, allocations: 51.41 kB / 1.02 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/1.178, allocations: 85 kB / 1.02 GB, free: 0.8516 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.351e-05/1.178, allocations: 29.69 kB / 1.02 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.223e-05/1.178, allocations: 84.08 kB / 1.021 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/1.178, allocations: 15.38 kB / 1.021 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.41e-06/1.178, allocations: 4.125 kB / 1.021 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.178, allocations: 310.8 kB / 1.021 GB, free: 412 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.865e-05/1.178, allocations: 10.94 kB / 1.021 GB, free: 404 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/1.178, allocations: 7.375 kB / 1.021 GB, free: 400 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.702e-05/1.178, allocations: 15.92 kB / 1.021 GB, free: 384 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.178, allocations: 0 / 1.021 GB, free: 384 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000159/1.178, allocations: 56.67 kB / 1.021 GB, free: 328 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/1.178, allocations: 4 kB / 1.021 GB, free: 324 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.178, allocations: 4 kB / 1.021 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.178, allocations: 4 kB / 1.021 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/1.178, allocations: 4 kB / 1.021 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.178, allocations: 3.906 kB / 1.021 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/1.178, allocations: 0 / 1.021 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.178, allocations: 4 kB / 1.021 GB, free: 304 kB / 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 8.028e-05/1.178, allocations: 104.9 kB / 1.021 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/1.179, allocations: 0 / 1.021 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003798/1.179, allocations: 91.7 kB / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/1.179, allocations: 0 / 1.021 GB, free: 104 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.179, allocations: 4 kB / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/1.179, allocations: 0 / 1.021 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/1.179, allocations: 137.5 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.179, allocations: 0 / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/1.179, allocations: 8 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/1.179, allocations: 7.891 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.179, allocations: 0 / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/1.179, allocations: 4 kB / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.179, allocations: 0 / 1.021 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001805/1.179, allocations: 87.62 kB / 1.021 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002956/1.18, allocations: 470.9 kB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/1.18, allocations: 85.02 kB / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/1.18, allocations: 0 / 1.022 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.867e-05/1.18, allocations: 4 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.247e-05/1.18, allocations: 7.984 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/1.18, allocations: 4 kB / 1.022 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.998e-05/1.18, allocations: 79.03 kB / 1.022 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00121/1.181, allocations: 55.94 kB / 1.022 GB, free: 15.1 MB / 0.6511 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 (5): * Single equations (assignments): 5 * 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.0005355/1.182, allocations: 175.1 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001241/1.182, allocations: 30.92 kB / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.182, allocations: 96 / 1.022 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.844e-05/1.182, allocations: 19.31 kB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000166/1.182, allocations: 7.906 kB / 1.022 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/1.183, allocations: 67.55 kB / 1.022 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/1.183, allocations: 0.6915 MB / 1.023 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.183, allocations: 0 / 1.023 GB, free: 14.08 MB / 0.6511 GB