Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature,fileNamePrefix="Buildings_latest_Buildings_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/Buildings 10.0.0-master/package.mo): time 1.863/1.863, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 189.6 kB / 490.8 MB, free: 11.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 221.4 MB / 0.7863 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009886/0.0009887, allocations: 103.2 kB / 0.9264 GB, free: 21 MB / 0.6042 GB Notification: Performance of FrontEnd - loaded program: time 0.2482/0.2492, allocations: 149.1 MB / 1.072 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5272/0.7764, allocations: 143 MB / 1.212 GB, free: 53.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.938, allocations: 151.8 MB / 1.36 GB, free: 2.211 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/0.9382, allocations: 68.69 kB / 1.36 GB, free: 2.145 MB / 0.8542 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.008629/0.9469, allocations: 2.884 MB / 1.363 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.9469, allocations: 12 kB / 1.363 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.9471, allocations: 15.97 kB / 1.363 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.9473, allocations: 179 kB / 1.363 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-06/0.9473, allocations: 0 / 1.363 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.9473, allocations: 4 kB / 1.363 GB, free: 14.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001072/0.9474, allocations: 35.94 kB / 1.363 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.868e-05/0.9475, allocations: 57.67 kB / 1.363 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.9475, allocations: 0 / 1.363 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.9476, allocations: 0 / 1.363 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.9476, allocations: 3.906 kB / 1.363 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.9479, allocations: 281.3 kB / 1.363 GB, free: 14.56 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.9481, allocations: 58.62 kB / 1.363 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.9481, allocations: 16.98 kB / 1.363 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.9482, allocations: 7.984 kB / 1.363 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.9482, allocations: 34.55 kB / 1.363 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.9482, allocations: 3.938 kB / 1.363 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.0001726/0.9484, allocations: 69.61 kB / 1.364 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.9484, allocations: 59.33 kB / 1.364 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.609e-05/0.9485, allocations: 97 kB / 1.364 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.9485, allocations: 25.7 kB / 1.364 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.9485, allocations: 80.14 kB / 1.364 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.9485, allocations: 27.64 kB / 1.364 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-06/0.9486, allocations: 0 / 1.364 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.9486, allocations: 310.8 kB / 1.364 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.9487, allocations: 16 kB / 1.364 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.512e-05/0.9487, allocations: 16 kB / 1.364 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.097e-05/0.9487, allocations: 11.98 kB / 1.364 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.9487, allocations: 0 / 1.364 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001063/0.9489, allocations: 69.59 kB / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.9489, allocations: 4 kB / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.9489, allocations: 0 / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.9489, allocations: 0 / 1.364 GB, free: 13.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.9499, allocations: 115.9 kB / 1.364 GB, free: 13.48 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.9511, allocations: 1.345 MB / 1.366 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.9512, allocations: 16.11 kB / 1.366 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.9512, allocations: 0 / 1.366 GB, free: 12.01 MB / 0.8698 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 5.784e-05/0.9513, allocations: 103.7 kB / 1.366 GB, free: 11.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.04e-05/0.9513, allocations: 7.906 kB / 1.366 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004457/0.9518, allocations: 119 kB / 1.366 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.9518, allocations: 0 / 1.366 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.9518, allocations: 11.95 kB / 1.366 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.9518, allocations: 3.938 kB / 1.366 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.9519, allocations: 150.2 kB / 1.366 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.9519, allocations: 4 kB / 1.366 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.952, allocations: 15.98 kB / 1.366 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004037/0.9525, allocations: 40.83 kB / 1.366 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.9525, allocations: 0 / 1.366 GB, free: 11.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.9537, allocations: 1.328 MB / 1.367 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.9537, allocations: 0 / 1.367 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003949/0.9541, allocations: 196.4 kB / 1.368 GB, free: 9.844 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004732/0.9546, allocations: 0.567 MB / 1.368 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.087e-05/0.9546, allocations: 84.95 kB / 1.368 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.9546, allocations: 0 / 1.368 GB, free: 9.152 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001161/0.9548, allocations: 11.98 kB / 1.368 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.9548, allocations: 8.109 kB / 1.368 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9548, allocations: 8 kB / 1.368 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.277e-05/0.9548, allocations: 83.28 kB / 1.368 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0007967/0.9557, allocations: 19.94 kB / 1.368 GB, free: 9.023 MB / 0.8698 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 9.519e-05/0.9558, allocations: 95.25 kB / 1.368 GB, free: 8.922 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000969/0.9567, allocations: 131.8 kB / 1.369 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9567, allocations: 0 / 1.369 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002529/0.957, allocations: 137.7 kB / 1.369 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.9572, allocations: 7.906 kB / 1.369 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.9578, allocations: 120.1 kB / 1.369 GB, free: 8.496 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.9581, allocations: 0.7036 MB / 1.369 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of SimCode: time 3.51e-07/0.9581, allocations: 4 kB / 1.369 GB, free: 7.762 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_DewPointTemperature.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.DewPointTemperature_res.mat does not exist to compare? outputFormat=mat