Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.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.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison",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.778/1.778, allocations: 390.4 MB / 397.7 MB, free: 10.6 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.001095/0.001095, allocations: 188.9 kB / 490.8 MB, free: 11.11 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.103/1.103, allocations: 221.4 MB / 0.7863 GB, free: 13.49 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.0009683/0.0009683, allocations: 94.53 kB / 0.9264 GB, free: 4.449 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2248/0.2258, allocations: 149.2 MB / 1.072 GB, free: 15.38 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4947/0.7205, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.8544, allocations: 150.4 MB / 1.359 GB, free: 41.09 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001829/0.8547, allocations: 80.53 kB / 1.359 GB, free: 41.01 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.006344/0.861, allocations: 2.512 MB / 1.361 GB, free: 38.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.8611, allocations: 8 kB / 1.361 GB, free: 38.49 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.8613, allocations: 16.77 kB / 1.361 GB, free: 38.47 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.452e-05/0.8613, allocations: 170.4 kB / 1.361 GB, free: 38.27 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.966e-06/0.8613, allocations: 8.688 kB / 1.361 GB, free: 38.26 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.8613, allocations: 3.125 kB / 1.361 GB, free: 38.26 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.71e-05/0.8614, allocations: 20.73 kB / 1.361 GB, free: 38.24 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.777e-05/0.8615, allocations: 42.28 kB / 1.361 GB, free: 38.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.8615, allocations: 4 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.8615, allocations: 0.7188 kB / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.8615, allocations: 0 / 1.361 GB, free: 38.19 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.113e-05/0.8616, allocations: 144.3 kB / 1.361 GB, free: 38.02 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/0.8617, allocations: 54.58 kB / 1.362 GB, free: 37.95 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.106e-05/0.8617, allocations: 21.52 kB / 1.362 GB, free: 37.93 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.8618, allocations: 8.641 kB / 1.362 GB, free: 37.92 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.8618, allocations: 31.16 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.8618, allocations: 1.062 kB / 1.362 GB, free: 37.88 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6): time 0.000118/0.8619, allocations: 61.59 kB / 1.362 GB, free: 37.82 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.122e-05/0.8619, allocations: 51.41 kB / 1.362 GB, free: 37.75 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.52e-05/0.862, allocations: 89.91 kB / 1.362 GB, free: 37.66 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.862, allocations: 26.8 kB / 1.362 GB, free: 37.63 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.346e-06/0.862, allocations: 84.14 kB / 1.362 GB, free: 37.54 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.862, allocations: 16.33 kB / 1.362 GB, free: 37.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.862, allocations: 0 / 1.362 GB, free: 37.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 3.087e-05/0.8621, allocations: 323.7 kB / 1.362 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.8621, allocations: 8.5 kB / 1.362 GB, free: 37.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.8621, allocations: 12 kB / 1.362 GB, free: 37.18 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.325e-05/0.8621, allocations: 12.73 kB / 1.362 GB, free: 37.17 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.8621, allocations: 0.7812 kB / 1.362 GB, free: 37.17 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.522e-05/0.8622, allocations: 57.69 kB / 1.362 GB, free: 37.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.8622, allocations: 7.906 kB / 1.362 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.8622, allocations: 0 / 1.362 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.8623, allocations: 5.312 kB / 1.362 GB, free: 37.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.8624, allocations: 15.98 kB / 1.362 GB, free: 37.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.8624, allocations: 2.375 kB / 1.362 GB, free: 37.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.642e-05/0.8624, allocations: 4.875 kB / 1.362 GB, free: 37.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.8624, allocations: 4 kB / 1.362 GB, free: 37.07 MB / 0.8855 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 (6): * Single equations (assignments): 6 * 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 3.683e-05/0.8625, allocations: 109.5 kB / 1.362 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.8625, allocations: 0.5 kB / 1.362 GB, free: 36.96 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.8627, allocations: 96.17 kB / 1.363 GB, free: 36.87 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8627, allocations: 0.6562 kB / 1.363 GB, free: 36.87 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.8627, allocations: 0 / 1.363 GB, free: 36.87 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.8627, allocations: 4.562 kB / 1.363 GB, free: 36.87 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.896e-05/0.8628, allocations: 138.2 kB / 1.363 GB, free: 36.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8628, allocations: 4.656 kB / 1.363 GB, free: 36.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.733e-05/0.8629, allocations: 19.98 kB / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8629, allocations: 0.7188 kB / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.8629, allocations: 1.812 kB / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8629, allocations: 0 / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8629, allocations: 0 / 1.363 GB, free: 36.67 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.418e-05/0.863, allocations: 101.9 kB / 1.363 GB, free: 36.56 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001051/0.8631, allocations: 471.6 kB / 1.363 GB, free: 36.08 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.8632, allocations: 84.95 kB / 1.363 GB, free: 35.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8632, allocations: 6.422 kB / 1.363 GB, free: 35.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.8633, allocations: 4 kB / 1.363 GB, free: 35.97 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.8633, allocations: 0.875 kB / 1.363 GB, free: 35.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.8633, allocations: 8 kB / 1.363 GB, free: 35.96 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.22e-05/0.8633, allocations: 81.09 kB / 1.363 GB, free: 35.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0008079/0.8641, allocations: 11.91 kB / 1.363 GB, free: 35.87 MB / 0.8855 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 (7): * Single equations (assignments): 7 * 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 7.156e-05/0.8642, allocations: 100.9 kB / 1.364 GB, free: 35.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 6.605e-05/0.8643, allocations: 32 kB / 1.364 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.8643, allocations: 0 / 1.364 GB, free: 35.73 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.236e-05/0.8643, allocations: 19.94 kB / 1.364 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.8644, allocations: 4.688 kB / 1.364 GB, free: 35.71 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002016/0.8646, allocations: 80.91 kB / 1.364 GB, free: 35.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.8648, allocations: 0.7005 MB / 1.364 GB, free: 34.88 MB / 0.8855 GB Notification: Performance of SimCode: time 2.4e-07/0.8648, allocations: 0 / 1.364 GB, free: 34.88 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_comparison.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi_comparison_res.mat does not exist to compare? outputFormat=mat