Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.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.SteamSaturationConsistencyCheck,fileNamePrefix="AixLib_AixLib_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="AixLib_AixLib_Media_Examples_SteamSaturationConsistencyCheck",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.774/1.774, allocations: 265 MB / 272.3 MB, free: 8.82 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.001627/0.001627, allocations: 185.3 kB / 329.7 MB, free: 388 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.55/1.55, allocations: 221.3 MB / 0.5941 GB, free: 14.54 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.001191/0.001191, allocations: 100.5 kB / 0.6993 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05277/0.05277, allocations: 11.89 MB / 0.816 GB, free: 65.59 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.0004639/0.0004634, allocations: 18.23 kB / 0.924 GB, free: 86.71 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.3112/0.3117, allocations: 117.8 MB / 1.039 GB, free: 8.965 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.6406, allocations: 110.2 MB / 1.147 GB, free: 10.64 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.028/2.668, allocations: 0.6745 GB / 1.821 GB, free: 68.54 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/2.669, allocations: 64.66 kB / 1.821 GB, free: 68.5 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.161/2.83, allocations: 64.48 MB / 1.884 GB, free: 12.82 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 7.093e-05/2.83, allocations: 8 kB / 1.884 GB, free: 12.82 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005353/2.83, allocations: 27.88 kB / 1.884 GB, free: 12.79 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/2.83, allocations: 170.9 kB / 1.884 GB, free: 12.58 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.828e-05/2.831, allocations: 29.7 kB / 1.884 GB, free: 12.55 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.571e-05/2.831, allocations: 4 kB / 1.884 GB, free: 12.54 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002274/2.831, allocations: 83.94 kB / 1.885 GB, free: 12.46 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/2.831, allocations: 77.66 kB / 1.885 GB, free: 12.38 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/2.831, allocations: 0 / 1.885 GB, free: 12.38 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/2.831, allocations: 0 / 1.885 GB, free: 12.38 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/2.831, allocations: 4 kB / 1.885 GB, free: 12.38 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/2.832, allocations: 298.2 kB / 1.885 GB, free: 12.05 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/2.832, allocations: 110.6 kB / 1.885 GB, free: 11.93 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.073e-05/2.832, allocations: 44.86 kB / 1.885 GB, free: 11.88 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/2.843, allocations: 4.141 MB / 1.889 GB, free: 7.426 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/2.844, allocations: 30.56 kB / 1.889 GB, free: 7.387 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=13): time 3.696e-06/2.844, allocations: 2.438 kB / 1.889 GB, free: 7.387 MB / 0.9324 GB Notification: Performance of matching and sorting (n=13): time 0.0006513/2.844, allocations: 121.5 kB / 1.889 GB, free: 7.262 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/2.844, allocations: 55.41 kB / 1.889 GB, free: 7.195 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/2.844, allocations: 96.98 kB / 1.889 GB, free: 7.094 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/2.844, allocations: 25.7 kB / 1.889 GB, free: 7.062 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 3.687e-05/2.844, allocations: 88.12 kB / 1.889 GB, free: 6.973 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/2.845, allocations: 35.52 kB / 1.89 GB, free: 6.938 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/2.845, allocations: 0 / 1.89 GB, free: 6.938 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/2.845, allocations: 322.8 kB / 1.89 GB, free: 6.613 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/2.845, allocations: 20 kB / 1.89 GB, free: 6.594 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.887e-05/2.845, allocations: 24 kB / 1.89 GB, free: 6.57 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/2.845, allocations: 31.97 kB / 1.89 GB, free: 6.539 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/2.845, allocations: 0 / 1.89 GB, free: 6.539 MB / 0.9324 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003438/2.845, allocations: 121.5 kB / 1.89 GB, free: 6.414 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/2.845, allocations: 11.98 kB / 1.89 GB, free: 6.402 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.845, allocations: 0 / 1.89 GB, free: 6.402 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/2.845, allocations: 0 / 1.89 GB, free: 6.402 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/2.845, allocations: 19.98 kB / 1.89 GB, free: 6.383 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/2.845, allocations: 4 kB / 1.89 GB, free: 6.379 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.765e-05/2.846, allocations: 9.344 kB / 1.89 GB, free: 6.371 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/2.846, allocations: 4 kB / 1.89 GB, free: 6.367 MB / 0.9324 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 (13): * Single equations (assignments): 13 * 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 0.0001025/2.846, allocations: 104.8 kB / 1.89 GB, free: 6.258 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/2.846, allocations: 27.88 kB / 1.89 GB, free: 6.23 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006341/2.847, allocations: 397.2 kB / 1.891 GB, free: 5.84 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/2.847, allocations: 11.98 kB / 1.891 GB, free: 5.828 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/2.847, allocations: 0 / 1.891 GB, free: 5.828 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/2.847, allocations: 0 / 1.891 GB, free: 5.828 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/2.847, allocations: 230 kB / 1.891 GB, free: 5.566 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/2.847, allocations: 4 kB / 1.891 GB, free: 5.562 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/2.847, allocations: 19.98 kB / 1.891 GB, free: 5.543 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/2.847, allocations: 4 kB / 1.891 GB, free: 5.539 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/2.847, allocations: 14.61 kB / 1.891 GB, free: 5.527 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/2.847, allocations: 0 / 1.891 GB, free: 5.527 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/2.847, allocations: 0 / 1.891 GB, free: 5.527 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005563/2.848, allocations: 413.3 kB / 1.891 GB, free: 5.109 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007507/2.848, allocations: 0.8043 MB / 1.892 GB, free: 4.285 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/2.849, allocations: 104.7 kB / 1.892 GB, free: 4.168 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/2.849, allocations: 0 / 1.892 GB, free: 4.168 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/2.849, allocations: 11.89 kB / 1.892 GB, free: 4.156 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/2.849, allocations: 7.984 kB / 1.892 GB, free: 4.148 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/2.849, allocations: 8 kB / 1.892 GB, free: 4.141 MB / 0.9324 GB Notification: Performance of sort global known variables: time 4.096e-05/2.849, allocations: 83.28 kB / 1.892 GB, free: 4.059 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.003256/2.852, allocations: 415.8 kB / 1.893 GB, free: 3.652 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004299/2.856, allocations: 0.9288 MB / 1.894 GB, free: 2.742 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002712/2.857, allocations: 166 kB / 1.894 GB, free: 2.582 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/2.857, allocations: 0 / 1.894 GB, free: 2.582 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/2.857, allocations: 163.9 kB / 1.894 GB, free: 2.422 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003021/2.857, allocations: 7.984 kB / 1.894 GB, free: 2.414 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/2.858, allocations: 252.7 kB / 1.894 GB, free: 2.145 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/2.858, allocations: 0.7478 MB / 1.895 GB, free: 1.367 MB / 0.9324 GB Notification: Performance of SimCode: time 4.61e-07/2.858, allocations: 0 / 1.895 GB, free: 1.367 MB / 0.9324 GB (rm -f AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Media_Examples_SteamSaturationConsistencyCheck.fmu > AixLib_AixLib.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)