Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.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.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_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 2.016/2.016, allocations: 387.2 MB / 394.5 MB, free: 13.6 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.0011/0.0011, allocations: 179.9 kB / 487 MB, free: 5.352 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.333/1.333, allocations: 221.3 MB / 0.7819 GB, free: 1.363 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.000988/0.0009881, allocations: 86.95 kB / 0.9213 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5584/0.5594, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.822, allocations: 142.3 MB / 1.205 GB, free: 26.09 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.339/4.161, allocations: 1.731 GB / 2.936 GB, free: 128.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002343/4.162, allocations: 99.86 kB / 2.936 GB, free: 128.2 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.1365/4.298, allocations: 75.72 MB / 3.01 GB, free: 51.06 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/4.298, allocations: 9 kB / 3.01 GB, free: 51.05 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009012/4.299, allocations: 95.55 kB / 3.01 GB, free: 50.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/4.299, allocations: 222.7 kB / 3.01 GB, free: 50.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/4.299, allocations: 8 kB / 3.01 GB, free: 50.69 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/4.299, allocations: 8 kB / 3.011 GB, free: 50.68 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002585/4.3, allocations: 132.6 kB / 3.011 GB, free: 50.55 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/4.3, allocations: 213.2 kB / 3.011 GB, free: 50.32 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/4.3, allocations: 0 / 3.011 GB, free: 50.32 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/4.3, allocations: 0 / 3.011 GB, free: 50.32 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/4.3, allocations: 4 kB / 3.011 GB, free: 50.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/4.301, allocations: 0.9666 MB / 3.012 GB, free: 49.29 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/4.302, allocations: 142.5 kB / 3.012 GB, free: 49.14 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/4.302, allocations: 60.89 kB / 3.012 GB, free: 49.08 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/4.302, allocations: 7.906 kB / 3.012 GB, free: 49.07 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/4.302, allocations: 34.5 kB / 3.012 GB, free: 49.03 MB / 1.151 GB Notification: Performance of pre-optimization done (n=11): time 1.974e-06/4.302, allocations: 0 / 3.012 GB, free: 49.03 MB / 1.151 GB Notification: Performance of matching and sorting (n=11): time 0.0003122/4.302, allocations: 141.6 kB / 3.012 GB, free: 48.89 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/4.302, allocations: 55.34 kB / 3.012 GB, free: 48.82 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/4.302, allocations: 140 kB / 3.012 GB, free: 48.68 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/4.302, allocations: 25.7 kB / 3.012 GB, free: 48.64 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.366e-05/4.302, allocations: 139.9 kB / 3.012 GB, free: 48.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/4.302, allocations: 43.39 kB / 3.013 GB, free: 48.46 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.53e-05/4.302, allocations: 0 / 3.013 GB, free: 48.46 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.419e-05/4.302, allocations: 322.8 kB / 3.013 GB, free: 48.14 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.74e-05/4.303, allocations: 47.98 kB / 3.013 GB, free: 48.09 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/4.303, allocations: 110.8 kB / 3.013 GB, free: 47.96 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/4.303, allocations: 63.05 kB / 3.013 GB, free: 47.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/4.303, allocations: 0 / 3.013 GB, free: 47.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/4.303, allocations: 181.5 kB / 3.013 GB, free: 47.71 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/4.303, allocations: 15.94 kB / 3.013 GB, free: 47.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/4.303, allocations: 0 / 3.013 GB, free: 47.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/4.303, allocations: 7.984 kB / 3.013 GB, free: 47.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/4.304, allocations: 51.94 kB / 3.013 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/4.304, allocations: 4 kB / 3.013 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/4.304, allocations: 39.81 kB / 3.013 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.862e-05/4.304, allocations: 15.98 kB / 3.013 GB, free: 47.58 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.084e-05/4.304, allocations: 108.9 kB / 3.013 GB, free: 47.47 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/4.304, allocations: 15.75 kB / 3.013 GB, free: 47.45 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/4.305, allocations: 237.8 kB / 3.014 GB, free: 47.21 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/4.305, allocations: 3.906 kB / 3.014 GB, free: 47.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/4.305, allocations: 4 kB / 3.014 GB, free: 47.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/4.305, allocations: 0 / 3.014 GB, free: 47.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/4.305, allocations: 242.1 kB / 3.014 GB, free: 46.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/4.305, allocations: 0 / 3.014 GB, free: 46.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/4.305, allocations: 51.97 kB / 3.014 GB, free: 46.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/4.305, allocations: 0 / 3.014 GB, free: 46.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/4.305, allocations: 7.984 kB / 3.014 GB, free: 46.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/4.305, allocations: 3.938 kB / 3.014 GB, free: 46.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/4.305, allocations: 0 / 3.014 GB, free: 46.87 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003211/4.306, allocations: 296.6 kB / 3.014 GB, free: 46.57 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004751/4.306, allocations: 0.6806 MB / 3.015 GB, free: 45.87 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.484e-05/4.306, allocations: 92.92 kB / 3.015 GB, free: 45.76 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/4.306, allocations: 0 / 3.015 GB, free: 45.76 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/4.307, allocations: 19.92 kB / 3.015 GB, free: 45.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/4.307, allocations: 15.97 kB / 3.015 GB, free: 45.72 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/4.307, allocations: 4 kB / 3.015 GB, free: 45.72 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.075e-05/4.307, allocations: 116.7 kB / 3.015 GB, free: 45.61 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001226/4.308, allocations: 155.8 kB / 3.015 GB, free: 45.45 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 (23): * Single equations (assignments): 23 * 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 0.001157/4.309, allocations: 0.7827 MB / 3.016 GB, free: 44.67 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0003282/4.309, allocations: 148.8 kB / 3.016 GB, free: 44.53 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/4.309, allocations: 0 / 3.016 GB, free: 44.53 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000132/4.31, allocations: 88.22 kB / 3.016 GB, free: 44.44 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/4.31, allocations: 32.45 kB / 3.016 GB, free: 44.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/4.311, allocations: 247.6 kB / 3.017 GB, free: 44.14 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000397/4.311, allocations: 0.7747 MB / 3.017 GB, free: 43.34 MB / 1.151 GB Notification: Performance of SimCode: time 2.314e-06/4.311, allocations: 0 / 3.017 GB, free: 43.34 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat