Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_EnthalpyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_EnthalpyFlowRate",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.742/1.742, allocations: 265 MB / 272.3 MB, free: 8.805 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.001111/0.001111, allocations: 193.2 kB / 329.7 MB, free: 360 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.502/1.502, allocations: 221.4 MB / 0.5941 GB, free: 14.55 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.001079/0.001078, allocations: 98.45 kB / 0.6993 GB, free: 2.688 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05198/0.05198, allocations: 11.89 MB / 0.816 GB, free: 65.58 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.0004282/0.0004283, allocations: 14.47 kB / 0.924 GB, free: 87.12 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2959/0.2964, allocations: 117.8 MB / 1.039 GB, free: 9.148 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.5932, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.532/5.126, allocations: 1.853 GB / 3 GB, free: 317.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/5.126, allocations: 88.73 kB / 3 GB, free: 317.8 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.5862/5.712, allocations: 300.8 MB / 3.293 GB, free: 34.41 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/5.712, allocations: 8 kB / 3.293 GB, free: 34.41 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000407/5.713, allocations: 59.58 kB / 3.293 GB, free: 34.35 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005169/5.713, allocations: 325.9 kB / 3.294 GB, free: 33.98 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/5.713, allocations: 8 kB / 3.294 GB, free: 33.98 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/5.713, allocations: 16 kB / 3.294 GB, free: 33.96 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002967/5.713, allocations: 145.3 kB / 3.294 GB, free: 33.82 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/5.714, allocations: 267.5 kB / 3.294 GB, free: 33.53 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/5.714, allocations: 0 / 3.294 GB, free: 33.53 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.417e-05/5.714, allocations: 4 kB / 3.294 GB, free: 33.53 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/5.714, allocations: 4 kB / 3.294 GB, free: 33.52 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/5.715, allocations: 1.479 MB / 3.296 GB, free: 31.93 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/5.715, allocations: 82.55 kB / 3.296 GB, free: 31.84 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.433e-05/5.716, allocations: 76.83 kB / 3.296 GB, free: 31.76 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005161/5.716, allocations: 307.2 kB / 3.296 GB, free: 31.41 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/5.716, allocations: 34.56 kB / 3.296 GB, free: 31.36 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/5.716, allocations: 0 / 3.296 GB, free: 31.36 MB / 0.9324 GB Notification: Performance of matching and sorting (n=13): time 0.0006472/5.717, allocations: 201.5 kB / 3.296 GB, free: 31.16 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/5.717, allocations: 59.41 kB / 3.296 GB, free: 31.09 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/5.717, allocations: 189.1 kB / 3.296 GB, free: 30.9 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/5.717, allocations: 25.7 kB / 3.297 GB, free: 30.87 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/5.717, allocations: 172 kB / 3.297 GB, free: 30.7 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/5.717, allocations: 47.3 kB / 3.297 GB, free: 30.65 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.886e-06/5.717, allocations: 0 / 3.297 GB, free: 30.65 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.682e-05/5.717, allocations: 330.8 kB / 3.297 GB, free: 30.32 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.64e-05/5.717, allocations: 43.98 kB / 3.297 GB, free: 30.28 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/5.717, allocations: 102.7 kB / 3.297 GB, free: 30.15 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/5.718, allocations: 87.91 kB / 3.297 GB, free: 30.07 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/5.718, allocations: 0 / 3.297 GB, free: 30.07 MB / 0.9324 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003301/5.718, allocations: 205.3 kB / 3.297 GB, free: 29.86 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/5.718, allocations: 4 kB / 3.297 GB, free: 29.86 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/5.718, allocations: 3.906 kB / 3.297 GB, free: 29.85 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/5.718, allocations: 4 kB / 3.297 GB, free: 29.85 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/5.718, allocations: 35.97 kB / 3.298 GB, free: 29.81 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/5.718, allocations: 4 kB / 3.298 GB, free: 29.81 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/5.718, allocations: 31.98 kB / 3.298 GB, free: 29.78 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/5.718, allocations: 15.92 kB / 3.298 GB, free: 29.76 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.942e-05/5.718, allocations: 108.9 kB / 3.298 GB, free: 29.65 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/5.719, allocations: 19.72 kB / 3.298 GB, free: 29.63 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00036/5.719, allocations: 195.3 kB / 3.298 GB, free: 29.43 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/5.719, allocations: 4 kB / 3.298 GB, free: 29.43 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/5.719, allocations: 0 / 3.298 GB, free: 29.43 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/5.719, allocations: 0 / 3.298 GB, free: 29.43 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008495/5.72, allocations: 0.6371 MB / 3.298 GB, free: 28.72 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/5.72, allocations: 3.938 kB / 3.298 GB, free: 28.72 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001429/5.72, allocations: 32.05 kB / 3.299 GB, free: 28.69 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/5.72, allocations: 4 kB / 3.299 GB, free: 28.68 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/5.72, allocations: 8.219 kB / 3.299 GB, free: 28.68 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/5.72, allocations: 4 kB / 3.299 GB, free: 28.67 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/5.72, allocations: 4 kB / 3.299 GB, free: 28.67 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003724/5.72, allocations: 409 kB / 3.299 GB, free: 28.19 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006765/5.721, allocations: 0.8295 MB / 3.3 GB, free: 27.27 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 9.221e-05/5.721, allocations: 108.9 kB / 3.3 GB, free: 27.15 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/5.721, allocations: 7.906 kB / 3.3 GB, free: 27.14 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/5.721, allocations: 23.97 kB / 3.3 GB, free: 27.12 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/5.721, allocations: 4 kB / 3.3 GB, free: 27.11 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-06/5.721, allocations: 4 kB / 3.3 GB, free: 27.11 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001014/5.722, allocations: 161.2 kB / 3.3 GB, free: 26.95 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001451/5.723, allocations: 291.7 kB / 3.3 GB, free: 26.66 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001884/5.725, allocations: 1.356 MB / 3.302 GB, free: 25.28 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002364/5.725, allocations: 111.9 kB / 3.302 GB, free: 25.17 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/5.725, allocations: 4 kB / 3.302 GB, free: 25.17 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 9.534e-05/5.725, allocations: 67.84 kB / 3.302 GB, free: 25.1 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/5.726, allocations: 92.22 kB / 3.302 GB, free: 25.02 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/5.727, allocations: 359.6 kB / 3.302 GB, free: 24.62 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003029/5.727, allocations: 0.8097 MB / 3.303 GB, free: 23.79 MB / 0.9324 GB Notification: Performance of SimCode: time 2.7e-07/5.727, allocations: 0 / 3.303 GB, free: 23.79 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sensors_Examples_EnthalpyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sensors_Examples_EnthalpyFlowRate.fmu > AixLib_AixLib.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)