Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.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.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="AixLib_AixLib_Fluid_Sources_Validation_BoundaryWithXi_in",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sources.Validation.BoundaryWithXi_in,fileNamePrefix="AixLib_AixLib_Fluid_Sources_Validation_BoundaryWithXi_in",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.802/1.802, allocations: 265 MB / 272.3 MB, free: 8.824 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.001181/0.001181, allocations: 189.2 kB / 329.7 MB, free: 388 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.496/1.496, allocations: 221.4 MB / 0.5941 GB, free: 14.52 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.001268/0.001268, allocations: 96.56 kB / 0.6993 GB, free: 2.668 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05174/0.05174, 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.0005134/0.0005132, allocations: 11.86 kB / 0.924 GB, free: 86.98 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.3115/0.3121, allocations: 117.8 MB / 1.039 GB, free: 9.211 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.6017, allocations: 110.2 MB / 1.147 GB, free: 10.88 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.55/7.152, allocations: 2.527 GB / 3.674 GB, free: 315.9 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/7.152, allocations: 83.17 kB / 3.674 GB, free: 315.9 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 5.486/12.64, allocations: 1.423 GB / 5.097 GB, free: 177 MB / 0.9637 GB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/12.64, allocations: 12.75 kB / 5.097 GB, free: 177 MB / 0.9637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/12.64, allocations: 355 kB / 5.098 GB, free: 176.9 MB / 0.9637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/12.64, allocations: 0.936 MB / 5.099 GB, free: 176.6 MB / 0.9637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/12.64, allocations: 34.31 kB / 5.099 GB, free: 176.6 MB / 0.9637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/12.64, allocations: 62.47 kB / 5.099 GB, free: 176.6 MB / 0.9637 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001429/12.64, allocations: 0.9243 MB / 5.1 GB, free: 176.6 MB / 0.9637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/12.65, allocations: 1.3 MB / 5.101 GB, free: 176.4 MB / 0.9637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/12.65, allocations: 2.062 kB / 5.101 GB, free: 176.4 MB / 0.9637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.978e-05/12.65, allocations: 2.969 kB / 5.101 GB, free: 176.4 MB / 0.9637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.338e-05/12.65, allocations: 52 kB / 5.101 GB, free: 176.4 MB / 0.9637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/12.65, allocations: 5.037 MB / 5.106 GB, free: 173.6 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/12.65, allocations: 305.2 kB / 5.106 GB, free: 173.5 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/12.65, allocations: 244.5 kB / 5.106 GB, free: 173.5 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000815/12.65, allocations: 1.088 MB / 5.107 GB, free: 172.4 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/12.65, allocations: 41.38 kB / 5.107 GB, free: 172.3 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=28): time 3.477e-06/12.65, allocations: 0 / 5.107 GB, free: 172.3 MB / 0.9637 GB Notification: Performance of matching and sorting (n=28): time 0.001816/12.65, allocations: 0.5651 MB / 5.108 GB, free: 172.3 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/12.65, allocations: 84.77 kB / 5.108 GB, free: 172.2 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006388/12.65, allocations: 0.56 MB / 5.109 GB, free: 172.1 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/12.65, allocations: 27.02 kB / 5.109 GB, free: 172 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002385/12.66, allocations: 461.8 kB / 5.109 GB, free: 171.8 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/12.66, allocations: 92.48 kB / 5.109 GB, free: 171.8 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/12.66, allocations: 0 / 5.109 GB, free: 171.8 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 6.703e-05/12.66, allocations: 319 kB / 5.11 GB, free: 171.5 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/12.66, allocations: 153.2 kB / 5.11 GB, free: 171.5 MB / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/12.66, allocations: 322.1 kB / 5.11 GB, free: 171.3 MB / 0.9637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/12.66, allocations: 225.3 kB / 5.11 GB, free: 171.3 MB / 0.9637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/12.66, allocations: 0 / 5.11 GB, free: 171.3 MB / 0.9637 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000737/12.66, allocations: 0.508 MB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/12.66, allocations: 8.969 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/12.66, allocations: 2.75 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/12.66, allocations: 11.94 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/12.66, allocations: 57.42 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/12.66, allocations: 8.156 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004096/12.66, allocations: 30.27 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.234e-05/12.66, allocations: 21.78 kB / 5.111 GB, free: 171.2 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001077/12.66, allocations: 116 kB / 5.111 GB, free: 171.1 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/12.66, allocations: 79.38 kB / 5.111 GB, free: 171.1 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005256/12.66, allocations: 323 kB / 5.111 GB, free: 171 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/12.66, allocations: 5.125 kB / 5.111 GB, free: 171 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/12.66, allocations: 0 / 5.111 GB, free: 171 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/12.66, allocations: 3.688 kB / 5.111 GB, free: 171 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/12.66, allocations: 2.35 MB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/12.66, allocations: 7.781 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/12.66, allocations: 51.53 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/12.66, allocations: 11.47 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/12.66, allocations: 7.812 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/12.66, allocations: 14.81 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.408e-06/12.66, allocations: 15.64 kB / 5.114 GB, free: 170.2 MB / 0.9637 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005964/12.66, allocations: 0.848 MB / 5.115 GB, free: 169.5 MB / 0.9637 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009245/12.66, allocations: 1.281 MB / 5.116 GB, free: 168.4 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/12.66, allocations: 206.8 kB / 5.116 GB, free: 168.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/12.66, allocations: 7.656 kB / 5.116 GB, free: 168.3 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/12.66, allocations: 14.06 kB / 5.116 GB, free: 168.3 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.109e-05/12.66, allocations: 33.12 kB / 5.116 GB, free: 168.3 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/12.66, allocations: 18.94 kB / 5.116 GB, free: 168.3 MB / 0.9637 GB Notification: Performance of sort global known variables: time 0.0004765/12.66, allocations: 472.1 kB / 5.117 GB, free: 168.2 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.002559/12.67, allocations: 0.712 MB / 5.117 GB, free: 168.1 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.003857/12.67, allocations: 2.444 MB / 5.12 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.0005593/12.67, allocations: 341.3 kB / 5.12 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/12.67, allocations: 2.75 kB / 5.12 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/12.67, allocations: 156.2 kB / 5.12 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002002/12.67, allocations: 420.8 kB / 5.12 GB, free: 167.7 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/12.68, allocations: 1.434 MB / 5.122 GB, free: 167.1 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008783/12.68, allocations: 1.294 MB / 5.123 GB, free: 166.4 MB / 0.9637 GB Notification: Performance of SimCode: time 6.52e-07/12.68, allocations: 3.562 kB / 5.123 GB, free: 166.4 MB / 0.9637 GB (rm -f AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; mkfifo AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.pipe >> ../files/AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sources_Validation_BoundaryWithXi_in_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sources_Validation_BoundaryWithXi_in.fmu > AixLib_AixLib.Fluid.Sources.Validation.BoundaryWithXi_in.pipe 2>&1)