Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi",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/BuildingSystems 2.0.0-master/package.mo): time 0.7139/0.7139, allocations: 141.8 MB / 149.1 MB, free: 4.047 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 185.4 kB / 181.9 MB, free: 15.78 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.196/1.196, allocations: 221.4 MB / 436 MB, free: 8.898 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.0009109/0.000911, allocations: 99.64 kB / 0.507 GB, free: 24.22 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00172/0.00172, allocations: 280.8 kB / 0.5884 GB, free: 11.93 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1509/0.1526, allocations: 89.66 MB / 0.676 GB, free: 2.191 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.4791, allocations: 82.76 MB / 0.7568 GB, free: 112.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.815/3.294, allocations: 1.673 GB / 2.429 GB, free: 133.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/3.294, allocations: 92.67 kB / 2.429 GB, free: 133.6 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.05298/3.347, allocations: 26.46 MB / 2.455 GB, free: 107 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/3.348, allocations: 13.25 kB / 2.455 GB, free: 107 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000487/3.348, allocations: 35.94 kB / 2.455 GB, free: 106.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.927e-05/3.348, allocations: 163 kB / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/3.348, allocations: 0 / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/3.348, allocations: 0 / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.246e-05/3.348, allocations: 15.92 kB / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.415e-05/3.348, allocations: 45.67 kB / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/3.348, allocations: 0 / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/3.348, allocations: 0 / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/3.348, allocations: 0 / 2.456 GB, free: 106.7 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/3.349, allocations: 229.4 kB / 2.456 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/3.349, allocations: 22.58 kB / 2.456 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/3.349, allocations: 12.92 kB / 2.456 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 7.585e-06/3.349, allocations: 0 / 2.456 GB, free: 106.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/3.349, allocations: 38.53 kB / 2.456 GB, free: 106.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/3.349, allocations: 0 / 2.456 GB, free: 106.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=2): time 0.0001149/3.349, allocations: 41.59 kB / 2.456 GB, free: 106.3 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.227e-05/3.349, allocations: 51.41 kB / 2.456 GB, free: 106.2 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.191e-05/3.349, allocations: 97 kB / 2.456 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/3.349, allocations: 29.73 kB / 2.456 GB, free: 106.1 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 2.508e-05/3.349, allocations: 92.06 kB / 2.456 GB, free: 106 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.08e-06/3.349, allocations: 3.906 kB / 2.456 GB, free: 106 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-06/3.349, allocations: 0 / 2.456 GB, free: 106 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.382e-05/3.349, allocations: 318.8 kB / 2.456 GB, free: 105.7 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/3.349, allocations: 4 kB / 2.456 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.586e-05/3.349, allocations: 7.984 kB / 2.456 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.793e-05/3.349, allocations: 4 kB / 2.456 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/3.349, allocations: 1.031 kB / 2.456 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001004/3.349, allocations: 61.52 kB / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/3.349, allocations: 10.97 kB / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/3.349, allocations: 0 / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/3.349, allocations: 0 / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/3.349, allocations: 11.98 kB / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/3.349, allocations: 0 / 2.457 GB, free: 105.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/3.35, allocations: 4 kB / 2.457 GB, free: 105.5 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/3.35, allocations: 4.312 kB / 2.457 GB, free: 105.5 MB / 0.6982 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 4.547e-05/3.35, allocations: 112.9 kB / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/3.35, allocations: 0 / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.073e-05/3.35, allocations: 5 kB / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/3.35, allocations: 3.984 kB / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/3.35, allocations: 4 kB / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/3.35, allocations: 0 / 2.457 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.774e-05/3.35, allocations: 138.1 kB / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/3.35, allocations: 0 / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/3.35, allocations: 4 kB / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/3.35, allocations: 0 / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/3.35, allocations: 4 kB / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/3.35, allocations: 0 / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/3.35, allocations: 7.938 kB / 2.457 GB, free: 105.2 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.362e-05/3.35, allocations: 135.5 kB / 2.457 GB, free: 105.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001533/3.35, allocations: 0.5233 MB / 2.457 GB, free: 104.5 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 3.495e-05/3.35, allocations: 81.11 kB / 2.458 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/3.35, allocations: 3.984 kB / 2.458 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/3.35, allocations: 0 / 2.458 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/3.35, allocations: 4 kB / 2.458 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/3.35, allocations: 0 / 2.458 GB, free: 104.4 MB / 0.6982 GB Notification: Performance of sort global known variables: time 2.668e-05/3.35, allocations: 85.25 kB / 2.458 GB, free: 104.3 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.0009392/3.351, allocations: 95.89 kB / 2.458 GB, free: 104.3 MB / 0.6982 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 (2): * Single equations (assignments): 2 * 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.0007115/3.352, allocations: 0.6637 MB / 2.458 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 8.842e-05/3.352, allocations: 16 kB / 2.458 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/3.352, allocations: 0 / 2.458 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 8.306e-06/3.352, allocations: 4 kB / 2.458 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002074/3.352, allocations: 7.984 kB / 2.458 GB, free: 103.6 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/3.353, allocations: 67.91 kB / 2.458 GB, free: 103.5 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/3.353, allocations: 0.688 MB / 2.459 GB, free: 102.8 MB / 0.6982 GB Notification: Performance of SimCode: time 2.4e-07/3.353, allocations: 0 / 2.459 GB, free: 102.8 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_X_pSatpphi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)