Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="AixLib_AixLib_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="AixLib_AixLib_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.673/1.673, allocations: 265 MB / 272.3 MB, free: 8.75 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.001016/0.001016, allocations: 177.2 kB / 329.7 MB, free: 300 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.273/1.273, allocations: 221.4 MB / 0.5941 GB, free: 14.43 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.000972/0.0009721, allocations: 92.62 kB / 0.6993 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05178/0.05178, 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.0003906/0.0003906, allocations: 18.25 kB / 0.924 GB, free: 86.96 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2435/0.2439, allocations: 117.8 MB / 1.039 GB, free: 9.086 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.5014, allocations: 110.2 MB / 1.147 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6313/1.133, allocations: 136.1 MB / 1.28 GB, free: 53.86 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.133, allocations: 81.55 kB / 1.28 GB, free: 53.81 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.02172/1.155, allocations: 7.888 MB / 1.287 GB, free: 47.2 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/1.155, allocations: 8 kB / 1.287 GB, free: 47.2 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/1.155, allocations: 39.11 kB / 1.287 GB, free: 47.16 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/1.156, allocations: 289.1 kB / 1.288 GB, free: 46.86 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/1.156, allocations: 8 kB / 1.288 GB, free: 46.85 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/1.156, allocations: 8 kB / 1.288 GB, free: 46.84 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001953/1.156, allocations: 89.11 kB / 1.288 GB, free: 46.79 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/1.156, allocations: 165.3 kB / 1.288 GB, free: 46.63 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/1.156, allocations: 0 / 1.288 GB, free: 46.63 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/1.156, allocations: 0 / 1.288 GB, free: 46.63 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/1.156, allocations: 4 kB / 1.288 GB, free: 46.62 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009604/1.157, allocations: 0.9214 MB / 1.289 GB, free: 45.72 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/1.158, allocations: 181 kB / 1.289 GB, free: 45.56 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/1.158, allocations: 55.03 kB / 1.289 GB, free: 45.52 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/1.158, allocations: 0 / 1.289 GB, free: 45.52 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/1.158, allocations: 42.05 kB / 1.289 GB, free: 45.47 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/1.158, allocations: 0 / 1.289 GB, free: 45.47 MB / 0.7293 GB Notification: Performance of matching and sorting (n=16): time 0.0004231/1.158, allocations: 143 kB / 1.289 GB, free: 45.35 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.404e-05/1.158, allocations: 88.59 kB / 1.289 GB, free: 45.25 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/1.159, allocations: 222.7 kB / 1.29 GB, free: 45.07 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/1.159, allocations: 25.7 kB / 1.29 GB, free: 45.04 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/1.159, allocations: 126.3 kB / 1.29 GB, free: 44.92 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/1.159, allocations: 54.44 kB / 1.29 GB, free: 44.87 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/1.159, allocations: 0 / 1.29 GB, free: 44.87 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 5.579e-05/1.159, allocations: 337 kB / 1.29 GB, free: 44.54 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/1.159, allocations: 42.44 kB / 1.29 GB, free: 44.52 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.341e-05/1.159, allocations: 88.67 kB / 1.29 GB, free: 44.43 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/1.159, allocations: 52.84 kB / 1.29 GB, free: 44.4 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/1.159, allocations: 4 kB / 1.29 GB, free: 44.39 MB / 0.7293 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003886/1.159, allocations: 185.2 kB / 1.29 GB, free: 44.24 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/1.159, allocations: 4 kB / 1.29 GB, free: 44.24 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.159, allocations: 4 kB / 1.29 GB, free: 44.23 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.159, allocations: 0 / 1.29 GB, free: 44.23 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/1.16, allocations: 76.05 kB / 1.291 GB, free: 44.16 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/1.16, allocations: 4 kB / 1.291 GB, free: 44.16 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.16, allocations: 57.3 kB / 1.291 GB, free: 44.1 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/1.16, allocations: 10.81 kB / 1.291 GB, free: 44.09 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.447e-05/1.16, allocations: 112.6 kB / 1.291 GB, free: 43.98 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/1.16, allocations: 23.72 kB / 1.291 GB, free: 43.95 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/1.161, allocations: 179.5 kB / 1.291 GB, free: 43.81 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/1.161, allocations: 11.91 kB / 1.291 GB, free: 43.8 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.161, allocations: 1.75 kB / 1.291 GB, free: 43.8 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.161, allocations: 0 / 1.291 GB, free: 43.8 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/1.161, allocations: 259.4 kB / 1.291 GB, free: 43.54 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.161, allocations: 4 kB / 1.291 GB, free: 43.54 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/1.161, allocations: 67.89 kB / 1.291 GB, free: 43.47 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/1.161, allocations: 4 kB / 1.291 GB, free: 43.47 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/1.161, allocations: 0 / 1.291 GB, free: 43.47 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/1.161, allocations: 0 / 1.291 GB, free: 43.47 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.161, allocations: 4 kB / 1.291 GB, free: 43.46 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003548/1.162, allocations: 350.6 kB / 1.292 GB, free: 43.14 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003958/1.162, allocations: 0.7188 MB / 1.292 GB, free: 42.43 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/1.162, allocations: 107.4 kB / 1.292 GB, free: 42.31 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/1.162, allocations: 10.62 kB / 1.292 GB, free: 42.3 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/1.163, allocations: 35.97 kB / 1.292 GB, free: 42.27 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.761e-05/1.163, allocations: 22.97 kB / 1.292 GB, free: 42.25 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/1.163, allocations: 7.438 kB / 1.292 GB, free: 42.25 MB / 0.7293 GB Notification: Performance of sort global known variables: time 0.0001205/1.163, allocations: 172.3 kB / 1.293 GB, free: 42.11 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0009196/1.164, allocations: 60.09 kB / 1.293 GB, free: 42.05 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002119/1.164, allocations: 119.2 kB / 1.293 GB, free: 41.92 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002466/1.164, allocations: 123.3 kB / 1.293 GB, free: 41.84 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.164, allocations: 0 / 1.293 GB, free: 41.84 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/1.164, allocations: 64.56 kB / 1.293 GB, free: 41.79 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/1.165, allocations: 61.75 kB / 1.293 GB, free: 41.74 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/1.165, allocations: 295.8 kB / 1.293 GB, free: 41.45 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/1.166, allocations: 0.7894 MB / 1.294 GB, free: 40.64 MB / 0.7293 GB Notification: Performance of SimCode: time 2.71e-07/1.166, allocations: 0 / 1.294 GB, free: 40.64 MB / 0.7293 GB (rm -f AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > AixLib_AixLib.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1)