Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.934/1.934, allocations: 387.2 MB / 394.5 MB, free: 13.36 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.001098/0.001098, allocations: 176.4 kB / 487 MB, free: 5.066 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.258/1.258, allocations: 221.3 MB / 0.7819 GB, free: 1.141 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.0009425/0.0009424, allocations: 100.9 kB / 0.9213 GB, free: 2.395 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4905/0.4915, allocations: 148.4 MB / 1.066 GB, free: 167.9 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.7031, allocations: 142.3 MB / 1.205 GB, free: 25.89 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.764/3.467, allocations: 1.714 GB / 2.919 GB, free: 144.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/3.467, allocations: 87.83 kB / 2.92 GB, free: 144.4 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.09976/3.567, allocations: 56.07 MB / 2.974 GB, free: 87.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/3.567, allocations: 13 kB / 2.974 GB, free: 87.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006041/3.568, allocations: 59.73 kB / 2.974 GB, free: 87.23 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/3.568, allocations: 201.4 kB / 2.975 GB, free: 86.99 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/3.568, allocations: 4 kB / 2.975 GB, free: 86.99 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/3.568, allocations: 7.938 kB / 2.975 GB, free: 86.98 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001981/3.568, allocations: 79.97 kB / 2.975 GB, free: 86.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/3.568, allocations: 149.3 kB / 2.975 GB, free: 86.74 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/3.568, allocations: 0 / 2.975 GB, free: 86.74 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/3.568, allocations: 0 / 2.975 GB, free: 86.74 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/3.568, allocations: 8 kB / 2.975 GB, free: 86.73 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009405/3.569, allocations: 0.8019 MB / 2.976 GB, free: 85.86 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/3.569, allocations: 102.4 kB / 2.976 GB, free: 85.75 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/3.57, allocations: 52.84 kB / 2.976 GB, free: 85.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/3.57, allocations: 0 / 2.976 GB, free: 85.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.809e-06/3.57, allocations: 30.56 kB / 2.976 GB, free: 85.66 MB / 1.151 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/3.57, allocations: 4 kB / 2.976 GB, free: 85.66 MB / 1.151 GB Notification: Performance of matching and sorting (n=8): time 0.000785/3.57, allocations: 194.4 kB / 2.976 GB, free: 85.46 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.368e-05/3.57, allocations: 51.41 kB / 2.976 GB, free: 85.39 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/3.57, allocations: 125.2 kB / 2.976 GB, free: 85.26 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/3.57, allocations: 25.7 kB / 2.976 GB, free: 85.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/3.571, allocations: 107.9 kB / 2.976 GB, free: 85.12 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/3.571, allocations: 23.66 kB / 2.976 GB, free: 85.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/3.571, allocations: 0 / 2.976 GB, free: 85.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 3.823e-05/3.571, allocations: 318.7 kB / 2.977 GB, free: 84.78 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.103e-05/3.571, allocations: 43.98 kB / 2.977 GB, free: 84.73 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.131e-05/3.571, allocations: 89.94 kB / 2.977 GB, free: 84.62 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.166e-05/3.571, allocations: 43.97 kB / 2.977 GB, free: 84.58 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/3.571, allocations: 0 / 2.977 GB, free: 84.58 MB / 1.151 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0007282/3.572, allocations: 214.3 kB / 2.977 GB, free: 84.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/3.572, allocations: 7.938 kB / 2.977 GB, free: 84.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/3.572, allocations: 0 / 2.977 GB, free: 84.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006498/3.572, allocations: 88.83 kB / 2.977 GB, free: 84.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/3.573, allocations: 47.95 kB / 2.977 GB, free: 84.22 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/3.574, allocations: 1.484 MB / 2.978 GB, free: 82.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/3.574, allocations: 32 kB / 2.979 GB, free: 82.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/3.574, allocations: 7.984 kB / 2.979 GB, free: 82.57 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/3.575, allocations: 106.4 kB / 2.979 GB, free: 82.46 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/3.575, allocations: 19.81 kB / 2.979 GB, free: 82.45 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/3.575, allocations: 243 kB / 2.979 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/3.575, allocations: 4 kB / 2.979 GB, free: 82.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/3.575, allocations: 4 kB / 2.979 GB, free: 82.19 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/3.575, allocations: 7.844 kB / 2.979 GB, free: 82.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/3.576, allocations: 210.1 kB / 2.979 GB, free: 81.94 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/3.576, allocations: 0 / 2.979 GB, free: 81.94 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/3.576, allocations: 39.88 kB / 2.979 GB, free: 81.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/3.576, allocations: 88.77 kB / 2.979 GB, free: 81.81 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/3.576, allocations: 0 / 2.979 GB, free: 81.81 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001414/3.578, allocations: 1.496 MB / 2.981 GB, free: 80.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/3.578, allocations: 0 / 2.981 GB, free: 80.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006527/3.578, allocations: 320.2 kB / 2.981 GB, free: 79.87 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007317/3.579, allocations: 0.6965 MB / 2.982 GB, free: 79.15 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/3.579, allocations: 88.92 kB / 2.982 GB, free: 79.04 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/3.579, allocations: 4.062 kB / 2.982 GB, free: 79.04 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/3.579, allocations: 27.97 kB / 2.982 GB, free: 79.01 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.853e-05/3.58, allocations: 7.984 kB / 2.982 GB, free: 79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/3.58, allocations: 4.141 kB / 2.982 GB, free: 79 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.179e-05/3.58, allocations: 100.7 kB / 2.982 GB, free: 78.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001079/3.581, allocations: 131.8 kB / 2.982 GB, free: 78.77 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 (10): * Single equations (assignments): 9 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006732/3.581, allocations: 0.7079 MB / 2.983 GB, free: 78.06 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004809/3.582, allocations: 233.8 kB / 2.983 GB, free: 77.82 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/3.582, allocations: 7.938 kB / 2.983 GB, free: 77.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/3.582, allocations: 187.9 kB / 2.983 GB, free: 77.62 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/3.582, allocations: 15.98 kB / 2.983 GB, free: 77.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/3.583, allocations: 219.1 kB / 2.983 GB, free: 77.37 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/3.583, allocations: 0.7345 MB / 2.984 GB, free: 76.61 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/3.583, allocations: 0 / 2.984 GB, free: 76.61 MB / 1.151 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi_res.mat does not exist to compare? outputFormat=mat