Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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/BuildingSystems 2.0.0-master/package.mo): time 0.7649/0.7649, allocations: 141.8 MB / 149.1 MB, free: 13.23 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 182.8 kB / 181.9 MB, free: 9.926 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.3 MB / 436 MB, free: 2.395 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 94.64 kB / 0.507 GB, free: 11.1 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001884/0.001885, allocations: 272.8 kB / 0.5884 GB, free: 7.945 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 9.929e-06/9.949e-06, allocations: 4 kB / 0.6759 GB, free: 14.3 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.4789, allocations: 82.77 MB / 0.7567 GB, free: 139.1 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.6041, allocations: 109.8 MB / 0.864 GB, free: 29.15 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.6045, allocations: 80.64 kB / 0.864 GB, free: 29.07 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.007554/0.612, allocations: 2.259 MB / 0.8663 GB, free: 26.86 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.6121, allocations: 8 kB / 0.8663 GB, free: 26.86 MB / 0.5575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000468/0.6125, allocations: 398.2 kB / 0.8666 GB, free: 26.42 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6126, allocations: 13.28 kB / 0.8667 GB, free: 26.41 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.6127, allocations: 3.906 kB / 0.8667 GB, free: 26.41 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.6128, allocations: 170.9 kB / 0.8668 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.6128, allocations: 3.938 kB / 0.8668 GB, free: 26.2 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.6128, allocations: 7.984 kB / 0.8668 GB, free: 26.19 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000101/0.6129, allocations: 20 kB / 0.8668 GB, free: 26.17 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.071e-05/0.613, allocations: 49.62 kB / 0.8669 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6131, allocations: 4 kB / 0.8669 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.6131, allocations: 0 / 0.8669 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6131, allocations: 0 / 0.8669 GB, free: 26.11 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.6135, allocations: 257.3 kB / 0.8671 GB, free: 25.82 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.6135, allocations: 30.58 kB / 0.8672 GB, free: 25.78 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.6136, allocations: 16.86 kB / 0.8672 GB, free: 25.76 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001781/0.6138, allocations: 97.12 kB / 0.8673 GB, free: 25.65 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.6138, allocations: 30.56 kB / 0.8673 GB, free: 25.61 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.6138, allocations: 0 / 0.8673 GB, free: 25.61 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3): time 0.0004274/0.6142, allocations: 81.55 kB / 0.8674 GB, free: 25.52 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.6143, allocations: 51.41 kB / 0.8674 GB, free: 25.46 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.6143, allocations: 101 kB / 0.8675 GB, free: 25.36 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.6143, allocations: 25.7 kB / 0.8676 GB, free: 25.32 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.6144, allocations: 92.12 kB / 0.8676 GB, free: 25.23 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.6144, allocations: 7.844 kB / 0.8677 GB, free: 25.22 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.6144, allocations: 0 / 0.8677 GB, free: 25.22 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/0.6145, allocations: 326.7 kB / 0.868 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.6145, allocations: 4 kB / 0.868 GB, free: 24.89 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.6145, allocations: 8 kB / 0.868 GB, free: 24.88 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.6147, allocations: 39.89 kB / 0.868 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6148, allocations: 4 kB / 0.868 GB, free: 24.84 MB / 0.5575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002479/0.615, allocations: 77.64 kB / 0.8681 GB, free: 24.76 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.615, allocations: 11.94 kB / 0.8681 GB, free: 24.75 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.615, allocations: 0 / 0.8681 GB, free: 24.75 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.6151, allocations: 3.906 kB / 0.8681 GB, free: 24.74 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.6152, allocations: 23.98 kB / 0.8681 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6152, allocations: 0 / 0.8681 GB, free: 24.72 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.649e-05/0.6153, allocations: 15.98 kB / 0.8681 GB, free: 24.7 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.6153, allocations: 4.375 kB / 0.8682 GB, free: 24.7 MB / 0.5575 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 (3): * Single equations (assignments): 3 * 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 5.304e-05/0.6154, allocations: 109 kB / 0.8683 GB, free: 24.59 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.6154, allocations: 7.906 kB / 0.8683 GB, free: 24.58 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.6157, allocations: 85.58 kB / 0.8683 GB, free: 24.48 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.6157, allocations: 7.938 kB / 0.8684 GB, free: 24.48 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6157, allocations: 4 kB / 0.8684 GB, free: 24.47 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.6158, allocations: 0 / 0.8684 GB, free: 24.47 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001168/0.6159, allocations: 154.1 kB / 0.8685 GB, free: 24.29 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6159, allocations: 0 / 0.8685 GB, free: 24.29 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.616, allocations: 23.98 kB / 0.8685 GB, free: 24.26 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.616, allocations: 0 / 0.8685 GB, free: 24.26 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.616, allocations: 0 / 0.8685 GB, free: 24.26 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.616, allocations: 0 / 0.8685 GB, free: 24.26 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.616, allocations: 0 / 0.8685 GB, free: 24.26 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002866/0.6163, allocations: 187.6 kB / 0.8687 GB, free: 24.06 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.611e-05/0.6164, allocations: 85 kB / 0.8688 GB, free: 23.96 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.6164, allocations: 0 / 0.8688 GB, free: 23.96 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.6165, allocations: 15.98 kB / 0.8688 GB, free: 23.95 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/0.6166, allocations: 11.94 kB / 0.8688 GB, free: 23.93 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.6166, allocations: 0 / 0.8688 GB, free: 23.93 MB / 0.5575 GB Notification: Performance of sort global known variables: time 3.149e-05/0.6166, allocations: 91.27 kB / 0.8689 GB, free: 23.84 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002652/0.6169, allocations: 31.94 kB / 0.8689 GB, free: 23.81 MB / 0.5575 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 (3): * Single equations (assignments): 3 * 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.0002408/0.6172, allocations: 139.2 kB / 0.8691 GB, free: 23.67 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.6173, allocations: 20 kB / 0.8691 GB, free: 23.65 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6173, allocations: 4 kB / 0.8691 GB, free: 23.64 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 3.182e-05/0.6173, allocations: 15.94 kB / 0.8691 GB, free: 23.63 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.6175, allocations: 8 kB / 0.8691 GB, free: 23.62 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/0.6178, allocations: 79.61 kB / 0.8692 GB, free: 23.52 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.618, allocations: 0.6954 MB / 0.8699 GB, free: 22.8 MB / 0.5575 GB Notification: Performance of SimCode: time 2.7e-07/0.618, allocations: 0 / 0.8699 GB, free: 22.8 MB / 0.5575 GB Notification: Performance of Templates: time 0.004135/0.6222, allocations: 1.201 MB / 0.871 GB, free: 21.62 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)