Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.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.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi",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.001797/0.001797, allocations: 192.7 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.5564/0.5564, allocations: 90.85 MB / 99.07 MB, free: 14.98 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.493/1.493, allocations: 221.4 MB / 342.7 MB, free: 5.211 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.001045/0.001045, allocations: 104 kB / 415.5 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1886/0.1897, allocations: 78.44 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.6106, allocations: 72.29 MB / 0.553 GB, free: 73.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.608/4.218, allocations: 1.679 GB / 2.232 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/4.219, allocations: 83.95 kB / 2.232 GB, free: 135.1 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.1254/4.344, allocations: 64.55 MB / 2.295 GB, free: 69.63 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/4.344, allocations: 8 kB / 2.295 GB, free: 69.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009442/4.345, allocations: 83.8 kB / 2.295 GB, free: 69.54 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/4.346, allocations: 212.8 kB / 2.296 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/4.346, allocations: 0 / 2.296 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/4.346, allocations: 8 kB / 2.296 GB, free: 69.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000172/4.346, allocations: 67.97 kB / 2.296 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/4.346, allocations: 97.55 kB / 2.296 GB, free: 69.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/4.346, allocations: 0 / 2.296 GB, free: 69.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/4.346, allocations: 4 kB / 2.296 GB, free: 69.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/4.346, allocations: 11.89 kB / 2.296 GB, free: 69.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/4.347, allocations: 384.9 kB / 2.296 GB, free: 68.69 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/4.347, allocations: 196 kB / 2.296 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.903e-05/4.347, allocations: 40.84 kB / 2.296 GB, free: 68.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/4.347, allocations: 4 kB / 2.296 GB, free: 68.42 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/4.347, allocations: 34.56 kB / 2.297 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/4.347, allocations: 4 kB / 2.297 GB, free: 68.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0002626/4.348, allocations: 97.72 kB / 2.297 GB, free: 68.27 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/4.348, allocations: 55.39 kB / 2.297 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.448e-05/4.348, allocations: 120.1 kB / 2.297 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/4.348, allocations: 25.7 kB / 2.297 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.803e-05/4.348, allocations: 96.12 kB / 2.297 GB, free: 67.95 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/4.348, allocations: 31.55 kB / 2.297 GB, free: 67.92 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/4.348, allocations: 0 / 2.297 GB, free: 67.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.172e-05/4.348, allocations: 318.8 kB / 2.297 GB, free: 67.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/4.348, allocations: 31.94 kB / 2.297 GB, free: 67.57 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.86e-05/4.348, allocations: 50.56 kB / 2.297 GB, free: 67.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.497e-05/4.348, allocations: 27.98 kB / 2.297 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/4.348, allocations: 0 / 2.297 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001742/4.348, allocations: 97.81 kB / 2.297 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/4.348, allocations: 4 kB / 2.297 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/4.348, allocations: 0 / 2.297 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/4.348, allocations: 7.891 kB / 2.297 GB, free: 67.37 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/4.348, allocations: 40 kB / 2.297 GB, free: 67.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/4.349, allocations: 12 kB / 2.297 GB, free: 67.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/4.349, allocations: 19.98 kB / 2.298 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/4.349, allocations: 7.984 kB / 2.298 GB, free: 67.29 MB / 0.6042 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 (8): * Single equations (assignments): 8 * 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.46e-05/4.349, allocations: 104.9 kB / 2.298 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.64e-05/4.349, allocations: 11.81 kB / 2.298 GB, free: 67.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/4.349, allocations: 20.5 kB / 2.298 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/4.349, allocations: 0 / 2.298 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/4.349, allocations: 0 / 2.298 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/4.349, allocations: 4 kB / 2.298 GB, free: 67.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/4.349, allocations: 367 kB / 2.298 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/4.349, allocations: 4 kB / 2.298 GB, free: 66.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/4.35, allocations: 47.83 kB / 2.298 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/4.35, allocations: 0 / 2.298 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/4.35, allocations: 0 / 2.298 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/4.35, allocations: 0 / 2.298 GB, free: 66.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/4.35, allocations: 3.906 kB / 2.298 GB, free: 66.69 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001887/4.35, allocations: 199.4 kB / 2.298 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002892/4.35, allocations: 0.5856 MB / 2.299 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/4.35, allocations: 84.95 kB / 2.299 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/4.35, allocations: 3.984 kB / 2.299 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/4.35, allocations: 27.98 kB / 2.299 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/4.35, allocations: 7.984 kB / 2.299 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/4.35, allocations: 0 / 2.299 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.995e-05/4.35, allocations: 103.3 kB / 2.299 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001029/4.352, allocations: 127.9 kB / 2.299 GB, free: 65.51 MB / 0.6042 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 (8): * Single equations (assignments): 8 * 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.00079/4.352, allocations: 0.7292 MB / 2.3 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000177/4.352, allocations: 71.95 kB / 2.3 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/4.353, allocations: 0 / 2.3 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.538e-05/4.353, allocations: 43.92 kB / 2.3 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/4.353, allocations: 29.91 kB / 2.3 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004856/4.353, allocations: 155.3 kB / 2.3 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/4.354, allocations: 0.727 MB / 2.301 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of SimCode: time 3.5e-07/4.354, allocations: 0 / 2.301 GB, free: 63.71 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Examples_MassFraction_pTphi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.MassFraction_pTphi.pipe 2>&1)