Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.AirProperties,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_AirProperties",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.695/1.695, allocations: 265 MB / 272.3 MB, free: 8.758 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.001083/0.001083, allocations: 185.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.388/1.388, allocations: 221.4 MB / 0.5941 GB, free: 14.52 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.001018/0.001018, allocations: 88.64 kB / 0.6993 GB, free: 2.656 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04924/0.04924, allocations: 11.89 MB / 0.816 GB, free: 65.56 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.0004777/0.0004777, allocations: 13.64 kB / 0.924 GB, free: 87.13 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2621/0.2626, allocations: 117.8 MB / 1.039 GB, free: 9.168 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.5284, allocations: 110.2 MB / 1.147 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.474/5.002, allocations: 1.907 GB / 3.054 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/5.002, allocations: 74.83 kB / 3.054 GB, free: 283.2 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.09988/5.102, allocations: 48.02 MB / 3.101 GB, free: 236.1 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/5.102, allocations: 11.94 kB / 3.101 GB, free: 236.1 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/5.104, allocations: 151.5 kB / 3.101 GB, free: 236 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/5.104, allocations: 218.7 kB / 3.101 GB, free: 235.7 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/5.104, allocations: 8 kB / 3.101 GB, free: 235.7 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/5.104, allocations: 8 kB / 3.101 GB, free: 235.7 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005953/5.105, allocations: 328.6 kB / 3.102 GB, free: 235.4 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/5.105, allocations: 286 kB / 3.102 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/5.105, allocations: 0 / 3.102 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/5.105, allocations: 0 / 3.102 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.34e-05/5.105, allocations: 16 kB / 3.102 GB, free: 235.1 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/5.107, allocations: 1.12 MB / 3.103 GB, free: 233.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/5.108, allocations: 179.7 kB / 3.103 GB, free: 233.7 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/5.108, allocations: 81.02 kB / 3.103 GB, free: 233.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004409/5.108, allocations: 356.4 kB / 3.104 GB, free: 233.2 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/5.108, allocations: 42.48 kB / 3.104 GB, free: 233.1 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/5.108, allocations: 0 / 3.104 GB, free: 233.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21): time 0.0005724/5.109, allocations: 185.7 kB / 3.104 GB, free: 232.9 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/5.109, allocations: 55.41 kB / 3.104 GB, free: 232.9 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/5.109, allocations: 145.2 kB / 3.104 GB, free: 232.7 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/5.109, allocations: 29.7 kB / 3.104 GB, free: 232.7 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/5.109, allocations: 147.8 kB / 3.104 GB, free: 232.5 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/5.109, allocations: 70.95 kB / 3.104 GB, free: 232.5 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.558e-05/5.109, allocations: 0 / 3.104 GB, free: 232.5 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/5.109, allocations: 322.8 kB / 3.104 GB, free: 232.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/5.109, allocations: 68.23 kB / 3.105 GB, free: 232.1 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/5.11, allocations: 159.1 kB / 3.105 GB, free: 231.9 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/5.11, allocations: 88.69 kB / 3.105 GB, free: 231.8 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/5.11, allocations: 0 / 3.105 GB, free: 231.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004946/5.11, allocations: 261.1 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/5.11, allocations: 4 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/5.11, allocations: 4.109 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/5.11, allocations: 7.938 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/5.111, allocations: 51.92 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/5.111, allocations: 7.984 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/5.111, allocations: 20.09 kB / 3.105 GB, free: 231.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.336e-05/5.111, allocations: 20 kB / 3.105 GB, free: 231.4 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001161/5.111, allocations: 120.5 kB / 3.105 GB, free: 231.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/5.111, allocations: 15.81 kB / 3.105 GB, free: 231.3 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006383/5.112, allocations: 228.7 kB / 3.105 GB, free: 231.1 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/5.112, allocations: 0 / 3.105 GB, free: 231.1 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/5.112, allocations: 0 / 3.105 GB, free: 231.1 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/5.112, allocations: 0 / 3.105 GB, free: 231.1 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009026/5.113, allocations: 0.4993 MB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/5.113, allocations: 4 kB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000318/5.113, allocations: 31.98 kB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/5.113, allocations: 4 kB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/5.113, allocations: 0 / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/5.113, allocations: 11.97 kB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/5.113, allocations: 4 kB / 3.106 GB, free: 230.5 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005651/5.114, allocations: 316.3 kB / 3.106 GB, free: 230.1 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007322/5.115, allocations: 0.7224 MB / 3.107 GB, free: 229.4 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/5.115, allocations: 116.8 kB / 3.107 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.102e-05/5.115, allocations: 0 / 3.107 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004427/5.116, allocations: 15.98 kB / 3.107 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/5.116, allocations: 7.984 kB / 3.107 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/5.116, allocations: 19.98 kB / 3.107 GB, free: 229.2 MB / 0.9324 GB Notification: Performance of sort global known variables: time 8.764e-05/5.116, allocations: 113.8 kB / 3.107 GB, free: 229.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.002278/5.118, allocations: 199.8 kB / 3.107 GB, free: 228.9 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.00151/5.12, allocations: 0.7372 MB / 3.108 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0005099/5.12, allocations: 176.4 kB / 3.108 GB, free: 228 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/5.12, allocations: 4.188 kB / 3.108 GB, free: 228 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/5.12, allocations: 79.91 kB / 3.108 GB, free: 227.9 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/5.121, allocations: 53.02 kB / 3.109 GB, free: 227.8 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008824/5.122, allocations: 230 kB / 3.109 GB, free: 227.6 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003995/5.122, allocations: 0.7648 MB / 3.109 GB, free: 226.8 MB / 0.9324 GB Notification: Performance of SimCode: time 7.61e-07/5.122, allocations: 0 / 3.109 GB, free: 226.8 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Media.Examples.AirProperties.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.AirProperties.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.AirProperties.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Media_Examples_AirProperties.fmu > AixLib_latest_AixLib.Media.Examples.AirProperties.pipe 2>&1)