Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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 9.1.1-maint.9.1.x/package.mo): time 1.932/1.932, allocations: 387.2 MB / 394.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 173.3 kB / 487 MB, free: 5.383 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.241/1.241, allocations: 221.3 MB / 0.7819 GB, free: 1.375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009661/0.0009661, allocations: 91.03 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4705/0.4715, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.6888, allocations: 142.3 MB / 1.205 GB, free: 26.16 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.78/3.469, allocations: 1.73 GB / 2.936 GB, free: 124.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/3.469, allocations: 79.95 kB / 2.936 GB, free: 124.6 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.154/3.623, allocations: 86.35 MB / 3.02 GB, free: 36.55 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/3.623, allocations: 11.94 kB / 3.02 GB, free: 36.54 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/3.624, allocations: 91.61 kB / 3.02 GB, free: 36.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/3.624, allocations: 226.7 kB / 3.02 GB, free: 36.19 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/3.624, allocations: 34.03 kB / 3.02 GB, free: 36.15 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/3.624, allocations: 12 kB / 3.02 GB, free: 36.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002223/3.624, allocations: 112.6 kB / 3.02 GB, free: 36.03 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/3.625, allocations: 214.8 kB / 3.021 GB, free: 35.79 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/3.625, allocations: 3.906 kB / 3.021 GB, free: 35.79 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/3.625, allocations: 0 / 3.021 GB, free: 35.79 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/3.625, allocations: 4 kB / 3.021 GB, free: 35.78 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/3.626, allocations: 1.138 MB / 3.022 GB, free: 34.58 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/3.627, allocations: 190.6 kB / 3.022 GB, free: 34.38 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.119e-05/3.627, allocations: 56.84 kB / 3.022 GB, free: 34.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/3.627, allocations: 3.984 kB / 3.022 GB, free: 34.32 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/3.627, allocations: 34.56 kB / 3.022 GB, free: 34.28 MB / 1.151 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/3.627, allocations: 224 / 3.022 GB, free: 34.28 MB / 1.151 GB Notification: Performance of matching and sorting (n=12): time 0.001208/3.628, allocations: 271 kB / 3.022 GB, free: 34 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.47e-05/3.628, allocations: 51.41 kB / 3.022 GB, free: 33.94 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/3.628, allocations: 145.3 kB / 3.023 GB, free: 33.79 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/3.628, allocations: 25.7 kB / 3.023 GB, free: 33.76 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.88e-05/3.628, allocations: 139.8 kB / 3.023 GB, free: 33.61 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/3.628, allocations: 43.36 kB / 3.023 GB, free: 33.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/3.628, allocations: 4 kB / 3.023 GB, free: 33.57 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.816e-05/3.628, allocations: 322.8 kB / 3.023 GB, free: 33.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.885e-05/3.628, allocations: 48.36 kB / 3.023 GB, free: 33.19 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/3.629, allocations: 113.9 kB / 3.023 GB, free: 33.05 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/3.629, allocations: 63.92 kB / 3.023 GB, free: 32.99 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/3.629, allocations: 4 kB / 3.023 GB, free: 32.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001226/3.63, allocations: 318.9 kB / 3.024 GB, free: 32.66 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/3.63, allocations: 4 kB / 3.024 GB, free: 32.66 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/3.63, allocations: 4 kB / 3.024 GB, free: 32.65 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/3.631, allocations: 165.8 kB / 3.024 GB, free: 32.48 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/3.631, allocations: 39.91 kB / 3.024 GB, free: 32.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/3.634, allocations: 2.906 MB / 3.027 GB, free: 29.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/3.635, allocations: 35.92 kB / 3.027 GB, free: 29.27 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/3.635, allocations: 4 kB / 3.027 GB, free: 29.26 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 7.915e-05/3.635, allocations: 118.5 kB / 3.027 GB, free: 29.14 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/3.635, allocations: 15.81 kB / 3.027 GB, free: 29.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/3.636, allocations: 331.4 kB / 3.027 GB, free: 28.79 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/3.636, allocations: 4 kB / 3.027 GB, free: 28.79 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/3.636, allocations: 0 / 3.027 GB, free: 28.79 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/3.636, allocations: 3.938 kB / 3.027 GB, free: 28.78 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/3.636, allocations: 230 kB / 3.027 GB, free: 28.52 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/3.636, allocations: 0 / 3.027 GB, free: 28.52 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/3.636, allocations: 23.98 kB / 3.027 GB, free: 28.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009837/3.637, allocations: 173.6 kB / 3.027 GB, free: 28.32 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.887e-05/3.637, allocations: 0 / 3.027 GB, free: 28.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/3.64, allocations: 2.954 MB / 3.03 GB, free: 25.12 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/3.64, allocations: 0 / 3.03 GB, free: 25.12 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001062/3.641, allocations: 384.8 kB / 3.031 GB, free: 24.72 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001157/3.642, allocations: 0.777 MB / 3.032 GB, free: 23.92 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/3.642, allocations: 112.9 kB / 3.032 GB, free: 23.79 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/3.643, allocations: 0 / 3.032 GB, free: 23.79 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/3.643, allocations: 23.88 kB / 3.032 GB, free: 23.77 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.804e-05/3.643, allocations: 7.984 kB / 3.032 GB, free: 23.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/3.643, allocations: 8 kB / 3.032 GB, free: 23.75 MB / 1.151 GB Notification: Performance of sort global known variables: time 6.786e-05/3.643, allocations: 111.3 kB / 3.032 GB, free: 23.64 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001166/3.644, allocations: 187.8 kB / 3.032 GB, free: 23.46 MB / 1.151 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007925/3.645, allocations: 0.8218 MB / 3.033 GB, free: 22.64 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000737/3.646, allocations: 380.3 kB / 3.033 GB, free: 22.25 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/3.646, allocations: 0 / 3.033 GB, free: 22.25 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004802/3.646, allocations: 311.5 kB / 3.033 GB, free: 21.92 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/3.646, allocations: 35.81 kB / 3.033 GB, free: 21.89 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007961/3.647, allocations: 311.8 kB / 3.034 GB, free: 21.55 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002042/3.648, allocations: 0.7572 MB / 3.034 GB, free: 20.77 MB / 1.151 GB Notification: Performance of SimCode: time 2.6e-07/3.648, allocations: 0 / 3.034 GB, free: 20.77 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat