Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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_latest_AixLib_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.Velocity,fileNamePrefix="AixLib_latest_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.648/1.648, allocations: 265 MB / 272.3 MB, free: 8.793 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.001106/0.001106, allocations: 181.3 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.213/1.213, 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.0009898/0.0009898, allocations: 104.6 kB / 0.6993 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05007/0.05007, allocations: 11.88 MB / 0.816 GB, free: 65.56 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.0003738/0.0003736, allocations: 14.75 kB / 0.924 GB, free: 86.97 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2137/0.2141, allocations: 117.8 MB / 1.039 GB, free: 9.152 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.4506, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.084/4.534, allocations: 1.892 GB / 3.039 GB, free: 276.7 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/4.535, allocations: 80.7 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.4599/4.994, allocations: 247 MB / 3.28 GB, free: 25.8 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/4.995, allocations: 16 kB / 3.28 GB, free: 25.79 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/4.996, allocations: 171.2 kB / 3.28 GB, free: 25.62 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006213/4.997, allocations: 346.3 kB / 3.28 GB, free: 25.25 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/4.997, allocations: 8 kB / 3.28 GB, free: 25.24 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.537e-05/4.997, allocations: 16 kB / 3.28 GB, free: 25.22 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000377/4.997, allocations: 204.9 kB / 3.281 GB, free: 25.02 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/4.997, allocations: 274.3 kB / 3.281 GB, free: 24.74 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/4.997, allocations: 0 / 3.281 GB, free: 24.74 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/4.998, allocations: 3.984 kB / 3.281 GB, free: 24.73 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/4.998, allocations: 8 kB / 3.281 GB, free: 24.73 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/4.999, allocations: 1.096 MB / 3.282 GB, free: 23.54 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/4.999, allocations: 227.1 kB / 3.282 GB, free: 23.31 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/5, allocations: 115 kB / 3.282 GB, free: 23.2 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/5, allocations: 473.7 kB / 3.283 GB, free: 22.64 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/5, allocations: 38.69 kB / 3.283 GB, free: 22.6 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=21): time 1.503e-06/5, allocations: 0 / 3.283 GB, free: 22.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21): time 0.0009438/5.001, allocations: 264.2 kB / 3.283 GB, free: 22.34 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/5.001, allocations: 59.34 kB / 3.283 GB, free: 22.27 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/5.001, allocations: 201 kB / 3.283 GB, free: 22.06 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/5.001, allocations: 29.7 kB / 3.283 GB, free: 22.03 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/5.001, allocations: 144.3 kB / 3.283 GB, free: 21.88 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/5.001, allocations: 70.92 kB / 3.284 GB, free: 21.81 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.867e-06/5.001, allocations: 0 / 3.284 GB, free: 21.81 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/5.001, allocations: 334.8 kB / 3.284 GB, free: 21.48 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/5.002, allocations: 51.92 kB / 3.284 GB, free: 21.43 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/5.002, allocations: 117.7 kB / 3.284 GB, free: 21.29 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002502/5.002, allocations: 101.7 kB / 3.284 GB, free: 21.19 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/5.002, allocations: 4 kB / 3.284 GB, free: 21.19 MB / 0.9324 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004057/5.002, allocations: 229.2 kB / 3.284 GB, free: 20.96 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/5.002, allocations: 4 kB / 3.284 GB, free: 20.95 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/5.002, allocations: 4.094 kB / 3.284 GB, free: 20.95 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/5.002, allocations: 4 kB / 3.284 GB, free: 20.95 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002226/5.003, allocations: 47.92 kB / 3.284 GB, free: 20.9 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/5.003, allocations: 7.891 kB / 3.284 GB, free: 20.89 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/5.003, allocations: 31.83 kB / 3.284 GB, free: 20.86 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/5.003, allocations: 12 kB / 3.284 GB, free: 20.85 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.112e-05/5.003, allocations: 104.9 kB / 3.285 GB, free: 20.74 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.183e-05/5.003, allocations: 23.72 kB / 3.285 GB, free: 20.71 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/5.004, allocations: 234.7 kB / 3.285 GB, free: 20.49 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/5.004, allocations: 8.047 kB / 3.285 GB, free: 20.48 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/5.004, allocations: 4 kB / 3.285 GB, free: 20.48 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/5.004, allocations: 4 kB / 3.285 GB, free: 20.47 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/5.005, allocations: 0.7184 MB / 3.286 GB, free: 19.68 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/5.005, allocations: 0 / 3.286 GB, free: 19.68 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/5.005, allocations: 43.98 kB / 3.286 GB, free: 19.63 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/5.005, allocations: 4 kB / 3.286 GB, free: 19.63 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/5.005, allocations: 8.328 kB / 3.286 GB, free: 19.62 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/5.005, allocations: 11.94 kB / 3.286 GB, free: 19.61 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/5.005, allocations: 7.906 kB / 3.286 GB, free: 19.6 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000617/5.005, allocations: 0.589 MB / 3.286 GB, free: 18.89 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008939/5.006, allocations: 1.092 MB / 3.287 GB, free: 17.68 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/5.006, allocations: 120.7 kB / 3.287 GB, free: 17.55 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/5.007, allocations: 4 kB / 3.287 GB, free: 17.54 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/5.007, allocations: 20.05 kB / 3.287 GB, free: 17.52 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.803e-05/5.007, allocations: 19.89 kB / 3.287 GB, free: 17.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/5.007, allocations: 8 kB / 3.287 GB, free: 17.5 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001056/5.007, allocations: 165.3 kB / 3.288 GB, free: 17.34 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001387/5.008, allocations: 271.8 kB / 3.288 GB, free: 17.07 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.001622/5.01, allocations: 1.187 MB / 3.289 GB, free: 15.88 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002583/5.01, allocations: 139.8 kB / 3.289 GB, free: 15.74 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/5.01, allocations: 0 / 3.289 GB, free: 15.74 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/5.01, allocations: 91.98 kB / 3.289 GB, free: 15.65 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/5.011, allocations: 125.2 kB / 3.289 GB, free: 15.53 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008208/5.012, allocations: 454.4 kB / 3.29 GB, free: 15.03 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/5.012, allocations: 0.8219 MB / 3.291 GB, free: 14.18 MB / 0.9324 GB Notification: Performance of SimCode: time 3.01e-07/5.012, allocations: 0 / 3.291 GB, free: 14.18 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Fluid_Sensors_Examples_Velocity.fmu > AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1)