Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",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.678/0.678, allocations: 141.8 MB / 149.1 MB, free: 1.727 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.001022/0.001022, allocations: 185 kB / 182 MB, free: 13.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.177/1.177, allocations: 221.3 MB / 436 MB, free: 6.641 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.0009324/0.0009325, allocations: 101.5 kB / 0.507 GB, free: 24.5 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001696/0.001696, allocations: 285.6 kB / 0.5885 GB, free: 9.977 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1553/0.1571, allocations: 89.65 MB / 0.676 GB, free: 256 kB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.4592, allocations: 82.76 MB / 0.7568 GB, free: 110.5 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1042/0.5634, allocations: 109.3 MB / 0.8635 GB, free: 1.137 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.5637, allocations: 83.94 kB / 0.8636 GB, free: 1.059 MB / 0.5263 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.01816/0.5818, allocations: 6.233 MB / 0.8697 GB, free: 10.82 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.5819, allocations: 9.25 kB / 0.8697 GB, free: 10.81 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.5821, allocations: 12.45 kB / 0.8697 GB, free: 10.8 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.5822, allocations: 164.2 kB / 0.8699 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.5822, allocations: 0 / 0.8699 GB, free: 10.6 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.5822, allocations: 7.984 kB / 0.8699 GB, free: 10.59 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.524e-05/0.5823, allocations: 13.31 kB / 0.8699 GB, free: 10.58 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.886e-05/0.5824, allocations: 42.41 kB / 0.87 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.5824, allocations: 0.75 kB / 0.87 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5824, allocations: 0 / 0.87 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.5824, allocations: 1.188 kB / 0.87 GB, free: 10.53 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.5826, allocations: 138.1 kB / 0.8701 GB, free: 10.36 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008535/0.5834, allocations: 124.4 kB / 0.8702 GB, free: 10.23 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.5835, allocations: 28.92 kB / 0.8702 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.5836, allocations: 81.11 kB / 0.8703 GB, free: 10.1 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.5836, allocations: 38.56 kB / 0.8703 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.5836, allocations: 3.938 kB / 0.8704 GB, free: 10.05 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4): time 0.0001595/0.5838, allocations: 53.67 kB / 0.8704 GB, free: 9.992 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.319e-05/0.5838, allocations: 51.41 kB / 0.8705 GB, free: 9.93 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.615e-05/0.5839, allocations: 93 kB / 0.8705 GB, free: 9.832 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.5839, allocations: 26.45 kB / 0.8706 GB, free: 9.801 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.111e-05/0.584, allocations: 80.14 kB / 0.8706 GB, free: 9.719 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.584, allocations: 11.81 kB / 0.8707 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.584, allocations: 0 / 0.8707 GB, free: 9.707 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.5841, allocations: 310.8 kB / 0.871 GB, free: 9.395 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.5841, allocations: 15.92 kB / 0.871 GB, free: 9.379 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.5841, allocations: 4 kB / 0.871 GB, free: 9.375 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.102e-05/0.5842, allocations: 16.12 kB / 0.871 GB, free: 9.359 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5842, allocations: 0.8438 kB / 0.871 GB, free: 9.359 MB / 0.5419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001035/0.5843, allocations: 57.58 kB / 0.871 GB, free: 9.297 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.5843, allocations: 6.969 kB / 0.871 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.5843, allocations: 0 / 0.871 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.5843, allocations: 0 / 0.871 GB, free: 9.293 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.748e-05/0.5844, allocations: 8 kB / 0.8711 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5844, allocations: 0 / 0.8711 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.023e-05/0.5844, allocations: 0 / 0.8711 GB, free: 9.285 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5845, allocations: 11.98 kB / 0.8711 GB, free: 9.273 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 5.759e-05/0.5845, allocations: 114.3 kB / 0.8712 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.5845, allocations: 0 / 0.8712 GB, free: 9.156 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002464/0.5848, allocations: 78.78 kB / 0.8713 GB, free: 9.074 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5848, allocations: 7.984 kB / 0.8713 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5848, allocations: 0 / 0.8713 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.5848, allocations: 0 / 0.8713 GB, free: 9.066 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.26e-05/0.5849, allocations: 138.1 kB / 0.8714 GB, free: 8.895 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5849, allocations: 3.984 kB / 0.8714 GB, free: 8.891 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.585, allocations: 8 kB / 0.8714 GB, free: 8.883 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.585, allocations: 4 kB / 0.8714 GB, free: 8.879 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.585, allocations: 4 kB / 0.8714 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.585, allocations: 0 / 0.8714 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.585, allocations: 0 / 0.8714 GB, free: 8.875 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001637/0.5852, allocations: 88.97 kB / 0.8715 GB, free: 8.77 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002192/0.5854, allocations: 473.5 kB / 0.8719 GB, free: 8.285 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.5855, allocations: 81.11 kB / 0.872 GB, free: 8.188 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.5855, allocations: 9.078 kB / 0.872 GB, free: 8.18 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.5856, allocations: 0 / 0.872 GB, free: 8.18 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.5856, allocations: 4 kB / 0.872 GB, free: 8.176 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-06/0.5856, allocations: 0 / 0.872 GB, free: 8.176 MB / 0.5419 GB Notification: Performance of sort global known variables: time 2.626e-05/0.5856, allocations: 79.28 kB / 0.8721 GB, free: 8.098 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008186/0.5865, allocations: 63.83 kB / 0.8722 GB, free: 8.035 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 (5): * Single equations (assignments): 5 * 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.0003337/0.5868, allocations: 178.9 kB / 0.8723 GB, free: 7.855 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.5869, allocations: 24.84 kB / 0.8724 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5869, allocations: 0 / 0.8724 GB, free: 7.832 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.5869, allocations: 12 kB / 0.8724 GB, free: 7.82 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.587, allocations: 4 kB / 0.8724 GB, free: 7.816 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.5873, allocations: 75.84 kB / 0.8725 GB, free: 7.719 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.5875, allocations: 0.6876 MB / 0.8731 GB, free: 7.008 MB / 0.5419 GB Notification: Performance of SimCode: time 2.51e-07/0.5875, allocations: 1.125 kB / 0.8731 GB, free: 7.008 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)