Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.AirProperties,fileNamePrefix="AixLib_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.943/1.943, 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.001204/0.001204, allocations: 197.2 kB / 329.7 MB, free: 356 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.598/1.598, allocations: 221.4 MB / 0.5941 GB, free: 14.51 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.001175/0.001176, allocations: 96.58 kB / 0.6993 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0507/0.0507, 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.0005892/0.0005895, allocations: 19.75 kB / 0.924 GB, free: 86.98 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.3511/0.3517, allocations: 117.8 MB / 1.039 GB, free: 9.164 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.6442, allocations: 110.2 MB / 1.147 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.888/6.532, allocations: 1.907 GB / 3.054 GB, free: 263.6 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004204/6.532, allocations: 65.91 kB / 3.054 GB, free: 263.6 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.1083/6.641, allocations: 48.02 MB / 3.101 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/6.641, allocations: 8 kB / 3.101 GB, free: 215.4 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001479/6.642, allocations: 155.5 kB / 3.101 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/6.643, allocations: 218.8 kB / 3.101 GB, free: 215 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/6.643, allocations: 4 kB / 3.101 GB, free: 215 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/6.643, allocations: 12 kB / 3.101 GB, free: 215 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005547/6.643, allocations: 324.5 kB / 3.102 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/6.644, allocations: 286 kB / 3.102 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/6.644, allocations: 0 / 3.102 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/6.644, allocations: 0 / 3.102 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/6.644, allocations: 15.94 kB / 3.102 GB, free: 214.3 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/6.646, allocations: 1.113 MB / 3.103 GB, free: 213.1 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/6.646, allocations: 186.7 kB / 3.103 GB, free: 212.9 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/6.646, allocations: 82.61 kB / 3.103 GB, free: 212.9 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/6.647, allocations: 360.4 kB / 3.104 GB, free: 212.4 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/6.647, allocations: 38.56 kB / 3.104 GB, free: 212.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/6.647, allocations: 0 / 3.104 GB, free: 212.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21): time 0.0005487/6.647, allocations: 184 kB / 3.104 GB, free: 212.2 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/6.647, allocations: 55.41 kB / 3.104 GB, free: 212.1 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/6.648, allocations: 143.9 kB / 3.104 GB, free: 212 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/6.648, allocations: 25.7 kB / 3.104 GB, free: 212 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/6.648, allocations: 155.8 kB / 3.104 GB, free: 211.8 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.371e-05/6.648, allocations: 66.95 kB / 3.104 GB, free: 211.7 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.453e-05/6.648, allocations: 0 / 3.104 GB, free: 211.7 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 0.0001022/6.648, allocations: 330.8 kB / 3.104 GB, free: 211.4 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/6.648, allocations: 64.25 kB / 3.105 GB, free: 211.3 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/6.648, allocations: 151.7 kB / 3.105 GB, free: 211.1 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/6.648, allocations: 95.23 kB / 3.105 GB, free: 211.1 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/6.648, allocations: 4 kB / 3.105 GB, free: 211.1 MB / 0.9324 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004475/6.649, allocations: 253.1 kB / 3.105 GB, free: 210.8 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/6.649, allocations: 6.625 kB / 3.105 GB, free: 210.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/6.649, allocations: 4.109 kB / 3.105 GB, free: 210.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/6.649, allocations: 7.938 kB / 3.105 GB, free: 210.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/6.649, allocations: 55.91 kB / 3.105 GB, free: 210.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/6.649, allocations: 7.938 kB / 3.105 GB, free: 210.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/6.649, allocations: 20.12 kB / 3.105 GB, free: 210.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/6.649, allocations: 20 kB / 3.105 GB, free: 210.7 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.0001185/6.65, allocations: 120.5 kB / 3.105 GB, free: 210.6 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/6.65, allocations: 15.81 kB / 3.105 GB, free: 210.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000447/6.65, allocations: 221.1 kB / 3.105 GB, free: 210.3 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/6.65, allocations: 4 kB / 3.105 GB, free: 210.3 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/6.65, allocations: 0 / 3.105 GB, free: 210.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/6.65, allocations: 0 / 3.105 GB, free: 210.3 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007349/6.651, allocations: 0.4964 MB / 3.106 GB, free: 209.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/6.651, allocations: 4 kB / 3.106 GB, free: 209.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/6.651, allocations: 31.92 kB / 3.106 GB, free: 209.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/6.651, allocations: 4 kB / 3.106 GB, free: 209.7 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/6.651, allocations: 3.984 kB / 3.106 GB, free: 209.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/6.651, allocations: 0 / 3.106 GB, free: 209.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/6.651, allocations: 4 kB / 3.106 GB, free: 209.7 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004134/6.652, allocations: 316.4 kB / 3.106 GB, free: 209.4 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006116/6.652, allocations: 0.721 MB / 3.107 GB, free: 208.6 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/6.652, allocations: 112.8 kB / 3.107 GB, free: 208.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/6.652, allocations: 4 kB / 3.107 GB, free: 208.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002705/6.653, allocations: 19.98 kB / 3.107 GB, free: 208.5 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/6.653, allocations: 7.984 kB / 3.107 GB, free: 208.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/6.653, allocations: 15.98 kB / 3.107 GB, free: 208.4 MB / 0.9324 GB Notification: Performance of sort global known variables: time 8.382e-05/6.653, allocations: 116.3 kB / 3.107 GB, free: 208.3 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001564/6.655, allocations: 201.2 kB / 3.107 GB, free: 208.1 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.00143/6.656, allocations: 0.7333 MB / 3.108 GB, free: 207.4 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003915/6.656, allocations: 172.2 kB / 3.108 GB, free: 207.2 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/6.656, allocations: 8.312 kB / 3.108 GB, free: 207.2 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001125/6.656, allocations: 79.91 kB / 3.108 GB, free: 207.2 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/6.657, allocations: 46.3 kB / 3.108 GB, free: 207.1 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/6.658, allocations: 237.9 kB / 3.109 GB, free: 206.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004239/6.658, allocations: 0.7687 MB / 3.109 GB, free: 206.1 MB / 0.9324 GB Notification: Performance of SimCode: time 5.11e-07/6.658, allocations: 7.094 kB / 3.109 GB, free: 206.1 MB / 0.9324 GB (rm -f AixLib_AixLib.Media.Examples.AirProperties.pipe ; mkfifo AixLib_AixLib.Media.Examples.AirProperties.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.AirProperties.pipe >> ../files/AixLib_AixLib.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Media_Examples_AirProperties.fmu > AixLib_AixLib.Media.Examples.AirProperties.pipe 2>&1)