Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.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.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="AixLib_AixLib_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="AixLib_AixLib_Controls_Continuous_Examples_NumberOfRequests",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.665/1.665, allocations: 265 MB / 272.3 MB, free: 8.812 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.001276/0.001276, allocations: 189.2 kB / 329.7 MB, free: 364 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.389/1.389, allocations: 221.3 MB / 0.5941 GB, free: 14.55 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.001031/0.001031, allocations: 104.6 kB / 0.6993 GB, free: 2.676 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05321/0.05321, allocations: 11.89 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.0004752/0.0004752, allocations: 15.59 kB / 0.924 GB, free: 87.14 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2582/0.2587, allocations: 117.8 MB / 1.039 GB, free: 9.145 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.5132, allocations: 110.2 MB / 1.147 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6762/1.189, allocations: 134.7 MB / 1.278 GB, free: 55.58 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.19, allocations: 71.64 kB / 1.278 GB, free: 55.54 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.004907/1.195, allocations: 1.676 MB / 1.28 GB, free: 54.05 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.195, allocations: 8 kB / 1.28 GB, free: 54.04 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/1.195, allocations: 11.91 kB / 1.28 GB, free: 54.03 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/1.195, allocations: 187.4 kB / 1.28 GB, free: 53.81 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/1.195, allocations: 7.656 kB / 1.28 GB, free: 53.81 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/1.195, allocations: 19.73 kB / 1.28 GB, free: 53.79 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/1.195, allocations: 46.55 kB / 1.28 GB, free: 53.76 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/1.195, allocations: 95.69 kB / 1.28 GB, free: 53.68 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.195, allocations: 3.938 kB / 1.28 GB, free: 53.68 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.195, allocations: 0 / 1.28 GB, free: 53.68 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/1.195, allocations: 1.125 kB / 1.28 GB, free: 53.68 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/1.196, allocations: 318 kB / 1.281 GB, free: 53.35 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/1.196, allocations: 77 kB / 1.281 GB, free: 53.29 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/1.196, allocations: 62.19 kB / 1.281 GB, free: 53.24 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/1.196, allocations: 0 / 1.281 GB, free: 53.24 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/1.196, allocations: 89.75 kB / 1.281 GB, free: 53.15 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/1.196, allocations: 0 / 1.281 GB, free: 53.15 MB / 0.7293 GB Notification: Performance of matching and sorting (n=6): time 0.0002336/1.196, allocations: 107.8 kB / 1.281 GB, free: 53.06 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/1.196, allocations: 84.48 kB / 1.281 GB, free: 52.96 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/1.197, allocations: 120.7 kB / 1.281 GB, free: 52.85 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/1.197, allocations: 25.7 kB / 1.281 GB, free: 52.82 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 3.796e-05/1.197, allocations: 99.66 kB / 1.281 GB, free: 52.72 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/1.197, allocations: 15.25 kB / 1.281 GB, free: 52.71 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.017e-05/1.197, allocations: 3.938 kB / 1.281 GB, free: 52.71 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.081e-05/1.197, allocations: 322.2 kB / 1.282 GB, free: 52.39 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/1.197, allocations: 42.62 kB / 1.282 GB, free: 52.36 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.499e-05/1.197, allocations: 42.23 kB / 1.282 GB, free: 52.33 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/1.197, allocations: 23.55 kB / 1.282 GB, free: 52.32 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.197, allocations: 8 kB / 1.282 GB, free: 52.31 MB / 0.7293 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001735/1.197, allocations: 120 kB / 1.282 GB, free: 52.21 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.197, allocations: 8 kB / 1.282 GB, free: 52.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/1.197, allocations: 0 / 1.282 GB, free: 52.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/1.197, allocations: 0 / 1.282 GB, free: 52.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.197, allocations: 15.98 kB / 1.282 GB, free: 52.18 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/1.197, allocations: 4 kB / 1.282 GB, free: 52.18 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/1.197, allocations: 43.75 kB / 1.282 GB, free: 52.14 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.198, allocations: 4 kB / 1.282 GB, free: 52.14 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: 6 ($whenCondition1,numReq.y,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.8e-05/1.198, allocations: 143.4 kB / 1.282 GB, free: 51.99 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.783e-05/1.198, allocations: 11.91 kB / 1.282 GB, free: 51.98 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/1.198, allocations: 8.359 kB / 1.282 GB, free: 51.97 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.198, allocations: 0 / 1.282 GB, free: 51.97 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.198, allocations: 7.469 kB / 1.282 GB, free: 51.96 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.198, allocations: 0 / 1.282 GB, free: 51.96 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/1.198, allocations: 169.1 kB / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1.198, allocations: 0 / 1.282 GB, free: 51.77 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.133e-05/1.198, allocations: 27.34 kB / 1.282 GB, free: 51.75 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.198, allocations: 0 / 1.282 GB, free: 51.75 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.198, allocations: 4 kB / 1.282 GB, free: 51.75 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/1.198, allocations: 3.938 kB / 1.282 GB, free: 51.74 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.198, allocations: 0 / 1.282 GB, free: 51.74 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001672/1.198, allocations: 135 kB / 1.282 GB, free: 51.61 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002032/1.198, allocations: 0.5054 MB / 1.283 GB, free: 51.11 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.428e-05/1.198, allocations: 85.02 kB / 1.283 GB, free: 51.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/1.198, allocations: 4 kB / 1.283 GB, free: 51.01 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/1.199, allocations: 31.97 kB / 1.283 GB, free: 50.98 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.199, allocations: 35.08 kB / 1.283 GB, free: 50.95 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/1.199, allocations: 4 kB / 1.283 GB, free: 50.95 MB / 0.7293 GB Notification: Performance of sort global known variables: time 4.185e-05/1.199, allocations: 100.7 kB / 1.283 GB, free: 50.86 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.000821/1.2, allocations: 31.78 kB / 1.283 GB, free: 50.83 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: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001281/1.2, allocations: 111 kB / 1.283 GB, free: 50.71 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0002233/1.2, allocations: 159.9 kB / 1.283 GB, free: 50.58 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/1.2, allocations: 0 / 1.283 GB, free: 50.58 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/1.2, allocations: 94.81 kB / 1.283 GB, free: 50.5 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/1.2, allocations: 7.984 kB / 1.283 GB, free: 50.49 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/1.201, allocations: 147.8 kB / 1.284 GB, free: 50.35 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/1.201, allocations: 0.7075 MB / 1.284 GB, free: 49.61 MB / 0.7293 GB Notification: Performance of SimCode: time 2.51e-07/1.201, allocations: 0 / 1.284 GB, free: 49.61 MB / 0.7293 GB (rm -f AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Controls_Continuous_Examples_NumberOfRequests.fmu > AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)