Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison") [: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 8.1.4-maint.8.1.x/package.mo): time 1.467/1.467, allocations: 289.8 MB / 297.1 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 176.3 kB / 366.3 MB, free: 1.984 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.261/1.261, allocations: 205.1 MB / 0.6256 GB, free: 5.84 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008119/0.0008121, allocations: 87.84 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.456e-06/8.476e-06, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5543, allocations: 116.3 MB / 0.9726 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1636/0.7179, allocations: 139.3 MB / 1.109 GB, free: 9.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.7182, allocations: 75.95 kB / 1.109 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.007633/0.7258, allocations: 2.112 MB / 1.111 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7259, allocations: 0 / 1.111 GB, free: 6.988 MB / 0.7136 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.0004048/0.7263, allocations: 350.3 kB / 1.111 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.7264, allocations: 12.02 kB / 1.111 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.7266, allocations: 15.89 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.7268, allocations: 163.1 kB / 1.111 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.7268, allocations: 7.984 kB / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.7268, allocations: 0 / 1.111 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001089/0.727, allocations: 23.98 kB / 1.111 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.7271, allocations: 49.67 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.7271, allocations: 0 / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.7271, allocations: 3.906 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7271, allocations: 0 / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.7273, allocations: 134.2 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.7276, allocations: 62.59 kB / 1.112 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.155e-05/0.7276, allocations: 25.02 kB / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.7277, allocations: 0 / 1.112 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.7277, allocations: 34.56 kB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.7277, allocations: 1.781 kB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.000209/0.7279, allocations: 61.59 kB / 1.112 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.728, allocations: 51.41 kB / 1.112 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.7281, allocations: 93 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.7281, allocations: 25.7 kB / 1.112 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.7282, allocations: 84.08 kB / 1.112 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.7282, allocations: 27.58 kB / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-06/0.7282, allocations: 0 / 1.112 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.7284, allocations: 317.3 kB / 1.112 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.7284, allocations: 8 kB / 1.112 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.7284, allocations: 12 kB / 1.112 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.964e-05/0.7285, allocations: 16.11 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7285, allocations: 0 / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001023/0.7286, allocations: 57.69 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7286, allocations: 4 kB / 1.112 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.7287, allocations: 4 kB / 1.112 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7287, allocations: 0 / 1.112 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.7288, allocations: 15.98 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7288, allocations: 3.906 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.094e-05/0.7289, allocations: 1.219 kB / 1.112 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.7289, allocations: 0 / 1.112 GB, free: 5.164 MB / 0.7136 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.351e-05/0.729, allocations: 112.9 kB / 1.112 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.729, allocations: 3.906 kB / 1.112 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.7293, allocations: 89.53 kB / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7293, allocations: 0 / 1.113 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7293, allocations: 4 kB / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7293, allocations: 0 / 1.113 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.7294, allocations: 138.1 kB / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.7294, allocations: 0 / 1.113 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.7295, allocations: 20 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.7296, allocations: 3.984 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.7296, allocations: 0 / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.7296, allocations: 6.438 kB / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.7296, allocations: 8 kB / 1.113 GB, free: 4.73 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001387/0.7297, allocations: 91.44 kB / 1.113 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.322e-05/0.7298, allocations: 89.03 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.7299, allocations: 0 / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.455e-05/0.7299, allocations: 0 / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.73, allocations: 11.91 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.73, allocations: 0 / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.608e-05/0.73, allocations: 91.2 kB / 1.113 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001927/0.7302, allocations: 8 kB / 1.113 GB, free: 4.41 MB / 0.7136 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.000144/0.7304, allocations: 95.25 kB / 1.113 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.7305, allocations: 35.94 kB / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7305, allocations: 0 / 1.113 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.7305, allocations: 16 kB / 1.113 GB, free: 4.258 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.7307, allocations: 11.98 kB / 1.113 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.731, allocations: 78.92 kB / 1.113 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/0.7314, allocations: 0.6919 MB / 1.114 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.7314, allocations: 4 kB / 1.114 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of Templates: time 0.002584/0.734, allocations: 0.59 MB / 1.114 GB, free: 2.871 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)