Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.SteamDerivativeCheck,fileNamePrefix="AixLib_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.849/1.849, allocations: 265 MB / 272.3 MB, free: 8.809 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.001701/0.001701, allocations: 193.2 kB / 329.7 MB, free: 368 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.61/1.61, allocations: 221.4 MB / 0.5941 GB, free: 14.5 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.001224/0.001224, allocations: 100.6 kB / 0.6993 GB, free: 2.648 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.052/0.052, 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.0004928/0.0004929, allocations: 26.06 kB / 0.924 GB, free: 86.91 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.322/0.3225, allocations: 117.8 MB / 1.039 GB, free: 9.133 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.6379, allocations: 110.2 MB / 1.147 GB, free: 10.8 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.767/2.405, allocations: 441.1 MB / 1.577 GB, free: 292.2 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004019/2.405, allocations: 74.92 kB / 1.577 GB, free: 292.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.1069/2.512, allocations: 36.29 MB / 1.613 GB, free: 287.1 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/2.512, allocations: 14.03 kB / 1.613 GB, free: 287.1 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002447/2.512, allocations: 14.53 kB / 1.613 GB, free: 287.1 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/2.512, allocations: 168.2 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/2.512, allocations: 3.438 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/2.513, allocations: 7.125 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.586e-05/2.513, allocations: 13.08 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/2.513, allocations: 49.36 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/2.513, allocations: 3.984 kB / 1.613 GB, free: 286.9 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/2.513, allocations: 7.891 kB / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/2.513, allocations: 0 / 1.613 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001919/2.513, allocations: 137.8 kB / 1.613 GB, free: 286.7 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 7.843e-05/2.513, allocations: 45.28 kB / 1.613 GB, free: 286.7 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.205e-05/2.513, allocations: 15.64 kB / 1.613 GB, free: 286.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0135/2.527, allocations: 3.094 MB / 1.616 GB, free: 285.9 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/2.527, allocations: 31.31 kB / 1.616 GB, free: 285.8 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=7): time 4.298e-06/2.527, allocations: 2.25 kB / 1.616 GB, free: 285.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=11): time 0.0292/2.556, allocations: 6.468 MB / 1.623 GB, free: 284.3 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/2.556, allocations: 55.14 kB / 1.623 GB, free: 284.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/2.556, allocations: 93.69 kB / 1.623 GB, free: 284.2 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/2.556, allocations: 25.7 kB / 1.623 GB, free: 284.2 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 2.308e-05/2.556, allocations: 83.36 kB / 1.623 GB, free: 284.1 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.185e-05/2.556, allocations: 38.55 kB / 1.623 GB, free: 284 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/2.556, allocations: 0 / 1.623 GB, free: 284 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/2.556, allocations: 319.8 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.71e-05/2.556, allocations: 19.05 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/2.556, allocations: 18.31 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/2.557, allocations: 32.03 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/2.557, allocations: 0 / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002294/2.557, allocations: 95.52 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/2.557, allocations: 4.031 kB / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/2.557, allocations: 0 / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/2.557, allocations: 0 / 1.623 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001333/2.557, allocations: 25.27 kB / 1.624 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/2.557, allocations: 0 / 1.624 GB, free: 283.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.564e-05/2.557, allocations: 7.188 kB / 1.624 GB, free: 283.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/2.557, allocations: 7.547 kB / 1.624 GB, free: 283.6 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 (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.505e-05/2.557, allocations: 113.2 kB / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.424e-05/2.557, allocations: 3.219 kB / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/2.558, allocations: 138.2 kB / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/2.558, allocations: 0.6094 kB / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/2.558, allocations: 0 / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/2.558, allocations: 0.7969 kB / 1.624 GB, free: 283.5 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/2.558, allocations: 150.4 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/2.558, allocations: 0.7969 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/2.558, allocations: 23.2 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/2.558, allocations: 3.875 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/2.558, allocations: 8.547 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/2.558, allocations: 0.6094 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/2.558, allocations: 3.156 kB / 1.624 GB, free: 283.3 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003047/2.558, allocations: 140.2 kB / 1.624 GB, free: 283.2 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004614/2.559, allocations: 0.5459 MB / 1.625 GB, free: 282.7 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 9.305e-05/2.559, allocations: 99.59 kB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/2.559, allocations: 0.75 kB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/2.559, allocations: 19.06 kB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/2.559, allocations: 14.56 kB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/2.559, allocations: 4.797 kB / 1.625 GB, free: 282.6 MB / 0.9324 GB Notification: Performance of sort global known variables: time 2.829e-05/2.559, allocations: 75.28 kB / 1.625 GB, free: 282.5 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.004701/2.564, allocations: 0.6402 MB / 1.625 GB, free: 282.4 MB / 0.9324 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.007286/2.571, allocations: 0.83 MB / 1.626 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003577/2.572, allocations: 61.16 kB / 1.626 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/2.572, allocations: 1.094 kB / 1.626 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/2.572, allocations: 27.31 kB / 1.626 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/2.572, allocations: 7.375 kB / 1.626 GB, free: 282.1 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/2.573, allocations: 274.2 kB / 1.627 GB, free: 281.9 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/2.573, allocations: 0.7125 MB / 1.627 GB, free: 281.2 MB / 0.9324 GB Notification: Performance of SimCode: time 5.61e-07/2.573, allocations: 0 / 1.627 GB, free: 281.2 MB / 0.9324 GB (rm -f AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe >> ../files/AixLib_AixLib.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-10 AixLib_AixLib_Media_Examples_SteamDerivativeCheck.fmu > AixLib_AixLib.Media.Examples.SteamDerivativeCheck.pipe 2>&1)