Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_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.TDewPoi_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TDewPoi_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi,fileNamePrefix="Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TDewPoi_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.941/1.941, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001395/0.001395, allocations: 185.2 kB / 487 MB, free: 5.328 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.36/1.36, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009882/0.0009882, allocations: 94.02 kB / 0.9213 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.5708/0.5718, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.8313, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.985/3.816, allocations: 1.728 GB / 2.934 GB, free: 130.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/3.816, allocations: 99.86 kB / 2.934 GB, free: 130.7 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.09143/3.908, allocations: 48.88 MB / 2.982 GB, free: 81.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/3.908, allocations: 9 kB / 2.982 GB, free: 81.01 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/3.909, allocations: 179.5 kB / 2.982 GB, free: 80.84 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/3.91, allocations: 266.7 kB / 2.982 GB, free: 80.54 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/3.91, allocations: 8 kB / 2.982 GB, free: 80.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/3.91, allocations: 12 kB / 2.982 GB, free: 80.52 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003606/3.91, allocations: 200.7 kB / 2.982 GB, free: 80.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/3.911, allocations: 244.4 kB / 2.983 GB, free: 80.07 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/3.911, allocations: 0 / 2.983 GB, free: 80.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/3.911, allocations: 0 / 2.983 GB, free: 80.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/3.911, allocations: 4 kB / 2.983 GB, free: 80.07 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/3.912, allocations: 0.7824 MB / 2.983 GB, free: 79.24 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/3.912, allocations: 261.3 kB / 2.984 GB, free: 78.97 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/3.913, allocations: 109.7 kB / 2.984 GB, free: 78.86 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.51e-05/3.913, allocations: 11.97 kB / 2.984 GB, free: 78.84 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/3.913, allocations: 38.69 kB / 2.984 GB, free: 78.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 1.462e-06/3.913, allocations: 0 / 2.984 GB, free: 78.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0004431/3.913, allocations: 222.6 kB / 2.984 GB, free: 78.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/3.913, allocations: 89.05 kB / 2.984 GB, free: 78.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/3.913, allocations: 157.8 kB / 2.984 GB, free: 78.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/3.913, allocations: 25.7 kB / 2.984 GB, free: 78.27 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/3.913, allocations: 128.6 kB / 2.984 GB, free: 78.14 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/3.913, allocations: 74.8 kB / 2.984 GB, free: 78.07 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/3.913, allocations: 0 / 2.984 GB, free: 78.07 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/3.914, allocations: 326.8 kB / 2.985 GB, free: 77.74 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/3.914, allocations: 72.36 kB / 2.985 GB, free: 77.67 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/3.914, allocations: 110 kB / 2.985 GB, free: 77.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/3.914, allocations: 88.69 kB / 2.985 GB, free: 77.46 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/3.914, allocations: 0 / 2.985 GB, free: 77.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003948/3.914, allocations: 237.4 kB / 2.985 GB, free: 77.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/3.914, allocations: 7.938 kB / 2.985 GB, free: 77.22 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/3.914, allocations: 4 kB / 2.985 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/3.914, allocations: 0 / 2.985 GB, free: 77.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/3.917, allocations: 271.7 kB / 2.985 GB, free: 76.95 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/3.918, allocations: 2.683 MB / 2.988 GB, free: 74.03 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/3.919, allocations: 51.92 kB / 2.988 GB, free: 73.98 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/3.919, allocations: 7.984 kB / 2.988 GB, free: 73.97 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * 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): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.525e-05/3.919, allocations: 116.8 kB / 2.988 GB, free: 73.85 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.926e-05/3.919, allocations: 19.81 kB / 2.988 GB, free: 73.83 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/3.92, allocations: 356.3 kB / 2.989 GB, free: 73.47 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/3.92, allocations: 4 kB / 2.989 GB, free: 73.46 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/3.92, allocations: 3.938 kB / 2.989 GB, free: 73.46 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/3.92, allocations: 7.984 kB / 2.989 GB, free: 73.45 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/3.921, allocations: 289.9 kB / 2.989 GB, free: 73.13 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/3.921, allocations: 4 kB / 2.989 GB, free: 73.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/3.921, allocations: 59.94 kB / 2.989 GB, free: 73.07 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/3.922, allocations: 85.64 kB / 2.989 GB, free: 72.98 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/3.922, allocations: 11.89 kB / 2.989 GB, free: 72.97 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00185/3.924, allocations: 2.581 MB / 2.992 GB, free: 70.14 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/3.924, allocations: 3.984 kB / 2.992 GB, free: 70.14 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008817/3.925, allocations: 478.3 kB / 2.992 GB, free: 69.64 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00101/3.926, allocations: 0.8625 MB / 2.993 GB, free: 68.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/3.926, allocations: 136.7 kB / 2.993 GB, free: 68.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/3.926, allocations: 0 / 2.993 GB, free: 68.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/3.926, allocations: 35.91 kB / 2.993 GB, free: 68.56 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/3.926, allocations: 15.97 kB / 2.993 GB, free: 68.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/3.926, allocations: 19.98 kB / 2.993 GB, free: 68.53 MB / 1.151 GB Notification: Performance of sort global known variables: time 7.746e-05/3.926, allocations: 125.1 kB / 2.993 GB, free: 68.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001168/3.928, allocations: 159.8 kB / 2.993 GB, free: 68.25 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007108/3.928, allocations: 0.6968 MB / 2.994 GB, free: 67.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001924/3.93, allocations: 393.5 kB / 2.994 GB, free: 67.16 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/3.93, allocations: 0 / 2.994 GB, free: 67.16 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004843/3.931, allocations: 315.6 kB / 2.995 GB, free: 66.84 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/3.931, allocations: 49.14 kB / 2.995 GB, free: 66.79 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/3.933, allocations: 445.8 kB / 2.995 GB, free: 66.32 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004105/3.933, allocations: 0.7939 MB / 2.996 GB, free: 65.5 MB / 1.151 GB Notification: Performance of SimCode: time 4.71e-07/3.933, allocations: 0 / 2.996 GB, free: 65.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TDewPoi_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Obsolete_Controls_OBC_CDL_Psychrometrics_Validation_TDewPoi_TDryBulPhi.fmu > Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Obsolete.Controls.OBC.CDL.Psychrometrics.Validation.TDewPoi_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat