Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="AixLib_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.848/1.848, allocations: 265 MB / 272.3 MB, free: 8.84 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.001148/0.001148, allocations: 189.2 kB / 329.7 MB, free: 396 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.404/1.404, allocations: 221.4 MB / 0.5941 GB, free: 14.53 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.001043/0.001043, allocations: 100.6 kB / 0.6993 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05263/0.05263, allocations: 11.89 MB / 0.816 GB, free: 65.6 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.000612/0.000612, allocations: 19.69 kB / 0.924 GB, free: 87.01 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2569/0.2576, allocations: 117.8 MB / 1.039 GB, free: 9.199 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.5271, allocations: 110.2 MB / 1.147 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.417/4.944, allocations: 1.892 GB / 3.038 GB, free: 278.7 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004267/4.945, allocations: 92.27 kB / 3.039 GB, free: 278.6 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.4712/5.416, allocations: 246.9 MB / 3.28 GB, free: 27.69 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/5.416, allocations: 12 kB / 3.28 GB, free: 27.68 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001561/5.417, allocations: 163.3 kB / 3.28 GB, free: 27.52 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008185/5.418, allocations: 345.8 kB / 3.28 GB, free: 27.13 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/5.418, allocations: 8 kB / 3.28 GB, free: 27.12 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.884e-05/5.418, allocations: 12 kB / 3.28 GB, free: 27.11 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/5.419, allocations: 204.8 kB / 3.28 GB, free: 26.91 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/5.419, allocations: 253.8 kB / 3.281 GB, free: 26.65 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/5.419, allocations: 0 / 3.281 GB, free: 26.65 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/5.419, allocations: 0 / 3.281 GB, free: 26.65 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/5.419, allocations: 8 kB / 3.281 GB, free: 26.64 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/5.421, allocations: 1.09 MB / 3.282 GB, free: 25.48 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/5.421, allocations: 214.6 kB / 3.282 GB, free: 25.26 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/5.422, allocations: 112.8 kB / 3.282 GB, free: 25.14 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005918/5.422, allocations: 469.5 kB / 3.282 GB, free: 24.59 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/5.422, allocations: 30.56 kB / 3.283 GB, free: 24.55 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=19): time 3.326e-06/5.422, allocations: 4 kB / 3.283 GB, free: 24.55 MB / 0.9324 GB Notification: Performance of matching and sorting (n=19): time 0.001103/5.423, allocations: 264.9 kB / 3.283 GB, free: 24.29 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/5.423, allocations: 59.34 kB / 3.283 GB, free: 24.22 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/5.424, allocations: 189.1 kB / 3.283 GB, free: 24.03 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/5.424, allocations: 33.64 kB / 3.283 GB, free: 23.99 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/5.424, allocations: 144.2 kB / 3.283 GB, free: 23.85 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/5.424, allocations: 63 kB / 3.283 GB, free: 23.79 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/5.424, allocations: 4 kB / 3.283 GB, free: 23.78 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.03e-05/5.424, allocations: 334.8 kB / 3.284 GB, free: 23.45 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.538e-05/5.424, allocations: 44.38 kB / 3.284 GB, free: 23.4 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000106/5.424, allocations: 105.3 kB / 3.284 GB, free: 23.28 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/5.424, allocations: 99.89 kB / 3.284 GB, free: 23.18 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/5.424, allocations: 0 / 3.284 GB, free: 23.18 MB / 0.9324 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004162/5.425, allocations: 229.2 kB / 3.284 GB, free: 22.95 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/5.425, allocations: 4 kB / 3.284 GB, free: 22.95 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/5.425, allocations: 4 kB / 3.284 GB, free: 22.94 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/5.425, allocations: 7.891 kB / 3.284 GB, free: 22.93 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/5.425, allocations: 48.02 kB / 3.284 GB, free: 22.89 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/5.425, allocations: 4 kB / 3.284 GB, free: 22.88 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/5.425, allocations: 27.81 kB / 3.284 GB, free: 22.86 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/5.425, allocations: 12 kB / 3.284 GB, free: 22.84 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.45e-05/5.425, allocations: 112.9 kB / 3.284 GB, free: 22.73 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/5.425, allocations: 23.72 kB / 3.284 GB, free: 22.7 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004481/5.426, allocations: 223.6 kB / 3.284 GB, free: 22.48 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/5.426, allocations: 0 / 3.284 GB, free: 22.48 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/5.426, allocations: 7.906 kB / 3.284 GB, free: 22.48 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/5.426, allocations: 0 / 3.284 GB, free: 22.48 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009853/5.427, allocations: 0.6992 MB / 3.285 GB, free: 21.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/5.427, allocations: 4 kB / 3.285 GB, free: 21.7 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/5.427, allocations: 43.91 kB / 3.285 GB, free: 21.65 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/5.427, allocations: 4 kB / 3.285 GB, free: 21.65 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/5.427, allocations: 4 kB / 3.285 GB, free: 21.64 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/5.427, allocations: 4 kB / 3.285 GB, free: 21.64 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/5.427, allocations: 7.938 kB / 3.285 GB, free: 21.63 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006228/5.428, allocations: 0.5838 MB / 3.286 GB, free: 20.93 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008547/5.429, allocations: 1.062 MB / 3.287 GB, free: 19.75 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/5.429, allocations: 124.7 kB / 3.287 GB, free: 19.61 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/5.429, allocations: 4 kB / 3.287 GB, free: 19.61 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002207/5.429, allocations: 19.89 kB / 3.287 GB, free: 19.59 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/5.429, allocations: 23.98 kB / 3.287 GB, free: 19.56 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/5.429, allocations: 8 kB / 3.287 GB, free: 19.55 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001117/5.429, allocations: 153.2 kB / 3.287 GB, free: 19.41 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001402/5.431, allocations: 263.8 kB / 3.287 GB, free: 19.15 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.001758/5.432, allocations: 1.191 MB / 3.289 GB, free: 17.95 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003003/5.433, allocations: 131.8 kB / 3.289 GB, free: 17.82 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/5.433, allocations: 0 / 3.289 GB, free: 17.82 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/5.433, allocations: 80.42 kB / 3.289 GB, free: 17.75 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000727/5.434, allocations: 122.8 kB / 3.289 GB, free: 17.63 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000938/5.435, allocations: 435 kB / 3.289 GB, free: 17.14 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/5.435, allocations: 0.8176 MB / 3.29 GB, free: 16.3 MB / 0.9324 GB Notification: Performance of SimCode: time 2.7e-07/5.435, allocations: 0 / 3.29 GB, free: 16.3 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sensors_Examples_VolumeFlowRate.fmu > AixLib_AixLib.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)