Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.Velocity,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_Velocity",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.696/1.696, 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.001152/0.001152, allocations: 181.3 kB / 329.7 MB, free: 336 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.355/1.355, allocations: 221.4 MB / 0.5941 GB, free: 14.61 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.0008507/0.0008505, allocations: 98.86 kB / 0.6993 GB, free: 2.738 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04906/0.04906, allocations: 11.89 MB / 0.816 GB, free: 65.57 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.0003699/0.0003699, allocations: 19 kB / 0.924 GB, free: 86.89 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.2488, allocations: 117.8 MB / 1.039 GB, free: 9.141 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.5101, allocations: 110.2 MB / 1.147 GB, free: 10.81 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.333/4.844, allocations: 1.892 GB / 3.039 GB, free: 298.2 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/4.844, allocations: 90.31 kB / 3.039 GB, free: 298.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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.4703/5.314, allocations: 247 MB / 3.28 GB, free: 48.12 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/5.314, allocations: 8 kB / 3.28 GB, free: 48.11 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/5.316, allocations: 167.3 kB / 3.28 GB, free: 47.95 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/5.316, allocations: 346.2 kB / 3.28 GB, free: 47.57 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/5.316, allocations: 19.92 kB / 3.28 GB, free: 47.55 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.42e-05/5.316, allocations: 12 kB / 3.28 GB, free: 47.54 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003564/5.317, allocations: 208.9 kB / 3.281 GB, free: 47.34 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/5.317, allocations: 266.3 kB / 3.281 GB, free: 47.06 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/5.317, allocations: 0 / 3.281 GB, free: 47.06 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/5.317, allocations: 4 kB / 3.281 GB, free: 47.06 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/5.317, allocations: 4 kB / 3.281 GB, free: 47.05 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/5.319, allocations: 1.106 MB / 3.282 GB, free: 45.86 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003663/5.319, allocations: 227.1 kB / 3.282 GB, free: 45.63 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/5.319, allocations: 113.2 kB / 3.282 GB, free: 45.52 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005518/5.32, allocations: 469.7 kB / 3.283 GB, free: 44.97 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/5.32, allocations: 34.73 kB / 3.283 GB, free: 44.93 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=21): time 1.954e-06/5.32, allocations: 3.938 kB / 3.283 GB, free: 44.92 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21): time 0.0009894/5.321, allocations: 266.7 kB / 3.283 GB, free: 44.66 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/5.321, allocations: 59.34 kB / 3.283 GB, free: 44.59 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002012/5.321, allocations: 201 kB / 3.283 GB, free: 44.39 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/5.321, allocations: 25.7 kB / 3.283 GB, free: 44.36 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/5.321, allocations: 152.2 kB / 3.283 GB, free: 44.2 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/5.321, allocations: 70.92 kB / 3.284 GB, free: 44.13 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.308e-06/5.321, allocations: 0 / 3.284 GB, free: 44.13 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/5.321, allocations: 338.8 kB / 3.284 GB, free: 43.79 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.341e-05/5.321, allocations: 43.98 kB / 3.284 GB, free: 43.75 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/5.322, allocations: 111.7 kB / 3.284 GB, free: 43.62 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/5.322, allocations: 107.8 kB / 3.284 GB, free: 43.51 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/5.322, allocations: 0 / 3.284 GB, free: 43.51 MB / 0.9324 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004161/5.322, allocations: 233.2 kB / 3.284 GB, free: 43.28 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/5.322, allocations: 4 kB / 3.284 GB, free: 43.27 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/5.322, allocations: 4 kB / 3.284 GB, free: 43.27 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/5.322, allocations: 0 / 3.284 GB, free: 43.27 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/5.323, allocations: 52.02 kB / 3.284 GB, free: 43.22 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/5.323, allocations: 3.906 kB / 3.284 GB, free: 43.21 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/5.323, allocations: 31.88 kB / 3.284 GB, free: 43.18 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/5.323, allocations: 12 kB / 3.284 GB, free: 43.17 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 (24): * Single equations (assignments): 24 * 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.042e-05/5.323, allocations: 116.9 kB / 3.285 GB, free: 43.05 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.279e-05/5.323, allocations: 23.72 kB / 3.285 GB, free: 43.03 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/5.323, allocations: 227.5 kB / 3.285 GB, free: 42.8 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/5.324, allocations: 4 kB / 3.285 GB, free: 42.8 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/5.324, allocations: 0 / 3.285 GB, free: 42.8 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/5.324, allocations: 3.984 kB / 3.285 GB, free: 42.8 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009936/5.325, allocations: 0.7145 MB / 3.285 GB, free: 42 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/5.325, allocations: 8.281 kB / 3.286 GB, free: 42 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/5.325, allocations: 43.98 kB / 3.286 GB, free: 41.95 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/5.325, allocations: 4 kB / 3.286 GB, free: 41.95 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/5.325, allocations: 4 kB / 3.286 GB, free: 41.95 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/5.325, allocations: 11.92 kB / 3.286 GB, free: 41.93 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/5.325, allocations: 3.906 kB / 3.286 GB, free: 41.93 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006094/5.325, allocations: 0.5921 MB / 3.286 GB, free: 41.22 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008605/5.326, allocations: 1.09 MB / 3.287 GB, free: 40.01 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/5.326, allocations: 124.8 kB / 3.287 GB, free: 39.87 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/5.326, allocations: 11.98 kB / 3.287 GB, free: 39.86 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/5.327, allocations: 15.98 kB / 3.287 GB, free: 39.84 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/5.327, allocations: 23.89 kB / 3.287 GB, free: 39.82 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/5.327, allocations: 8 kB / 3.287 GB, free: 39.81 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001082/5.327, allocations: 157.2 kB / 3.288 GB, free: 39.66 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001359/5.328, allocations: 263.8 kB / 3.288 GB, free: 39.4 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 (21): * Single equations (assignments): 21 * 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.001732/5.33, allocations: 1.197 MB / 3.289 GB, free: 38.2 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003122/5.33, allocations: 139.8 kB / 3.289 GB, free: 38.07 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/5.33, allocations: 0 / 3.289 GB, free: 38.07 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/5.33, allocations: 87.8 kB / 3.289 GB, free: 37.98 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/5.331, allocations: 129.2 kB / 3.289 GB, free: 37.86 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/5.332, allocations: 464 kB / 3.29 GB, free: 37.34 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/5.333, allocations: 0.818 MB / 3.291 GB, free: 36.5 MB / 0.9324 GB Notification: Performance of SimCode: time 3.01e-07/5.333, allocations: 0 / 3.291 GB, free: 36.5 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sensors_Examples_Velocity.fmu > AixLib_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1)