Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="AixLib_latest_AixLib_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="AixLib_latest_AixLib_Fluid_Sensors_Examples_VolumeFlowRate",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.649/1.649, allocations: 265 MB / 272.3 MB, free: 8.82 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.001509/0.001509, allocations: 188.7 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.288/1.288, 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.001007/0.001007, allocations: 98.69 kB / 0.6993 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04849/0.04849, allocations: 11.89 MB / 0.816 GB, free: 65.55 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.0004448/0.0004449, allocations: 13.02 kB / 0.924 GB, free: 87.05 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2338/0.2342, allocations: 117.8 MB / 1.039 GB, free: 9.156 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.4624, allocations: 110.2 MB / 1.147 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.942/4.405, allocations: 1.892 GB / 3.038 GB, free: 276.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/4.405, allocations: 84.94 kB / 3.039 GB, free: 276.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.461/4.866, allocations: 247 MB / 3.28 GB, free: 25.87 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/4.866, allocations: 8 kB / 3.28 GB, free: 25.86 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/4.868, allocations: 167.3 kB / 3.28 GB, free: 25.7 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005248/4.868, allocations: 345.7 kB / 3.28 GB, free: 25.32 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/4.868, allocations: 8 kB / 3.28 GB, free: 25.31 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/4.868, allocations: 12 kB / 3.28 GB, free: 25.3 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003266/4.869, allocations: 204.8 kB / 3.28 GB, free: 25.1 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000325/4.869, allocations: 249.8 kB / 3.281 GB, free: 24.84 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/4.869, allocations: 0 / 3.281 GB, free: 24.84 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/4.869, allocations: 0 / 3.281 GB, free: 24.84 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/4.869, allocations: 8 kB / 3.281 GB, free: 24.83 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/4.87, allocations: 1.096 MB / 3.282 GB, free: 23.66 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/4.871, allocations: 214.7 kB / 3.282 GB, free: 23.44 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/4.871, allocations: 104.8 kB / 3.282 GB, free: 23.33 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005355/4.871, allocations: 473.5 kB / 3.282 GB, free: 22.78 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/4.871, allocations: 30.56 kB / 3.282 GB, free: 22.74 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=19): time 1.693e-06/4.871, allocations: 0 / 3.282 GB, free: 22.74 MB / 0.9324 GB Notification: Performance of matching and sorting (n=19): time 0.0009152/4.872, allocations: 276.3 kB / 3.283 GB, free: 22.46 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/4.872, allocations: 51.41 kB / 3.283 GB, free: 22.4 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/4.873, allocations: 193.1 kB / 3.283 GB, free: 22.21 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/4.873, allocations: 29.64 kB / 3.283 GB, free: 22.18 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/4.873, allocations: 144.2 kB / 3.283 GB, free: 22.03 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/4.873, allocations: 59.02 kB / 3.283 GB, free: 21.97 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-06/4.873, allocations: 0 / 3.283 GB, free: 21.97 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 5.884e-05/4.873, allocations: 342.8 kB / 3.284 GB, free: 21.63 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/4.873, allocations: 44.36 kB / 3.284 GB, free: 21.59 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/4.873, allocations: 101.3 kB / 3.284 GB, free: 21.46 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/4.873, allocations: 103.8 kB / 3.284 GB, free: 21.36 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/4.873, allocations: 4 kB / 3.284 GB, free: 21.36 MB / 0.9324 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003809/4.874, allocations: 224.7 kB / 3.284 GB, free: 21.14 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/4.874, allocations: 8 kB / 3.284 GB, free: 21.13 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/4.874, allocations: 64 / 3.284 GB, free: 21.13 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/4.874, allocations: 11.91 kB / 3.284 GB, free: 21.12 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/4.874, allocations: 48 kB / 3.284 GB, free: 21.07 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/4.874, allocations: 7.984 kB / 3.284 GB, free: 21.06 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/4.874, allocations: 27.83 kB / 3.284 GB, free: 21.04 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/4.874, allocations: 12 kB / 3.284 GB, free: 21.02 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 (22): * Single equations (assignments): 22 * 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 7.407e-05/4.874, allocations: 108.9 kB / 3.284 GB, free: 20.91 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/4.874, allocations: 27.7 kB / 3.284 GB, free: 20.88 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004435/4.875, allocations: 223.7 kB / 3.284 GB, free: 20.66 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/4.875, allocations: 4 kB / 3.284 GB, free: 20.66 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/4.875, allocations: 3.906 kB / 3.284 GB, free: 20.66 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/4.875, allocations: 3.938 kB / 3.284 GB, free: 20.65 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008844/4.876, allocations: 0.6915 MB / 3.285 GB, free: 19.88 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/4.876, allocations: 4.031 kB / 3.285 GB, free: 19.88 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/4.876, allocations: 43.92 kB / 3.285 GB, free: 19.84 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/4.876, allocations: 4 kB / 3.285 GB, free: 19.83 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/4.876, allocations: 7.984 kB / 3.285 GB, free: 19.82 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/4.876, allocations: 7.938 kB / 3.285 GB, free: 19.82 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/4.876, allocations: 4 kB / 3.285 GB, free: 19.81 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005337/4.876, allocations: 0.5772 MB / 3.286 GB, free: 19.12 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007822/4.877, allocations: 1.069 MB / 3.287 GB, free: 17.93 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/4.877, allocations: 124.8 kB / 3.287 GB, free: 17.79 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/4.877, allocations: 4 kB / 3.287 GB, free: 17.79 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/4.878, allocations: 19.89 kB / 3.287 GB, free: 17.77 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.552e-05/4.878, allocations: 23.97 kB / 3.287 GB, free: 17.74 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/4.878, allocations: 8 kB / 3.287 GB, free: 17.73 MB / 0.9324 GB Notification: Performance of sort global known variables: time 9.669e-05/4.878, allocations: 157.2 kB / 3.287 GB, free: 17.58 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001306/4.879, allocations: 263.8 kB / 3.287 GB, free: 17.32 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001396/4.881, allocations: 1.177 MB / 3.289 GB, free: 16.14 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002347/4.881, allocations: 127.8 kB / 3.289 GB, free: 16.02 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/4.881, allocations: 0 / 3.289 GB, free: 16.02 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/4.881, allocations: 88.53 kB / 3.289 GB, free: 15.93 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/4.882, allocations: 120.9 kB / 3.289 GB, free: 15.82 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008942/4.882, allocations: 439 kB / 3.289 GB, free: 15.32 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/4.883, allocations: 0.8175 MB / 3.29 GB, free: 14.48 MB / 0.9324 GB Notification: Performance of SimCode: time 2.81e-07/4.883, allocations: 0 / 3.29 GB, free: 14.48 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Fluid_Sensors_Examples_VolumeFlowRate.fmu > AixLib_latest_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)