Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7022/0.7022, allocations: 141.8 MB / 149.1 MB, free: 1.637 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.001352/0.001352, allocations: 185.2 kB / 181.9 MB, free: 1.055 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.255/1.255, allocations: 221.4 MB / 436 MB, free: 5.645 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.0009149/0.0009149, allocations: 88.62 kB / 0.507 GB, free: 2.316 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001734/0.001734, allocations: 275.7 kB / 0.5884 GB, free: 47.41 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3325/0.3343, allocations: 89.63 MB / 0.676 GB, free: 59.77 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.4756, allocations: 82.78 MB / 0.7568 GB, free: 0.7617 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.6018, allocations: 109.5 MB / 0.8638 GB, free: 3.066 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.6021, allocations: 81.98 kB / 0.8639 GB, free: 2.988 MB / 0.5419 GB 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.008733/0.6108, allocations: 2.738 MB / 0.8665 GB, free: 208 kB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.6109, allocations: 9 kB / 0.8665 GB, free: 200 kB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.6109, allocations: 3.906 kB / 0.8665 GB, free: 196 kB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1816/0.7925, allocations: 176.6 kB / 0.8667 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.7927, allocations: 25.7 kB / 0.8667 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.7927, allocations: 3.281 kB / 0.8667 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.278e-05/0.7928, allocations: 9.281 kB / 0.8668 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.7929, allocations: 39.42 kB / 0.8668 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.7929, allocations: 0 / 0.8668 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.7929, allocations: 0 / 0.8668 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7929, allocations: 6.094 kB / 0.8668 GB, free: 168.4 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.7931, allocations: 135.7 kB / 0.8669 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.7933, allocations: 49.2 kB / 0.867 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.792e-05/0.7933, allocations: 11.61 kB / 0.867 GB, free: 168.2 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.7935, allocations: 184.8 kB / 0.8672 GB, free: 168 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.7936, allocations: 34.03 kB / 0.8672 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.452e-06/0.7936, allocations: 0 / 0.8672 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0005432/0.7941, allocations: 107 kB / 0.8673 GB, free: 167.9 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.871e-05/0.7942, allocations: 51.41 kB / 0.8673 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.7942, allocations: 92.34 kB / 0.8674 GB, free: 167.8 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.7942, allocations: 25.7 kB / 0.8675 GB, free: 167.7 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 1.098e-05/0.7942, allocations: 80.14 kB / 0.8675 GB, free: 167.6 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.7943, allocations: 18.72 kB / 0.8676 GB, free: 167.6 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/0.7943, allocations: 0 / 0.8676 GB, free: 167.6 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 3.941e-05/0.7943, allocations: 314.5 kB / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.7943, allocations: 7.344 kB / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.7944, allocations: 3.375 kB / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003672/0.7947, allocations: 63.06 kB / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7948, allocations: 0 / 0.8679 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003759/0.7951, allocations: 108.8 kB / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7952, allocations: 6.844 kB / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7952, allocations: 0 / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7952, allocations: 3.906 kB / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.22e-05/0.7953, allocations: 10.16 kB / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.7953, allocations: 4.75 kB / 0.868 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.7953, allocations: 3.969 kB / 0.8681 GB, free: 167.3 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.7953, allocations: 0 / 0.8681 GB, free: 167.3 MB / 0.5419 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 (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 4.822e-05/0.7954, allocations: 104.4 kB / 0.8682 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.398e-05/0.7954, allocations: 7.844 kB / 0.8682 GB, free: 167.2 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.7958, allocations: 124.7 kB / 0.8683 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7958, allocations: 0 / 0.8683 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.7958, allocations: 0 / 0.8683 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.7958, allocations: 0 / 0.8683 GB, free: 167.1 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.686e-05/0.7959, allocations: 135.7 kB / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7959, allocations: 0 / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.796, allocations: 9.656 kB / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.796, allocations: 0 / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.796, allocations: 6.859 kB / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.796, allocations: 0 / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.796, allocations: 3.562 kB / 0.8684 GB, free: 167 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003732/0.7964, allocations: 136 kB / 0.8686 GB, free: 166.9 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004039/0.7968, allocations: 0.4997 MB / 0.869 GB, free: 166.5 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.7969, allocations: 91.22 kB / 0.8691 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.7969, allocations: 0 / 0.8691 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.7969, allocations: 3.781 kB / 0.8691 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.797, allocations: 0 / 0.8691 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.797, allocations: 3.5 kB / 0.8691 GB, free: 166.4 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.83e-05/0.797, allocations: 88.47 kB / 0.8692 GB, free: 166.3 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0007819/0.7978, allocations: 37.45 kB / 0.8693 GB, free: 166.3 MB / 0.5419 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 (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.0002594/0.7981, allocations: 141.7 kB / 0.8694 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.7982, allocations: 24.41 kB / 0.8694 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.7982, allocations: 2.812 kB / 0.8694 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.085e-05/0.7982, allocations: 8.281 kB / 0.8694 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.7984, allocations: 6.25 kB / 0.8694 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002051/0.7986, allocations: 56.22 kB / 0.8695 GB, free: 166.2 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.7987, allocations: 0.6966 MB / 0.8702 GB, free: 165.5 MB / 0.5419 GB Notification: Performance of SimCode: time 2.2e-07/0.7987, allocations: 3.156 kB / 0.8702 GB, free: 165.5 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_phi_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)