Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.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.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature",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.827/0.827, allocations: 141.8 MB / 149.1 MB, free: 2.633 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.001123/0.001124, allocations: 184.8 kB / 181.9 MB, free: 14.59 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.226/1.226, allocations: 221.3 MB / 436 MB, free: 7.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.0009923/0.0009922, allocations: 92.94 kB / 0.507 GB, free: 24.48 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 277.6 kB / 0.5884 GB, free: 10.83 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1545/0.1564, allocations: 89.64 MB / 0.676 GB, free: 1.105 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.4668, allocations: 82.76 MB / 0.7568 GB, free: 111.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.5682, allocations: 110.4 MB / 0.8646 GB, free: 0.8516 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.5684, allocations: 84.97 kB / 0.8647 GB, free: 0.7734 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00847/0.5769, allocations: 2.884 MB / 0.8675 GB, free: 13.87 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.5769, allocations: 9.25 kB / 0.8675 GB, free: 13.86 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.5771, allocations: 23.95 kB / 0.8675 GB, free: 13.84 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.5773, allocations: 175 kB / 0.8677 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.5773, allocations: 4 kB / 0.8677 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.5773, allocations: 4 kB / 0.8677 GB, free: 13.62 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/0.5775, allocations: 32 kB / 0.8677 GB, free: 13.59 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.222e-05/0.5776, allocations: 58.64 kB / 0.8678 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.5776, allocations: 0 / 0.8678 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.5776, allocations: 0 / 0.8678 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.5776, allocations: 4 kB / 0.8678 GB, free: 13.52 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.578, allocations: 273.2 kB / 0.8681 GB, free: 13.21 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5781, allocations: 66.72 kB / 0.8681 GB, free: 13.14 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.828e-05/0.5782, allocations: 16.98 kB / 0.8681 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.5782, allocations: 4 kB / 0.8682 GB, free: 13.12 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5783, allocations: 30.56 kB / 0.8682 GB, free: 13.08 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.5783, allocations: 4 kB / 0.8682 GB, free: 13.07 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5): time 0.0001714/0.5784, allocations: 65.59 kB / 0.8682 GB, free: 13 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.5785, allocations: 53.19 kB / 0.8683 GB, free: 12.94 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.329e-05/0.5786, allocations: 100.9 kB / 0.8684 GB, free: 12.84 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.5786, allocations: 25.7 kB / 0.8684 GB, free: 12.8 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.5786, allocations: 84.14 kB / 0.8685 GB, free: 12.72 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.5786, allocations: 19.66 kB / 0.8685 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.5786, allocations: 0 / 0.8685 GB, free: 12.7 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.5788, allocations: 318.8 kB / 0.8688 GB, free: 12.38 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.734e-05/0.5788, allocations: 16 kB / 0.8688 GB, free: 12.36 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.455e-05/0.5788, allocations: 12 kB / 0.8688 GB, free: 12.35 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.469e-05/0.5789, allocations: 19.98 kB / 0.8689 GB, free: 12.33 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5789, allocations: 0 / 0.8689 GB, free: 12.33 MB / 0.5419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001033/0.579, allocations: 57.7 kB / 0.8689 GB, free: 12.27 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.579, allocations: 11.92 kB / 0.8689 GB, free: 12.26 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.579, allocations: 3.906 kB / 0.8689 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.858e-06/0.579, allocations: 4 kB / 0.8689 GB, free: 12.25 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.5801, allocations: 111.9 kB / 0.869 GB, free: 12.14 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.5813, allocations: 1.345 MB / 0.8704 GB, free: 10.68 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.835e-05/0.5814, allocations: 20.61 kB / 0.8704 GB, free: 10.66 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.5814, allocations: 0 / 0.8704 GB, free: 10.66 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 (5): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.231e-05/0.5815, allocations: 106.9 kB / 0.8705 GB, free: 10.55 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.859e-05/0.5815, allocations: 3.906 kB / 0.8705 GB, free: 10.54 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004591/0.582, allocations: 118.5 kB / 0.8706 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.582, allocations: 0 / 0.8706 GB, free: 10.42 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.01e-07/0.582, allocations: 4 kB / 0.8706 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.582, allocations: 3.906 kB / 0.8706 GB, free: 10.41 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001484/0.5822, allocations: 158.2 kB / 0.8708 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.5822, allocations: 0 / 0.8708 GB, free: 10.22 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.5823, allocations: 15.98 kB / 0.8708 GB, free: 10.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004371/0.5827, allocations: 44.83 kB / 0.8708 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.5827, allocations: 0 / 0.8708 GB, free: 10.16 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/0.5843, allocations: 1.319 MB / 0.8721 GB, free: 8.715 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5843, allocations: 0 / 0.8721 GB, free: 8.715 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004214/0.5847, allocations: 192.3 kB / 0.8723 GB, free: 8.508 MB / 0.5419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005299/0.5853, allocations: 0.5711 MB / 0.8728 GB, free: 7.914 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.5853, allocations: 89 kB / 0.8729 GB, free: 7.809 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.5854, allocations: 8.047 kB / 0.8729 GB, free: 7.801 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5855, allocations: 7.984 kB / 0.8729 GB, free: 7.793 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.558e-05/0.5855, allocations: 8 kB / 0.873 GB, free: 7.785 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.5855, allocations: 0 / 0.873 GB, free: 7.785 MB / 0.5419 GB Notification: Performance of sort global known variables: time 3.841e-05/0.5856, allocations: 88.11 kB / 0.873 GB, free: 7.699 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008281/0.5864, allocations: 16 kB / 0.8731 GB, free: 7.684 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): 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.5865, allocations: 95.25 kB / 0.8731 GB, free: 7.578 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0009491/0.5875, allocations: 139.8 kB / 0.8733 GB, free: 7.441 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5875, allocations: 4 kB / 0.8733 GB, free: 7.438 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.000271/0.5878, allocations: 121.8 kB / 0.8734 GB, free: 7.309 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.588, allocations: 20.64 kB / 0.8734 GB, free: 7.289 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.5887, allocations: 128 kB / 0.8735 GB, free: 7.137 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003218/0.589, allocations: 0.6958 MB / 0.8742 GB, free: 6.414 MB / 0.5419 GB Notification: Performance of SimCode: time 2.5e-07/0.589, allocations: 0.8438 kB / 0.8742 GB, free: 6.414 MB / 0.5419 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1)