Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.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.Examples.PropertySource_h,fileNamePrefix="AixLib_AixLib_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="AixLib_AixLib_Fluid_Sources_Examples_PropertySource_h",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.744/1.744, 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.001372/0.001372, 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.456/1.456, allocations: 221.4 MB / 0.5941 GB, free: 14.5 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.0009998/0.0009998, allocations: 92.61 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.04976/0.04976, 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.0004074/0.0004073, allocations: 16.17 kB / 0.924 GB, free: 87.12 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2853/0.2857, allocations: 117.8 MB / 1.039 GB, free: 9.168 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.5903, allocations: 110.2 MB / 1.147 GB, free: 10.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.726/5.316, allocations: 1.856 GB / 3.002 GB, free: 317.1 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/5.316, allocations: 80.89 kB / 3.002 GB, free: 317.1 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 1.377/6.693, allocations: 415.5 MB / 3.408 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/6.693, allocations: 12.39 kB / 3.408 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/6.694, allocations: 65.66 kB / 3.408 GB, free: 221.6 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/6.695, allocations: 424.3 kB / 3.409 GB, free: 221.3 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.287e-05/6.695, allocations: 19.78 kB / 3.409 GB, free: 221.3 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/6.695, allocations: 31.53 kB / 3.409 GB, free: 221.3 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006518/6.695, allocations: 290.6 kB / 3.409 GB, free: 221.3 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009293/6.696, allocations: 0.598 MB / 3.41 GB, free: 221.1 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/6.696, allocations: 2.062 kB / 3.41 GB, free: 221.1 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/6.696, allocations: 3.25 kB / 3.41 GB, free: 221.1 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.297e-05/6.696, allocations: 34.12 kB / 3.41 GB, free: 221.1 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002347/6.699, allocations: 2.998 MB / 3.413 GB, free: 218.8 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/6.699, allocations: 201.9 kB / 3.413 GB, free: 218.6 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/6.699, allocations: 112.6 kB / 3.413 GB, free: 218.5 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/6.699, allocations: 3.562 kB / 3.413 GB, free: 218.5 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/6.699, allocations: 46.34 kB / 3.413 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=10): time 2.325e-06/6.699, allocations: 0 / 3.413 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10): time 0.0004724/6.7, allocations: 136.9 kB / 3.413 GB, free: 218.4 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.477e-05/6.7, allocations: 288.8 kB / 3.413 GB, free: 218.1 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/6.7, allocations: 222.9 kB / 3.414 GB, free: 218 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/6.7, allocations: 27.02 kB / 3.414 GB, free: 217.9 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/6.7, allocations: 261.9 kB / 3.414 GB, free: 217.8 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/6.7, allocations: 31.34 kB / 3.414 GB, free: 217.8 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/6.7, allocations: 0 / 3.414 GB, free: 217.8 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 7.92e-05/6.7, allocations: 342.3 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.158e-05/6.7, allocations: 23.75 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/6.7, allocations: 101.9 kB / 3.414 GB, free: 217.4 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/6.701, allocations: 38.2 kB / 3.414 GB, free: 217.4 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/6.701, allocations: 0 / 3.414 GB, free: 217.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002112/6.701, allocations: 123.5 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/6.701, allocations: 4.656 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/6.701, allocations: 4.844 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/6.701, allocations: 5.969 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/6.701, allocations: 27.34 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/6.701, allocations: 2.219 kB / 3.414 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/6.701, allocations: 28.72 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/6.701, allocations: 10.95 kB / 3.415 GB, free: 217.3 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 (10): * Single equations (assignments): 10 * 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.73e-05/6.701, allocations: 116.8 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002202/6.702, allocations: 29.41 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.25e-05/6.702, allocations: 34.2 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/6.702, allocations: 3.312 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/6.702, allocations: 7.109 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/6.702, allocations: 7.172 kB / 3.415 GB, free: 217.2 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/6.703, allocations: 1.219 MB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/6.703, allocations: 6.594 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/6.703, allocations: 32.66 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/6.703, allocations: 3.094 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/6.703, allocations: 3 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/6.703, allocations: 6.844 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/6.703, allocations: 2.875 kB / 3.416 GB, free: 216.3 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002603/6.703, allocations: 382.1 kB / 3.416 GB, free: 215.9 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000585/6.704, allocations: 0.8175 MB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 9.45e-05/6.704, allocations: 106.2 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/6.704, allocations: 3.188 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/6.704, allocations: 25.31 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.27e-05/6.704, allocations: 21.62 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/6.704, allocations: 4.344 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001529/6.705, allocations: 179.4 kB / 3.417 GB, free: 215 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001838/6.706, allocations: 393.4 kB / 3.418 GB, free: 215 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.002949/6.709, allocations: 1.639 MB / 3.419 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002551/6.71, allocations: 75.69 kB / 3.419 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/6.71, allocations: 0.9375 kB / 3.419 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/6.71, allocations: 42.92 kB / 3.42 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/6.71, allocations: 100.8 kB / 3.42 GB, free: 214.5 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/6.712, allocations: 0.5759 MB / 3.42 GB, free: 214.3 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006391/6.713, allocations: 0.9483 MB / 3.421 GB, free: 213.6 MB / 0.9324 GB Notification: Performance of SimCode: time 2.11e-07/6.713, allocations: 0 / 3.421 GB, free: 213.6 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sources_Examples_PropertySource_h.fmu > AixLib_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)