Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="AixLib_latest_AixLib_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="AixLib_latest_AixLib_Utilities_Psychrometrics_Examples_Density_pTX",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). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.512/1.512, allocations: 265 MB / 272.3 MB, free: 8.785 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 193.2 kB / 329.7 MB, free: 344 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.225/1.225, allocations: 221.4 MB / 0.5941 GB, free: 14.48 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009028, allocations: 98.52 kB / 0.6993 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04978/0.04978, allocations: 11.87 MB / 0.816 GB, free: 65.55 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003719/0.0003719, allocations: 14.27 kB / 0.924 GB, free: 86.87 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2211/0.2215, allocations: 117.8 MB / 1.039 GB, free: 9.137 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.4353, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5667/1.002, allocations: 160.9 MB / 1.304 GB, free: 29.38 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.002, allocations: 72.89 kB / 1.304 GB, free: 29.34 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005217/1.008, allocations: 2.267 MB / 1.306 GB, free: 27.38 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.008, allocations: 8 kB / 1.306 GB, free: 27.37 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/1.008, allocations: 7.906 kB / 1.306 GB, free: 27.36 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.535e-05/1.008, allocations: 166.6 kB / 1.306 GB, free: 27.16 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.008, allocations: 4 kB / 1.306 GB, free: 27.16 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-06/1.008, allocations: 0 / 1.306 GB, free: 27.16 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.628e-05/1.008, allocations: 26.88 kB / 1.306 GB, free: 27.14 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.8e-05/1.008, allocations: 53.17 kB / 1.306 GB, free: 27.09 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/1.008, allocations: 0.5625 kB / 1.306 GB, free: 27.09 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/1.008, allocations: 0 / 1.306 GB, free: 27.09 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/1.008, allocations: 0 / 1.306 GB, free: 27.09 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002845/1.008, allocations: 256 kB / 1.307 GB, free: 26.81 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 6.303e-05/1.008, allocations: 38.89 kB / 1.307 GB, free: 26.77 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.945e-05/1.008, allocations: 12.42 kB / 1.307 GB, free: 26.76 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/1.009, allocations: 89.19 kB / 1.307 GB, free: 26.66 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/1.009, allocations: 38.5 kB / 1.307 GB, free: 26.61 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/1.009, allocations: 0 / 1.307 GB, free: 26.61 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0002109/1.009, allocations: 52.91 kB / 1.307 GB, free: 26.56 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/1.009, allocations: 60.06 kB / 1.307 GB, free: 26.49 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/1.009, allocations: 100.9 kB / 1.307 GB, free: 26.39 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/1.009, allocations: 25.7 kB / 1.307 GB, free: 26.36 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.11e-05/1.009, allocations: 87.77 kB / 1.307 GB, free: 26.27 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/1.009, allocations: 11.89 kB / 1.307 GB, free: 26.26 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/1.009, allocations: 2.078 kB / 1.307 GB, free: 26.26 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.965e-05/1.009, allocations: 318.2 kB / 1.307 GB, free: 25.94 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/1.009, allocations: 7.375 kB / 1.307 GB, free: 25.94 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.061e-05/1.009, allocations: 16.27 kB / 1.307 GB, free: 25.93 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/1.009, allocations: 7.984 kB / 1.307 GB, free: 25.92 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.009, allocations: 3.938 kB / 1.307 GB, free: 25.91 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001019/1.009, allocations: 53.66 kB / 1.307 GB, free: 25.86 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.009, allocations: 8 kB / 1.307 GB, free: 25.86 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.009, allocations: 0 / 1.307 GB, free: 25.86 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/1.009, allocations: 5.125 kB / 1.307 GB, free: 25.85 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/1.009, allocations: 23.98 kB / 1.308 GB, free: 25.83 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/1.009, allocations: 3.984 kB / 1.308 GB, free: 25.82 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.729e-05/1.01, allocations: 15.98 kB / 1.308 GB, free: 25.81 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/1.01, allocations: 8 kB / 1.308 GB, free: 25.8 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.099e-05/1.01, allocations: 106.5 kB / 1.308 GB, free: 25.69 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/1.01, allocations: 3.906 kB / 1.308 GB, free: 25.69 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/1.01, allocations: 70.7 kB / 1.308 GB, free: 25.62 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/1.01, allocations: 4 kB / 1.308 GB, free: 25.62 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.01, allocations: 0 / 1.308 GB, free: 25.62 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/1.01, allocations: 1.094 kB / 1.308 GB, free: 25.62 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/1.01, allocations: 149.5 kB / 1.308 GB, free: 25.44 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.02e-07/1.01, allocations: 0 / 1.308 GB, free: 25.44 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/1.01, allocations: 29.86 kB / 1.308 GB, free: 25.41 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.01, allocations: 0 / 1.308 GB, free: 25.41 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/1.01, allocations: 0 / 1.308 GB, free: 25.41 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/1.01, allocations: 3.438 kB / 1.308 GB, free: 25.41 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.01, allocations: 4 kB / 1.308 GB, free: 25.41 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001208/1.01, allocations: 153.5 kB / 1.308 GB, free: 25.25 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001606/1.01, allocations: 0.5257 MB / 1.309 GB, free: 24.72 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/1.01, allocations: 86.12 kB / 1.309 GB, free: 24.62 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/1.01, allocations: 0 / 1.309 GB, free: 24.62 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/1.011, allocations: 23.97 kB / 1.309 GB, free: 24.59 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/1.011, allocations: 4 kB / 1.309 GB, free: 24.59 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/1.011, allocations: 0 / 1.309 GB, free: 24.59 MB / 0.7293 GB Notification: Performance of sort global known variables: time 2.548e-05/1.011, allocations: 91.08 kB / 1.309 GB, free: 24.5 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0007643/1.011, allocations: 19.38 kB / 1.309 GB, free: 24.49 MB / 0.7293 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 (3): * Single equations (assignments): 3 * 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.0001827/1.012, allocations: 142.8 kB / 1.309 GB, free: 24.34 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 7.82e-05/1.012, allocations: 18.94 kB / 1.309 GB, free: 24.33 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.012, allocations: 0 / 1.309 GB, free: 24.33 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 2.91e-05/1.012, allocations: 15.5 kB / 1.309 GB, free: 24.32 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/1.012, allocations: 13.69 kB / 1.309 GB, free: 24.31 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002266/1.012, allocations: 81.88 kB / 1.309 GB, free: 24.21 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.012, allocations: 0.6993 MB / 1.31 GB, free: 23.49 MB / 0.7293 GB Notification: Performance of SimCode: time 2.71e-07/1.012, allocations: 0 / 1.31 GB, free: 23.49 MB / 0.7293 GB (rm -f AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Utilities_Psychrometrics_Examples_Density_pTX.fmu > AixLib_latest_AixLib.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)