Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.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.SpecificEnthalpy,fileNamePrefix="AixLib_latest_AixLib_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="AixLib_latest_AixLib_Fluid_Sensors_Examples_SpecificEnthalpy",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.561/1.561, allocations: 265 MB / 272.3 MB, free: 8.742 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.001427/0.001427, allocations: 189.2 kB / 329.7 MB, free: 296 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.338/1.338, allocations: 221.4 MB / 0.5941 GB, free: 14.48 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.00101/0.00101, allocations: 84.62 kB / 0.6993 GB, free: 2.617 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05315/0.05315, allocations: 11.89 MB / 0.816 GB, free: 65.49 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.0004262/0.0004265, allocations: 12.45 kB / 0.924 GB, free: 86.86 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.264/0.2645, allocations: 117.8 MB / 1.039 GB, free: 9.07 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.5548, allocations: 110.2 MB / 1.147 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.328/4.883, allocations: 1.852 GB / 2.998 GB, free: 318.4 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/4.883, allocations: 86.84 kB / 2.998 GB, free: 318.4 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.4028/5.286, allocations: 210.3 MB / 3.204 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/5.286, allocations: 8 kB / 3.204 GB, free: 130.6 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/5.286, allocations: 31.62 kB / 3.204 GB, free: 130.5 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004458/5.286, allocations: 275.4 kB / 3.204 GB, free: 130.2 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/5.287, allocations: 8 kB / 3.204 GB, free: 130.2 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.443e-05/5.287, allocations: 16 kB / 3.204 GB, free: 130.2 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002152/5.287, allocations: 99.97 kB / 3.204 GB, free: 130.1 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/5.287, allocations: 217 kB / 3.204 GB, free: 129.8 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/5.287, allocations: 11.92 kB / 3.204 GB, free: 129.8 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/5.287, allocations: 0 / 3.204 GB, free: 129.8 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/5.287, allocations: 8 kB / 3.204 GB, free: 129.8 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/5.288, allocations: 1.283 MB / 3.206 GB, free: 128.5 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/5.288, allocations: 151.6 kB / 3.206 GB, free: 128.2 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/5.289, allocations: 77.33 kB / 3.206 GB, free: 128.2 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/5.289, allocations: 121 kB / 3.206 GB, free: 128 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/5.289, allocations: 46.41 kB / 3.206 GB, free: 128 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/5.289, allocations: 0 / 3.206 GB, free: 128 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10): time 0.0004568/5.289, allocations: 137.4 kB / 3.206 GB, free: 127.8 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/5.289, allocations: 191.9 kB / 3.206 GB, free: 127.6 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/5.29, allocations: 162.1 kB / 3.207 GB, free: 127.4 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/5.29, allocations: 29.7 kB / 3.207 GB, free: 127.4 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/5.29, allocations: 144.2 kB / 3.207 GB, free: 127.2 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/5.29, allocations: 39.45 kB / 3.207 GB, free: 127.2 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/5.29, allocations: 0 / 3.207 GB, free: 127.2 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 5.536e-05/5.29, allocations: 326.8 kB / 3.207 GB, free: 126.9 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/5.29, allocations: 31.92 kB / 3.207 GB, free: 126.9 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.742e-05/5.29, allocations: 109.4 kB / 3.207 GB, free: 126.7 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/5.29, allocations: 63.86 kB / 3.207 GB, free: 126.6 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/5.29, allocations: 0 / 3.207 GB, free: 126.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002724/5.29, allocations: 161.3 kB / 3.207 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/5.29, allocations: 11.98 kB / 3.207 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/5.29, allocations: 3.906 kB / 3.207 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/5.29, allocations: 4 kB / 3.207 GB, free: 126.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/5.291, allocations: 40.33 kB / 3.207 GB, free: 126.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/5.291, allocations: 7.938 kB / 3.207 GB, free: 126.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001676/5.291, allocations: 27.89 kB / 3.207 GB, free: 126.4 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/5.291, allocations: 8 kB / 3.207 GB, free: 126.4 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (15): * Single equations (assignments): 15 * 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.661e-05/5.291, allocations: 104.9 kB / 3.208 GB, free: 126.3 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/5.291, allocations: 27.73 kB / 3.208 GB, free: 126.2 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/5.291, allocations: 118.7 kB / 3.208 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/5.291, allocations: 4 kB / 3.208 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/5.291, allocations: 3.906 kB / 3.208 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/5.291, allocations: 4 kB / 3.208 GB, free: 126.1 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/5.292, allocations: 0.7189 MB / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/5.292, allocations: 4 kB / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/5.292, allocations: 27.92 kB / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/5.292, allocations: 4 kB / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/5.292, allocations: 0 / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/5.292, allocations: 4 kB / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/5.292, allocations: 0 / 3.208 GB, free: 125.3 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003678/5.293, allocations: 366.9 kB / 3.209 GB, free: 124.9 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005705/5.293, allocations: 0.8091 MB / 3.21 GB, free: 124 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 6.059e-05/5.293, allocations: 104.8 kB / 3.21 GB, free: 123.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.017e-05/5.293, allocations: 4 kB / 3.21 GB, free: 123.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/5.293, allocations: 16.05 kB / 3.21 GB, free: 123.9 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/5.293, allocations: 20.02 kB / 3.21 GB, free: 123.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/5.293, allocations: 7.938 kB / 3.21 GB, free: 123.8 MB / 0.9324 GB Notification: Performance of sort global known variables: time 7.851e-05/5.294, allocations: 138.4 kB / 3.21 GB, free: 123.7 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001276/5.295, allocations: 235.8 kB / 3.21 GB, free: 123.5 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001513/5.296, allocations: 1.129 MB / 3.211 GB, free: 122.3 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0001811/5.296, allocations: 79.86 kB / 3.211 GB, free: 122.3 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/5.297, allocations: 0 / 3.211 GB, free: 122.3 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-05/5.297, allocations: 48.61 kB / 3.211 GB, free: 122.2 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/5.297, allocations: 56.67 kB / 3.211 GB, free: 122.2 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006234/5.298, allocations: 340.6 kB / 3.212 GB, free: 121.8 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/5.298, allocations: 0.7867 MB / 3.212 GB, free: 121 MB / 0.9324 GB Notification: Performance of SimCode: time 3e-07/5.298, allocations: 4 kB / 3.213 GB, free: 121 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > AixLib_latest_AixLib.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)