Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/package.mo) Running command: translateModel(AixLib.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Average") translateModel(AixLib.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.Average") [: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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/package.mo): time 1.732/1.732, allocations: 264.8 MB / 272.1 MB, free: 13.71 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001121, allocations: 180 kB / 329.5 MB, free: 7.133 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.724/1.724, allocations: 221.4 MB / 0.5939 GB, free: 10 MB / 442.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 84.69 kB / 0.6991 GB, free: 3.246 MB / 0.5262 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.4554/0.4554, allocations: 11.88 MB / 0.8158 GB, free: 131.8 MB / 0.6355 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.0003934/0.0003935, allocations: 19.97 kB / 0.9238 GB, free: 66.66 MB / 0.6355 GB Notification: Performance of FrontEnd - loaded program: time 1.134e-05/1.15e-05, allocations: 0 / 1.039 GB, free: 12.83 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6945/0.6945, allocations: 110.2 MB / 1.146 GB, free: 152.9 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.8669, allocations: 134 MB / 1.277 GB, free: 33.73 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.8672, allocations: 67.95 kB / 1.277 GB, free: 33.66 MB / 0.7293 GB Notification: Performance of FrontEnd: time 0.003223/0.8704, allocations: 0.8429 MB / 1.278 GB, free: 32.82 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.8704, allocations: 8 kB / 1.278 GB, free: 32.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000508/0.8709, allocations: 374.3 kB / 1.278 GB, free: 32.4 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.871, allocations: 8.031 kB / 1.278 GB, free: 32.39 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.8711, allocations: 7.906 kB / 1.278 GB, free: 32.39 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.8713, allocations: 180.2 kB / 1.279 GB, free: 32.17 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.8713, allocations: 7.891 kB / 1.279 GB, free: 32.16 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.8714, allocations: 4 kB / 1.279 GB, free: 32.16 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001729/0.8715, allocations: 32 kB / 1.279 GB, free: 32.13 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.8717, allocations: 62.55 kB / 1.279 GB, free: 32.06 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8717, allocations: 0 / 1.279 GB, free: 32.06 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.8717, allocations: 0 / 1.279 GB, free: 32.06 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.8717, allocations: 3.984 kB / 1.279 GB, free: 32.06 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006021/0.8723, allocations: 321.2 kB / 1.279 GB, free: 31.71 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 9.19e-05/0.8725, allocations: 30.58 kB / 1.279 GB, free: 31.67 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.8725, allocations: 16.95 kB / 1.279 GB, free: 31.65 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 5.336e-05/0.8726, allocations: 7.984 kB / 1.279 GB, free: 31.64 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.8726, allocations: 39.53 kB / 1.279 GB, free: 31.59 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.8726, allocations: 4 kB / 1.279 GB, free: 31.59 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3): time 0.0002689/0.8729, allocations: 49.69 kB / 1.279 GB, free: 31.54 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/0.8729, allocations: 55.31 kB / 1.279 GB, free: 31.47 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.633e-05/0.873, allocations: 110.4 kB / 1.279 GB, free: 31.36 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.873, allocations: 29.64 kB / 1.279 GB, free: 31.32 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.611e-05/0.8731, allocations: 84.14 kB / 1.279 GB, free: 31.23 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.8731, allocations: 15.75 kB / 1.28 GB, free: 31.22 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-06/0.8731, allocations: 0 / 1.28 GB, free: 31.22 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.8732, allocations: 322.8 kB / 1.28 GB, free: 30.89 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.8732, allocations: 8 kB / 1.28 GB, free: 30.89 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.274e-05/0.8733, allocations: 12.94 kB / 1.28 GB, free: 30.88 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.587e-05/0.8733, allocations: 11.98 kB / 1.28 GB, free: 30.86 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8733, allocations: 4 kB / 1.28 GB, free: 30.86 MB / 0.7293 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001084/0.8734, allocations: 57.59 kB / 1.28 GB, free: 30.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.8735, allocations: 4 kB / 1.28 GB, free: 30.79 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.8735, allocations: 4 kB / 1.28 GB, free: 30.79 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8735, allocations: 3.984 kB / 1.28 GB, free: 30.79 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.8736, allocations: 23.98 kB / 1.28 GB, free: 30.76 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.8737, allocations: 0 / 1.28 GB, free: 30.76 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.8738, allocations: 19.98 kB / 1.28 GB, free: 30.74 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.8738, allocations: 4.938 kB / 1.28 GB, free: 30.74 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 5.581e-05/0.8739, allocations: 104.9 kB / 1.28 GB, free: 30.63 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.8739, allocations: 7.906 kB / 1.28 GB, free: 30.62 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001666/0.8741, allocations: 69.66 kB / 1.28 GB, free: 30.54 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.8741, allocations: 4 kB / 1.28 GB, free: 30.53 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.8741, allocations: 0 / 1.28 GB, free: 30.53 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.8741, allocations: 3.906 kB / 1.28 GB, free: 30.53 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.8742, allocations: 150.2 kB / 1.28 GB, free: 30.34 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.8742, allocations: 7.984 kB / 1.28 GB, free: 30.34 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.8743, allocations: 23.98 kB / 1.28 GB, free: 30.31 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.8743, allocations: 3.938 kB / 1.28 GB, free: 30.31 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.8744, allocations: 3.938 kB / 1.28 GB, free: 30.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8744, allocations: 4 kB / 1.28 GB, free: 30.3 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.8744, allocations: 0 / 1.28 GB, free: 30.3 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001409/0.8745, allocations: 159.4 kB / 1.28 GB, free: 30.13 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.571e-05/0.8746, allocations: 85.3 kB / 1.281 GB, free: 30.03 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.8746, allocations: 0 / 1.281 GB, free: 30.03 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.8747, allocations: 19.98 kB / 1.281 GB, free: 30.01 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.8748, allocations: 7.984 kB / 1.281 GB, free: 30 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.8748, allocations: 7.984 kB / 1.281 GB, free: 29.99 MB / 0.7293 GB Notification: Performance of sort global known variables: time 3.321e-05/0.8748, allocations: 87.28 kB / 1.281 GB, free: 29.91 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002159/0.875, allocations: 11.91 kB / 1.281 GB, free: 29.89 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001608/0.8752, allocations: 111.2 kB / 1.281 GB, free: 29.78 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.8753, allocations: 28 kB / 1.281 GB, free: 29.75 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8753, allocations: 0 / 1.281 GB, free: 29.75 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 3.535e-05/0.8754, allocations: 15.94 kB / 1.281 GB, free: 29.73 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.8756, allocations: 7.984 kB / 1.281 GB, free: 29.73 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/0.8759, allocations: 88.58 kB / 1.281 GB, free: 29.61 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.8761, allocations: 0.7032 MB / 1.282 GB, free: 28.89 MB / 0.7293 GB Notification: Performance of SimCode: time 2.5e-07/0.8761, allocations: 4 kB / 1.282 GB, free: 28.88 MB / 0.7293 GB Notification: Performance of Templates: time 0.003048/0.8792, allocations: 0.7053 MB / 1.282 GB, free: 28.2 MB / 0.7293 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.Average.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Average.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Average.sim & ./AixLib_AixLib.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.Average.pipe 2>&1)