Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.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.SteamDerivativeCheck,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.SteamDerivativeCheck,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_SteamDerivativeCheck",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.595/1.595, allocations: 265.2 MB / 272.5 MB, free: 13.56 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 179.4 kB / 329.9 MB, free: 6.949 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 221.4 MB / 0.5943 GB, free: 9.863 MB / 442.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 100.1 kB / 0.6995 GB, free: 3.145 MB / 0.5262 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.3727/0.3727, allocations: 11.88 MB / 0.8162 GB, free: 131.8 MB / 0.6355 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.0004138/0.0004136, allocations: 7.984 kB / 0.9242 GB, free: 66.56 MB / 0.6355 GB Notification: Performance of FrontEnd - loaded program: time 0.2627/0.2631, allocations: 117.8 MB / 1.039 GB, free: 12.66 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6215/0.8847, allocations: 110.2 MB / 1.147 GB, free: 152.6 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9057/1.79, allocations: 441.1 MB / 1.578 GB, free: 24.1 MB / 0.8074 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/1.791, allocations: 69.52 kB / 1.578 GB, free: 24.06 MB / 0.8074 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.08832/1.879, allocations: 36.29 MB / 1.613 GB, free: 8.945 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/1.879, allocations: 11.94 kB / 1.613 GB, free: 8.934 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/1.879, allocations: 15.89 kB / 1.613 GB, free: 8.918 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.88, allocations: 163.1 kB / 1.613 GB, free: 8.719 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/1.88, allocations: 4 kB / 1.613 GB, free: 8.715 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/1.88, allocations: 7.938 kB / 1.613 GB, free: 8.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.594e-05/1.88, allocations: 15.55 kB / 1.613 GB, free: 8.695 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.712e-05/1.88, allocations: 49.23 kB / 1.613 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/1.88, allocations: 0 / 1.613 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/1.88, allocations: 3.906 kB / 1.613 GB, free: 8.641 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.88, allocations: 4 kB / 1.613 GB, free: 8.637 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/1.88, allocations: 135.5 kB / 1.613 GB, free: 8.473 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/1.88, allocations: 44.95 kB / 1.614 GB, free: 8.43 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/1.88, allocations: 16.48 kB / 1.614 GB, free: 8.414 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0107/1.891, allocations: 3.092 MB / 1.617 GB, free: 5.273 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/1.891, allocations: 42.36 kB / 1.617 GB, free: 5.227 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 4.208e-06/1.891, allocations: 3.984 kB / 1.617 GB, free: 5.223 MB / 0.823 GB Notification: Performance of matching and sorting (n=11): time 0.02608/1.917, allocations: 6.471 MB / 1.623 GB, free: 14.7 MB / 0.8387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/1.917, allocations: 51.41 kB / 1.623 GB, free: 14.63 MB / 0.8387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/1.917, allocations: 100.2 kB / 1.623 GB, free: 14.53 MB / 0.8387 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/1.917, allocations: 25.7 kB / 1.623 GB, free: 14.5 MB / 0.8387 GB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/1.917, allocations: 80.14 kB / 1.623 GB, free: 14.42 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/1.917, allocations: 34.81 kB / 1.623 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/1.917, allocations: 0 / 1.623 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.918, allocations: 318.4 kB / 1.623 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.608e-05/1.918, allocations: 22.94 kB / 1.624 GB, free: 14.05 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/1.918, allocations: 15.38 kB / 1.624 GB, free: 14.04 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.332e-05/1.918, allocations: 33.8 kB / 1.624 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/1.918, allocations: 0 / 1.624 GB, free: 14.02 MB / 0.8387 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002273/1.918, allocations: 88.27 kB / 1.624 GB, free: 13.94 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.918, allocations: 4 kB / 1.624 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/1.918, allocations: 0 / 1.624 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/1.918, allocations: 4 kB / 1.624 GB, free: 13.93 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/1.918, allocations: 27.92 kB / 1.624 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.918, allocations: 0 / 1.624 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/1.918, allocations: 4 kB / 1.624 GB, free: 13.9 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/1.918, allocations: 11.48 kB / 1.624 GB, free: 13.89 MB / 0.8387 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 (14): * Single equations (assignments): 14 * 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 8.388e-05/1.918, allocations: 104.9 kB / 1.624 GB, free: 13.78 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.043e-05/1.918, allocations: 7.938 kB / 1.624 GB, free: 13.77 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/1.919, allocations: 135.6 kB / 1.624 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/1.919, allocations: 0 / 1.624 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.919, allocations: 0 / 1.624 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.919, allocations: 4 kB / 1.624 GB, free: 13.64 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/1.919, allocations: 149.7 kB / 1.624 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/1.919, allocations: 0 / 1.624 GB, free: 13.46 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/1.919, allocations: 23.98 kB / 1.624 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/1.919, allocations: 0 / 1.624 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/1.919, allocations: 3.5 kB / 1.624 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.919, allocations: 0 / 1.624 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.919, allocations: 0 / 1.624 GB, free: 13.44 MB / 0.8387 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002869/1.919, allocations: 146.8 kB / 1.624 GB, free: 13.29 MB / 0.8387 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005794/1.92, allocations: 0.5533 MB / 1.625 GB, free: 12.77 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/1.92, allocations: 96.48 kB / 1.625 GB, free: 12.66 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.389e-05/1.92, allocations: 4 kB / 1.625 GB, free: 12.65 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.92, allocations: 15.98 kB / 1.625 GB, free: 12.64 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/1.92, allocations: 11.8 kB / 1.625 GB, free: 12.63 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.92, allocations: 4 kB / 1.625 GB, free: 12.62 MB / 0.8387 GB Notification: Performance of sort global known variables: time 3.842e-05/1.92, allocations: 75.28 kB / 1.625 GB, free: 12.55 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.003386/1.924, allocations: 0.6403 MB / 1.626 GB, free: 11.98 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.004808/1.929, allocations: 0.8338 MB / 1.626 GB, free: 11.18 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001655/1.929, allocations: 54.64 kB / 1.626 GB, free: 11.13 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/1.929, allocations: 4 kB / 1.626 GB, free: 11.13 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/1.929, allocations: 35.36 kB / 1.627 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/1.929, allocations: 5.938 kB / 1.627 GB, free: 11.1 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006242/1.93, allocations: 281.8 kB / 1.627 GB, free: 10.8 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/1.93, allocations: 0.7036 MB / 1.627 GB, free: 10.07 MB / 0.8387 GB Notification: Performance of SimCode: time 8.32e-07/1.93, allocations: 0 / 1.627 GB, free: 10.07 MB / 0.8387 GB (rm -f AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 AixLib_latest_AixLib_Media_Examples_SteamDerivativeCheck.fmu > AixLib_latest_AixLib.Media.Examples.SteamDerivativeCheck.pipe 2>&1)