Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001028/0.001028, allocations: 187.4 kB / 7.806 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.4761/0.4761, 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.36/1.36, allocations: 221.4 MB / 342.7 MB, free: 5.418 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.0009812/0.0009813, allocations: 88.27 kB / 415.5 MB, free: 9.859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1637/0.1647, allocations: 78.45 MB / 494 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.5069, allocations: 72.31 MB / 0.553 GB, free: 44.84 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.6207, allocations: 101 MB / 0.6517 GB, free: 7.672 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6211, allocations: 76.83 kB / 0.6517 GB, free: 7.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.004724/0.6258, allocations: 1.529 MB / 0.6532 GB, free: 6.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.6259, allocations: 8 kB / 0.6532 GB, free: 6.023 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/0.6261, allocations: 27.88 kB / 0.6533 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.6263, allocations: 159.1 kB / 0.6534 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/0.6263, allocations: 4.625 kB / 0.6534 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6263, allocations: 0 / 0.6534 GB, free: 5.797 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.981e-05/0.6264, allocations: 19.92 kB / 0.6534 GB, free: 5.777 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.711e-05/0.6265, allocations: 45.44 kB / 0.6535 GB, free: 5.73 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6265, allocations: 3.906 kB / 0.6535 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.6265, allocations: 0 / 0.6535 GB, free: 5.727 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6265, allocations: 4 kB / 0.6535 GB, free: 5.723 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.6267, allocations: 138.2 kB / 0.6536 GB, free: 5.551 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.6286, allocations: 270.5 kB / 0.6539 GB, free: 5.277 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.962e-05/0.6287, allocations: 16.86 kB / 0.6539 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.6287, allocations: 0 / 0.6539 GB, free: 5.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6288, allocations: 42.5 kB / 0.6539 GB, free: 5.207 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.6288, allocations: 0 / 0.6539 GB, free: 5.207 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.6289, allocations: 53.69 kB / 0.654 GB, free: 5.148 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.629, allocations: 51.41 kB / 0.654 GB, free: 5.086 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.82e-05/0.629, allocations: 85 kB / 0.6541 GB, free: 4.996 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.6291, allocations: 25.7 kB / 0.6541 GB, free: 4.965 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.021e-05/0.6291, allocations: 84.14 kB / 0.6542 GB, free: 4.879 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.6291, allocations: 11.75 kB / 0.6542 GB, free: 4.867 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-06/0.6291, allocations: 128 / 0.6542 GB, free: 4.867 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.6292, allocations: 322.8 kB / 0.6545 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.6293, allocations: 4 kB / 0.6545 GB, free: 4.539 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.6293, allocations: 12 kB / 0.6545 GB, free: 4.527 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.483e-05/0.6293, allocations: 8 kB / 0.6546 GB, free: 4.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6293, allocations: 0 / 0.6546 GB, free: 4.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.609e-05/0.6294, allocations: 49.62 kB / 0.6546 GB, free: 4.465 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.6294, allocations: 8 kB / 0.6546 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.6295, allocations: 0 / 0.6546 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.6295, allocations: 0 / 0.6546 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.6295, allocations: 11.94 kB / 0.6546 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.6296, allocations: 0 / 0.6546 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.399e-05/0.6296, allocations: 3.906 kB / 0.6546 GB, free: 4.441 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6296, allocations: 4 kB / 0.6546 GB, free: 4.438 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 (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.308e-05/0.6297, allocations: 101 kB / 0.6547 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.6297, allocations: 3.984 kB / 0.6547 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.6297, allocations: 11.53 kB / 0.6547 GB, free: 4.312 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.6297, allocations: 3.906 kB / 0.6547 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6298, allocations: 0 / 0.6547 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6298, allocations: 4 kB / 0.6547 GB, free: 4.305 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.688e-05/0.6299, allocations: 134.2 kB / 0.6549 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6299, allocations: 0 / 0.6549 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.6299, allocations: 4 kB / 0.6549 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6299, allocations: 0 / 0.6549 GB, free: 4.133 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.63, allocations: 5.312 kB / 0.6549 GB, free: 4.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.63, allocations: 3.938 kB / 0.6549 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.63, allocations: 4.094 kB / 0.6549 GB, free: 4.121 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001106/0.6301, allocations: 77.11 kB / 0.655 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002131/0.6303, allocations: 457.4 kB / 0.6554 GB, free: 3.559 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/0.6304, allocations: 81.09 kB / 0.6555 GB, free: 3.461 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.6304, allocations: 4 kB / 0.6555 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.216e-05/0.6305, allocations: 0 / 0.6555 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.6305, allocations: 3.906 kB / 0.6555 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6305, allocations: 4 kB / 0.6555 GB, free: 3.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.116e-05/0.6306, allocations: 87.22 kB / 0.6556 GB, free: 3.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008526/0.6314, allocations: 4 kB / 0.6556 GB, free: 3.359 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 (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.0001161/0.6315, allocations: 99.23 kB / 0.6557 GB, free: 3.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.167e-05/0.6316, allocations: 20 kB / 0.6557 GB, free: 3.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6317, allocations: 1.5 kB / 0.6557 GB, free: 3.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.6317, allocations: 12 kB / 0.6557 GB, free: 3.219 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.6319, allocations: 12.08 kB / 0.6557 GB, free: 3.207 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002574/0.6321, allocations: 79.78 kB / 0.6558 GB, free: 3.105 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.6325, allocations: 0.6915 MB / 0.6565 GB, free: 2.391 MB / 474.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6325, allocations: 0 / 0.6565 GB, free: 2.391 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)