Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [: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.464/1.464, allocations: 289.8 MB / 297.1 MB, free: 6.582 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.00111/0.00111, allocations: 185.2 kB / 366.3 MB, free: 1.93 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.303/1.303, allocations: 205.1 MB / 0.6256 GB, free: 5.793 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.0008669/0.0008669, allocations: 89.92 kB / 0.7395 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.544e-06/7.564e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5434, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.7101, allocations: 139.8 MB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.7104, allocations: 76.64 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.008656/0.7191, allocations: 2.348 MB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.7191, allocations: 4 kB / 1.111 GB, free: 6.219 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003529/0.7195, allocations: 356.6 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.7196, allocations: 8.031 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.7196, allocations: 7.906 kB / 1.112 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.7198, allocations: 159.1 kB / 1.112 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.995e-05/0.7198, allocations: 33.64 kB / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.7198, allocations: 0 / 1.112 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.281e-05/0.7199, allocations: 15.98 kB / 1.112 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.72, allocations: 38.36 kB / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.72, allocations: 0 / 1.112 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.72, allocations: 3.906 kB / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.7201, allocations: 0 / 1.112 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.7202, allocations: 134.2 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.7204, allocations: 42.61 kB / 1.112 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.7204, allocations: 11.33 kB / 1.112 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002856/0.7207, allocations: 195.8 kB / 1.112 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.7208, allocations: 30.56 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.7208, allocations: 0 / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0005095/0.7213, allocations: 105.5 kB / 1.113 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.7213, allocations: 51.41 kB / 1.113 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.671e-05/0.7214, allocations: 93 kB / 1.113 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7214, allocations: 29.7 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.7214, allocations: 80.14 kB / 1.113 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.7215, allocations: 15.69 kB / 1.113 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.7215, allocations: 0 / 1.113 GB, free: 4.617 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.7216, allocations: 314.8 kB / 1.113 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.7216, allocations: 8 kB / 1.113 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.7216, allocations: 4 kB / 1.113 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.722, allocations: 68.23 kB / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.722, allocations: 0 / 1.113 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004007/0.7224, allocations: 105.5 kB / 1.113 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.7225, allocations: 8 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.7225, allocations: 1.031 kB / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.7225, allocations: 0 / 1.113 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.913e-05/0.7225, allocations: 11.98 kB / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.7226, allocations: 0 / 1.113 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.7226, allocations: 3.906 kB / 1.113 GB, free: 4.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.7226, allocations: 4 kB / 1.113 GB, free: 4.086 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 (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 6.531e-05/0.7227, allocations: 105 kB / 1.113 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.24e-05/0.7227, allocations: 3.906 kB / 1.113 GB, free: 3.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000458/0.7232, allocations: 119.6 kB / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.7232, allocations: 0 / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7232, allocations: 0 / 1.114 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.7232, allocations: 6.625 kB / 1.114 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.162e-05/0.7233, allocations: 138.2 kB / 1.114 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7233, allocations: 4 kB / 1.114 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.961e-05/0.7234, allocations: 4 kB / 1.114 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.7234, allocations: 7.906 kB / 1.114 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.7234, allocations: 0 / 1.114 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.7234, allocations: 3.984 kB / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7234, allocations: 0 / 1.114 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004442/0.7238, allocations: 125 kB / 1.114 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.629e-05/0.7239, allocations: 85.02 kB / 1.114 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.724, allocations: 4 kB / 1.114 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.724, allocations: 3.984 kB / 1.114 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.7241, allocations: 7.938 kB / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.7241, allocations: 0 / 1.114 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.509e-05/0.7241, allocations: 79.28 kB / 1.114 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002381/0.7244, allocations: 43.92 kB / 1.114 GB, free: 3.27 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 (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.0002907/0.7246, allocations: 147.1 kB / 1.114 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.546e-05/0.7247, allocations: 20 kB / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7247, allocations: 0 / 1.114 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.339e-05/0.7248, allocations: 15.94 kB / 1.114 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.7249, allocations: 3.906 kB / 1.114 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001815/0.7251, allocations: 59.92 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.7254, allocations: 0.6876 MB / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/0.7254, allocations: 0 / 1.115 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of Templates: time 0.003046/0.7284, allocations: 1.048 MB / 1.116 GB, free: 1.258 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)