Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.807/1.807, allocations: 390.4 MB / 397.7 MB, free: 10.61 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.001147/0.001147, allocations: 181.3 kB / 490.8 MB, free: 11.15 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.141/1.141, allocations: 221.4 MB / 0.7863 GB, free: 13.55 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.0009707/0.0009707, allocations: 99.12 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.2433/0.2443, allocations: 149.1 MB / 1.072 GB, free: 15.49 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5681/0.8124, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.7/3.512, allocations: 1.731 GB / 2.943 GB, free: 375.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/3.513, allocations: 83.23 kB / 2.943 GB, free: 375.3 MB / 1.167 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.1474/3.66, allocations: 86.36 MB / 3.027 GB, free: 304.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/3.66, allocations: 12 kB / 3.027 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008137/3.661, allocations: 87.61 kB / 3.027 GB, free: 304.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/3.661, allocations: 230.7 kB / 3.027 GB, free: 304.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.812e-05/3.661, allocations: 30.03 kB / 3.027 GB, free: 304.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/3.661, allocations: 12 kB / 3.027 GB, free: 304.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002115/3.662, allocations: 108.6 kB / 3.028 GB, free: 304.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/3.662, allocations: 227.3 kB / 3.028 GB, free: 304.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/3.662, allocations: 3.984 kB / 3.028 GB, free: 304.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/3.662, allocations: 0 / 3.028 GB, free: 304.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/3.662, allocations: 11.91 kB / 3.028 GB, free: 304.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/3.663, allocations: 1.138 MB / 3.029 GB, free: 302.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006149/3.664, allocations: 190.6 kB / 3.029 GB, free: 302.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.676e-05/3.664, allocations: 52.84 kB / 3.029 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/3.664, allocations: 0 / 3.029 GB, free: 302.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/3.664, allocations: 42.47 kB / 3.029 GB, free: 302.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/3.664, allocations: 4 kB / 3.029 GB, free: 302.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=12): time 0.001215/3.665, allocations: 259 kB / 3.029 GB, free: 302.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.374e-05/3.665, allocations: 51.41 kB / 3.03 GB, free: 302.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.745e-05/3.665, allocations: 137.4 kB / 3.03 GB, free: 302.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/3.665, allocations: 25.7 kB / 3.03 GB, free: 302.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/3.665, allocations: 139.8 kB / 3.03 GB, free: 301.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/3.665, allocations: 47.36 kB / 3.03 GB, free: 301.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/3.665, allocations: 4 kB / 3.03 GB, free: 301.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 3.634e-05/3.665, allocations: 326.8 kB / 3.03 GB, free: 301.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/3.665, allocations: 44.36 kB / 3.03 GB, free: 301.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.969e-05/3.666, allocations: 115.2 kB / 3.03 GB, free: 301.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/3.666, allocations: 67.98 kB / 3.03 GB, free: 301.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/3.666, allocations: 3.938 kB / 3.03 GB, free: 301.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001186/3.667, allocations: 318.8 kB / 3.031 GB, free: 301 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/3.667, allocations: 4 kB / 3.031 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/3.667, allocations: 4 kB / 3.031 GB, free: 301 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/3.668, allocations: 169.8 kB / 3.031 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/3.668, allocations: 35.97 kB / 3.031 GB, free: 300.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/3.671, allocations: 2.894 MB / 3.034 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/3.671, allocations: 40.06 kB / 3.034 GB, free: 297.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/3.671, allocations: 12 kB / 3.034 GB, free: 297.6 MB / 1.167 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.476e-05/3.672, allocations: 108.9 kB / 3.034 GB, free: 297.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/3.672, allocations: 15.81 kB / 3.034 GB, free: 297.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/3.673, allocations: 339 kB / 3.034 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/3.673, allocations: 0 / 3.034 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/3.673, allocations: 3.906 kB / 3.034 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/3.673, allocations: 0 / 3.034 GB, free: 297.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/3.673, allocations: 233.9 kB / 3.034 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/3.673, allocations: 0 / 3.034 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/3.673, allocations: 31.92 kB / 3.034 GB, free: 296.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009547/3.674, allocations: 173.5 kB / 3.035 GB, free: 296.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/3.674, allocations: 0 / 3.035 GB, free: 296.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/3.677, allocations: 2.942 MB / 3.038 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/3.677, allocations: 4.062 kB / 3.038 GB, free: 293.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001042/3.678, allocations: 392.8 kB / 3.038 GB, free: 293 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001122/3.679, allocations: 0.7746 MB / 3.039 GB, free: 292.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/3.679, allocations: 104.9 kB / 3.039 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/3.679, allocations: 0 / 3.039 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002907/3.679, allocations: 19.97 kB / 3.039 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/3.679, allocations: 15.89 kB / 3.039 GB, free: 292.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/3.679, allocations: 7.938 kB / 3.039 GB, free: 292.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.663e-05/3.68, allocations: 118.1 kB / 3.039 GB, free: 291.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001061/3.681, allocations: 183.8 kB / 3.039 GB, free: 291.8 MB / 1.167 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.0007128/3.681, allocations: 0.8323 MB / 3.04 GB, free: 290.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006765/3.682, allocations: 375.9 kB / 3.04 GB, free: 290.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/3.682, allocations: 0 / 3.04 GB, free: 290.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/3.683, allocations: 311.4 kB / 3.041 GB, free: 290.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/3.683, allocations: 35.97 kB / 3.041 GB, free: 290.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007349/3.684, allocations: 308.7 kB / 3.041 GB, free: 289.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001873/3.684, allocations: 0.761 MB / 3.042 GB, free: 289.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.71e-07/3.684, allocations: 0 / 3.042 GB, free: 289.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat