Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.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.FixedResistances.Validation.LosslessPipe,fileNamePrefix="AixLib_AixLib_Fluid_FixedResistances_Validation_LosslessPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.FixedResistances.Validation.LosslessPipe,fileNamePrefix="AixLib_AixLib_Fluid_FixedResistances_Validation_LosslessPipe",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.575/1.575, allocations: 265 MB / 272.3 MB, free: 8.848 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.001225/0.001225, allocations: 200.3 kB / 329.7 MB, free: 384 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.293/1.293, allocations: 221.4 MB / 0.5941 GB, free: 14.54 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.0009342/0.0009342, allocations: 114.5 kB / 0.6993 GB, free: 2.664 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04881/0.04881, allocations: 11.89 MB / 0.816 GB, free: 65.61 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.0003462/0.0003462, allocations: 15.69 kB / 0.924 GB, free: 87.01 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2256/0.226, allocations: 117.8 MB / 1.039 GB, free: 9.199 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.4565, allocations: 110.2 MB / 1.147 GB, free: 10.88 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.04/4.497, allocations: 1.851 GB / 2.998 GB, free: 317.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/4.497, allocations: 79.06 kB / 2.998 GB, free: 317.8 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.4112/4.908, allocations: 217.4 MB / 3.21 GB, free: 120.4 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/4.908, allocations: 12 kB / 3.21 GB, free: 120.4 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000326/4.909, allocations: 51.67 kB / 3.21 GB, free: 120.4 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/4.909, allocations: 292.1 kB / 3.21 GB, free: 120 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/4.909, allocations: 8 kB / 3.21 GB, free: 120 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/4.909, allocations: 8 kB / 3.21 GB, free: 120 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002565/4.91, allocations: 151.9 kB / 3.21 GB, free: 119.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/4.91, allocations: 201.3 kB / 3.211 GB, free: 119.7 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/4.91, allocations: 3.984 kB / 3.211 GB, free: 119.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/4.91, allocations: 4 kB / 3.211 GB, free: 119.7 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/4.91, allocations: 16.22 kB / 3.211 GB, free: 119.6 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/4.911, allocations: 0.8434 MB / 3.211 GB, free: 118.7 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/4.912, allocations: 122.5 kB / 3.212 GB, free: 118.6 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/4.912, allocations: 96.72 kB / 3.212 GB, free: 118.5 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/4.912, allocations: 194.2 kB / 3.212 GB, free: 118.3 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/4.912, allocations: 38.5 kB / 3.212 GB, free: 118.2 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/4.912, allocations: 4 kB / 3.212 GB, free: 118.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=14): time 0.0005524/4.913, allocations: 217.4 kB / 3.212 GB, free: 118 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/4.913, allocations: 51.41 kB / 3.212 GB, free: 118 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/4.913, allocations: 161.8 kB / 3.212 GB, free: 117.8 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/4.913, allocations: 25.7 kB / 3.212 GB, free: 117.8 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/4.913, allocations: 128.1 kB / 3.212 GB, free: 117.6 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/4.913, allocations: 43.36 kB / 3.212 GB, free: 117.6 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/4.913, allocations: 0 / 3.212 GB, free: 117.6 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.078e-05/4.913, allocations: 334.8 kB / 3.213 GB, free: 117.2 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.938e-05/4.913, allocations: 63.97 kB / 3.213 GB, free: 117.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/4.913, allocations: 120.2 kB / 3.213 GB, free: 117.1 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/4.913, allocations: 79.88 kB / 3.213 GB, free: 117 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/4.913, allocations: 0 / 3.213 GB, free: 117 MB / 0.9324 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002775/4.914, allocations: 201.7 kB / 3.213 GB, free: 116.8 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/4.914, allocations: 4 kB / 3.213 GB, free: 116.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/4.914, allocations: 3.938 kB / 3.213 GB, free: 116.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/4.914, allocations: 4 kB / 3.213 GB, free: 116.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/4.914, allocations: 36.03 kB / 3.213 GB, free: 116.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/4.914, allocations: 4 kB / 3.213 GB, free: 116.7 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/4.914, allocations: 15.89 kB / 3.213 GB, free: 116.7 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/4.914, allocations: 19.98 kB / 3.213 GB, free: 116.7 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 6.869e-05/4.914, allocations: 108.9 kB / 3.213 GB, free: 116.6 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/4.914, allocations: 19.72 kB / 3.213 GB, free: 116.6 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.28e-05/4.914, allocations: 29.44 kB / 3.213 GB, free: 116.5 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/4.914, allocations: 3.938 kB / 3.213 GB, free: 116.5 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/4.914, allocations: 0 / 3.213 GB, free: 116.5 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/4.914, allocations: 4 kB / 3.213 GB, free: 116.5 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007598/4.915, allocations: 0.6489 MB / 3.214 GB, free: 115.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/4.915, allocations: 4 kB / 3.214 GB, free: 115.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/4.915, allocations: 48.19 kB / 3.214 GB, free: 115.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/4.915, allocations: 3.906 kB / 3.214 GB, free: 115.7 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/4.915, allocations: 4 kB / 3.214 GB, free: 115.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/4.915, allocations: 7.984 kB / 3.214 GB, free: 115.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/4.915, allocations: 0 / 3.214 GB, free: 115.7 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003856/4.916, allocations: 436.4 kB / 3.215 GB, free: 115.2 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005439/4.916, allocations: 0.8217 MB / 3.215 GB, free: 114.3 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/4.916, allocations: 108.9 kB / 3.216 GB, free: 114.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/4.917, allocations: 4 kB / 3.216 GB, free: 114.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/4.917, allocations: 19.89 kB / 3.216 GB, free: 114.2 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/4.917, allocations: 15.98 kB / 3.216 GB, free: 114.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/4.917, allocations: 4 kB / 3.216 GB, free: 114.2 MB / 0.9324 GB Notification: Performance of sort global known variables: time 7.481e-05/4.917, allocations: 127.9 kB / 3.216 GB, free: 114 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001359/4.918, allocations: 207.8 kB / 3.216 GB, free: 113.8 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001347/4.92, allocations: 1.012 MB / 3.217 GB, free: 112.8 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002794/4.92, allocations: 173.6 kB / 3.217 GB, free: 112.7 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/4.92, allocations: 4.125 kB / 3.217 GB, free: 112.7 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/4.92, allocations: 95.83 kB / 3.217 GB, free: 112.6 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000499/4.921, allocations: 80.2 kB / 3.217 GB, free: 112.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000638/4.921, allocations: 317.3 kB / 3.218 GB, free: 112.1 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003248/4.922, allocations: 0.7901 MB / 3.218 GB, free: 111.3 MB / 0.9324 GB Notification: Performance of SimCode: time 4.11e-07/4.922, allocations: 0 / 3.218 GB, free: 111.3 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_FixedResistances_Validation_LosslessPipe_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_FixedResistances_Validation_LosslessPipe.fmu > AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)