Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 188.3 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4812/0.4812, allocations: 90.85 MB / 99.07 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 88.62 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1598/0.161, allocations: 78.46 MB / 494 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.5003, allocations: 72.3 MB / 0.553 GB, free: 73.1 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1301/0.6305, allocations: 101.9 MB / 0.6525 GB, free: 8.023 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.6308, allocations: 75.95 kB / 0.6526 GB, free: 7.949 MB / 474.7 MB 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.008216/0.639, allocations: 2.527 MB / 0.655 GB, free: 5.418 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.6391, allocations: 11.94 kB / 0.6551 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.6393, allocations: 12.73 kB / 0.6551 GB, free: 5.395 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.6395, allocations: 164.1 kB / 0.6552 GB, free: 5.195 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.6395, allocations: 3.906 kB / 0.6552 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6395, allocations: 4 kB / 0.6552 GB, free: 5.188 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001016/0.6396, allocations: 20.56 kB / 0.6553 GB, free: 5.168 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.691e-05/0.6397, allocations: 52.27 kB / 0.6553 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.6397, allocations: 0.5 kB / 0.6553 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.6398, allocations: 0 / 0.6553 GB, free: 5.113 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.6398, allocations: 5.656 kB / 0.6553 GB, free: 5.109 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001905/0.64, allocations: 134.2 kB / 0.6554 GB, free: 4.941 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.6401, allocations: 55.89 kB / 0.6555 GB, free: 4.879 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.481e-05/0.6401, allocations: 21.86 kB / 0.6555 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6402, allocations: 0.625 kB / 0.6555 GB, free: 4.855 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.6402, allocations: 39.56 kB / 0.6555 GB, free: 4.809 MB / 474.7 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.6402, allocations: 0 / 0.6555 GB, free: 4.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002117/0.6404, allocations: 62.59 kB / 0.6556 GB, free: 4.742 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.6405, allocations: 51.41 kB / 0.6557 GB, free: 4.68 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.434e-05/0.6406, allocations: 86.22 kB / 0.6557 GB, free: 4.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.6406, allocations: 25.7 kB / 0.6558 GB, free: 4.559 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.6407, allocations: 80.89 kB / 0.6558 GB, free: 4.477 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.6407, allocations: 29.05 kB / 0.6559 GB, free: 4.449 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.6407, allocations: 0.8438 kB / 0.6559 GB, free: 4.449 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6409, allocations: 311.5 kB / 0.6562 GB, free: 4.137 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.6409, allocations: 12 kB / 0.6562 GB, free: 4.125 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/0.641, allocations: 10.72 kB / 0.6562 GB, free: 4.117 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.373e-05/0.641, allocations: 15.98 kB / 0.6562 GB, free: 4.102 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.641, allocations: 0 / 0.6562 GB, free: 4.102 MB / 474.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001546/0.6412, allocations: 63.84 kB / 0.6563 GB, free: 4.035 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.6412, allocations: 4 kB / 0.6563 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.6412, allocations: 0 / 0.6563 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6412, allocations: 0 / 0.6563 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.6414, allocations: 20.61 kB / 0.6563 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.6414, allocations: 0 / 0.6563 GB, free: 4.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.6415, allocations: 4.688 kB / 0.6563 GB, free: 4.008 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.6415, allocations: 4.562 kB / 0.6563 GB, free: 4.004 MB / 474.7 MB 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 7.129e-05/0.6415, allocations: 108.2 kB / 0.6564 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.6416, allocations: 4 kB / 0.6564 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002723/0.6418, allocations: 91.98 kB / 0.6565 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.6419, allocations: 0.6875 kB / 0.6565 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6419, allocations: 0 / 0.6565 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.6419, allocations: 1.281 kB / 0.6565 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.642, allocations: 142.1 kB / 0.6566 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.642, allocations: 0 / 0.6566 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.6421, allocations: 19.92 kB / 0.6566 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.6421, allocations: 0.5 kB / 0.6566 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.6421, allocations: 5.312 kB / 0.6567 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.6421, allocations: 1.125 kB / 0.6567 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6421, allocations: 0 / 0.6567 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001583/0.6423, allocations: 89.94 kB / 0.6567 GB, free: 3.492 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002964/0.6426, allocations: 482.7 kB / 0.6572 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.994e-05/0.6427, allocations: 89.05 kB / 0.6573 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.6428, allocations: 6.281 kB / 0.6573 GB, free: 2.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.077e-05/0.6428, allocations: 3.984 kB / 0.6573 GB, free: 2.887 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.6429, allocations: 4 kB / 0.6573 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.6429, allocations: 0 / 0.6573 GB, free: 2.883 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.746e-05/0.6429, allocations: 79.28 kB / 0.6574 GB, free: 2.805 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009433/0.6439, allocations: 8 kB / 0.6574 GB, free: 2.797 MB / 474.7 MB 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.0001319/0.644, allocations: 99.34 kB / 0.6575 GB, free: 2.691 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001088/0.6441, allocations: 31.98 kB / 0.6575 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.6441, allocations: 0 / 0.6575 GB, free: 2.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.6442, allocations: 23.94 kB / 0.6575 GB, free: 2.637 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.6444, allocations: 8.406 kB / 0.6575 GB, free: 2.633 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.6447, allocations: 75.81 kB / 0.6576 GB, free: 2.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.6451, allocations: 0.6919 MB / 0.6583 GB, free: 1.816 MB / 474.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6451, allocations: 4 kB / 0.6583 GB, free: 1.812 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1)