Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX",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.002339/0.002339, allocations: 191.7 kB / 7.808 MB, free: 2.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5991/0.5991, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.284/1.284, allocations: 221.4 MB / 342.8 MB, free: 5.113 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.001034/0.001034, allocations: 97.84 kB / 415.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1544/0.1555, allocations: 78.45 MB / 494 MB, free: 7.938 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.5101, allocations: 72.31 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.6172, allocations: 102.4 MB / 0.653 GB, free: 7.566 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6174, allocations: 78.67 kB / 0.6531 GB, free: 7.492 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.008907/0.6264, allocations: 2.761 MB / 0.6558 GB, free: 4.734 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6264, allocations: 8 kB / 0.6558 GB, free: 4.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.6265, allocations: 4 kB / 0.6558 GB, free: 4.723 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.6266, allocations: 159.1 kB / 0.6559 GB, free: 4.527 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.612e-05/0.6266, allocations: 32.14 kB / 0.656 GB, free: 4.492 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6267, allocations: 5.094 kB / 0.656 GB, free: 4.488 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.056e-05/0.6267, allocations: 15.98 kB / 0.656 GB, free: 4.473 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.516e-05/0.6268, allocations: 34.89 kB / 0.656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6268, allocations: 0 / 0.656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.6269, allocations: 0 / 0.656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.6269, allocations: 0.5312 kB / 0.656 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001306/0.627, allocations: 135.6 kB / 0.6561 GB, free: 4.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.6272, allocations: 50.53 kB / 0.6562 GB, free: 4.207 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.672e-05/0.6272, allocations: 9.578 kB / 0.6562 GB, free: 4.195 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.6275, allocations: 192.2 kB / 0.6564 GB, free: 3.973 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.6275, allocations: 31.19 kB / 0.6564 GB, free: 3.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.6275, allocations: 0.5312 kB / 0.6564 GB, free: 3.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004866/0.628, allocations: 102.3 kB / 0.6565 GB, free: 3.828 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.628, allocations: 52.12 kB / 0.6566 GB, free: 3.766 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.6281, allocations: 85 kB / 0.6566 GB, free: 3.676 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.6281, allocations: 30.33 kB / 0.6567 GB, free: 3.641 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.722e-05/0.6281, allocations: 84.64 kB / 0.6568 GB, free: 3.555 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.6282, allocations: 19.44 kB / 0.6568 GB, free: 3.539 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.6282, allocations: 0 / 0.6568 GB, free: 3.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.977e-05/0.6283, allocations: 318.8 kB / 0.6571 GB, free: 3.219 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.787e-05/0.6283, allocations: 8 kB / 0.6571 GB, free: 3.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.274e-05/0.6283, allocations: 4 kB / 0.6571 GB, free: 3.207 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.6287, allocations: 63.91 kB / 0.6571 GB, free: 3.145 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6287, allocations: 0 / 0.6571 GB, free: 3.145 MB / 474.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003957/0.6291, allocations: 101.5 kB / 0.6572 GB, free: 3.039 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.6291, allocations: 8 kB / 0.6573 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6291, allocations: 2.812 kB / 0.6573 GB, free: 3.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.6291, allocations: 4 kB / 0.6573 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.043e-05/0.6292, allocations: 11.98 kB / 0.6573 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.6292, allocations: 0 / 0.6573 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.6292, allocations: 0 / 0.6573 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.6293, allocations: 3.938 kB / 0.6573 GB, free: 3.012 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.334e-05/0.6293, allocations: 108.9 kB / 0.6574 GB, free: 2.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.6293, allocations: 3.906 kB / 0.6574 GB, free: 2.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004521/0.6298, allocations: 115.1 kB / 0.6575 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.6298, allocations: 4 kB / 0.6575 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.6298, allocations: 0 / 0.6575 GB, free: 2.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6298, allocations: 4 kB / 0.6575 GB, free: 2.766 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.998e-05/0.6299, allocations: 138.1 kB / 0.6576 GB, free: 2.594 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6299, allocations: 0 / 0.6576 GB, free: 2.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.234e-05/0.63, allocations: 4 kB / 0.6576 GB, free: 2.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.63, allocations: 4 kB / 0.6576 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.63, allocations: 0 / 0.6576 GB, free: 2.586 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.63, allocations: 3.984 kB / 0.6576 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.63, allocations: 0 / 0.6576 GB, free: 2.582 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004179/0.6305, allocations: 137.3 kB / 0.6578 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005085/0.631, allocations: 0.4974 MB / 0.6583 GB, free: 1.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.631, allocations: 85.09 kB / 0.6583 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.6311, allocations: 1.625 kB / 0.6583 GB, free: 1.809 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.554e-05/0.6311, allocations: 8 kB / 0.6584 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.6312, allocations: 3.094 kB / 0.6584 GB, free: 1.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.6312, allocations: 7.984 kB / 0.6584 GB, free: 1.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.335e-05/0.6312, allocations: 79.28 kB / 0.6584 GB, free: 1.715 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008139/0.632, allocations: 43.84 kB / 0.6585 GB, free: 1.672 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.0002425/0.6323, allocations: 144.7 kB / 0.6586 GB, free: 1.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.644e-05/0.6324, allocations: 20 kB / 0.6586 GB, free: 1.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6324, allocations: 0 / 0.6586 GB, free: 1.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/0.6324, allocations: 15.98 kB / 0.6587 GB, free: 1.484 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.6326, allocations: 4 kB / 0.6587 GB, free: 1.48 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001839/0.6328, allocations: 63.72 kB / 0.6587 GB, free: 1.395 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.633, allocations: 0.6915 MB / 0.6594 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of SimCode: time 2.755e-06/0.633, allocations: 0 / 0.6594 GB, free: 0.6797 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)