Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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_latest_AixLib_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="AixLib_latest_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.606/1.606, allocations: 265 MB / 272.3 MB, free: 8.82 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.001176/0.001176, allocations: 181.2 kB / 329.7 MB, free: 404 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.321/1.321, allocations: 221.4 MB / 0.5941 GB, free: 14.53 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.0009794/0.0009792, allocations: 96.62 kB / 0.6993 GB, free: 2.66 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05/0.05, allocations: 11.88 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.0003946/0.0003947, allocations: 18.34 kB / 0.924 GB, free: 87.07 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2608/0.2612, allocations: 117.8 MB / 1.039 GB, free: 9.191 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.517, allocations: 110.2 MB / 1.147 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.228/4.745, allocations: 1.856 GB / 3.002 GB, free: 317 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/4.746, allocations: 81.89 kB / 3.002 GB, free: 317 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.282/6.028, allocations: 415.5 MB / 3.408 GB, free: 221.7 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/6.028, allocations: 8.812 kB / 3.408 GB, free: 221.7 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/6.028, allocations: 68.56 kB / 3.408 GB, free: 221.7 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006273/6.028, allocations: 421.2 kB / 3.409 GB, free: 221.5 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/6.028, allocations: 17.5 kB / 3.409 GB, free: 221.5 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/6.029, allocations: 34.53 kB / 3.409 GB, free: 221.5 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005395/6.029, allocations: 290.1 kB / 3.409 GB, free: 221.5 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008378/6.03, allocations: 0.5961 MB / 3.41 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/6.03, allocations: 6.625 kB / 3.41 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/6.03, allocations: 6.219 kB / 3.41 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/6.03, allocations: 34.56 kB / 3.41 GB, free: 221.2 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/6.032, allocations: 2.998 MB / 3.413 GB, free: 218.9 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/6.032, allocations: 195 kB / 3.413 GB, free: 218.7 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/6.032, allocations: 111.9 kB / 3.413 GB, free: 218.6 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/6.032, allocations: 9.688 kB / 3.413 GB, free: 218.6 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/6.032, allocations: 51.72 kB / 3.413 GB, free: 218.6 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=10): time 1.764e-06/6.032, allocations: 1.188 kB / 3.413 GB, free: 218.6 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10): time 0.000433/6.033, allocations: 127.7 kB / 3.413 GB, free: 218.5 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/6.033, allocations: 296.9 kB / 3.413 GB, free: 218.2 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/6.033, allocations: 219.3 kB / 3.414 GB, free: 218.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/6.033, allocations: 27.02 kB / 3.414 GB, free: 218.1 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.000136/6.033, allocations: 260.3 kB / 3.414 GB, free: 217.9 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/6.033, allocations: 29.8 kB / 3.414 GB, free: 217.9 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/6.033, allocations: 0 / 3.414 GB, free: 217.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/6.034, allocations: 344 kB / 3.414 GB, free: 217.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/6.034, allocations: 24.3 kB / 3.414 GB, free: 217.6 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/6.034, allocations: 100.2 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.959e-05/6.034, allocations: 33.78 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/6.034, allocations: 0 / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001779/6.034, allocations: 128.6 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/6.034, allocations: 4.125 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/6.034, allocations: 2.062 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/6.034, allocations: 2.125 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/6.034, allocations: 26.2 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/6.034, allocations: 6.875 kB / 3.414 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/6.034, allocations: 29.22 kB / 3.415 GB, free: 217.5 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/6.034, allocations: 11.16 kB / 3.415 GB, free: 217.5 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.07e-05/6.034, allocations: 119.3 kB / 3.415 GB, free: 217.4 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/6.035, allocations: 29.62 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/6.035, allocations: 26.22 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/6.035, allocations: 3.312 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/6.035, allocations: 5.5 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/6.035, allocations: 5.844 kB / 3.415 GB, free: 217.3 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/6.036, allocations: 1.228 MB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/6.036, allocations: 3.062 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/6.036, allocations: 25.98 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/6.036, allocations: 8.5 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/6.036, allocations: 3.344 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/6.036, allocations: 4.031 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/6.036, allocations: 7 kB / 3.416 GB, free: 216.4 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002581/6.036, allocations: 381.7 kB / 3.416 GB, free: 216 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005848/6.037, allocations: 0.8189 MB / 3.417 GB, free: 215.3 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-05/6.037, allocations: 106.2 kB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/6.037, allocations: 3.719 kB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/6.037, allocations: 23.7 kB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.551e-05/6.037, allocations: 12 kB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/6.037, allocations: 7.188 kB / 3.417 GB, free: 215.2 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001629/6.038, allocations: 185.1 kB / 3.417 GB, free: 215.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001647/6.039, allocations: 391.7 kB / 3.418 GB, free: 215.1 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.002409/6.042, allocations: 1.652 MB / 3.419 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002416/6.042, allocations: 75.45 kB / 3.42 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/6.042, allocations: 1.031 kB / 3.42 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 8.793e-05/6.042, allocations: 51.44 kB / 3.42 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/6.043, allocations: 89.61 kB / 3.42 GB, free: 214.7 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/6.044, allocations: 0.5808 MB / 3.42 GB, free: 214.4 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/6.044, allocations: 0.9379 MB / 3.421 GB, free: 213.7 MB / 0.9324 GB Notification: Performance of SimCode: time 2.7e-07/6.044, allocations: 0 / 3.421 GB, free: 213.7 MB / 0.9324 GB (rm -f AixLib_latest_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_latest_AixLib_Fluid_Sources_Examples_PropertySource_h.fmu > AixLib_latest_AixLib.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1)