Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.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.Sensors.Examples.SpecificEntropy,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_SpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Fluid.Sensors.Examples.SpecificEntropy,fileNamePrefix="AixLib_AixLib_Fluid_Sensors_Examples_SpecificEntropy",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.88/1.88, allocations: 265 MB / 272.3 MB, free: 8.781 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.00114/0.00114, allocations: 169.3 kB / 329.7 MB, free: 348 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.415/1.415, allocations: 221.4 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.00114/0.00114, allocations: 104.6 kB / 0.6993 GB, free: 2.688 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06627/0.06627, 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.0004578/0.0004578, allocations: 17.73 kB / 0.924 GB, free: 87.08 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2772/0.2777, allocations: 117.8 MB / 1.039 GB, free: 9.133 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.5638, allocations: 110.2 MB / 1.147 GB, free: 10.81 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.877/5.441, allocations: 1.852 GB / 2.999 GB, free: 317.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/5.441, allocations: 92.61 kB / 2.999 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.461/5.902, allocations: 224.6 MB / 3.219 GB, free: 111.5 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/5.902, allocations: 12 kB / 3.219 GB, free: 111.5 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007356/5.903, allocations: 87.52 kB / 3.219 GB, free: 111.4 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005054/5.903, allocations: 295.4 kB / 3.219 GB, free: 111.1 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/5.903, allocations: 8 kB / 3.219 GB, free: 111.1 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/5.904, allocations: 15.94 kB / 3.219 GB, free: 111.1 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003172/5.904, allocations: 148 kB / 3.219 GB, free: 110.9 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/5.904, allocations: 246.2 kB / 3.219 GB, free: 110.7 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/5.904, allocations: 0 / 3.219 GB, free: 110.7 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/5.904, allocations: 0 / 3.219 GB, free: 110.7 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/5.904, allocations: 4 kB / 3.219 GB, free: 110.7 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001882/5.906, allocations: 1.446 MB / 3.221 GB, free: 109.1 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/5.906, allocations: 129.1 kB / 3.221 GB, free: 108.9 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.752e-05/5.906, allocations: 76.39 kB / 3.221 GB, free: 108.8 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002481/5.907, allocations: 117.1 kB / 3.221 GB, free: 108.7 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/5.907, allocations: 42.5 kB / 3.221 GB, free: 108.7 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=10): time 1.634e-06/5.907, allocations: 0 / 3.221 GB, free: 108.7 MB / 0.9324 GB Notification: Performance of matching and sorting (n=10): time 0.0004946/5.907, allocations: 153.3 kB / 3.221 GB, free: 108.5 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/5.907, allocations: 154.2 kB / 3.221 GB, free: 108.3 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/5.907, allocations: 203.9 kB / 3.222 GB, free: 108.1 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/5.908, allocations: 29.7 kB / 3.222 GB, free: 108.1 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/5.908, allocations: 148 kB / 3.222 GB, free: 107.9 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/5.908, allocations: 43.39 kB / 3.222 GB, free: 107.9 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/5.908, allocations: 0 / 3.222 GB, free: 107.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 5.957e-05/5.908, allocations: 326.9 kB / 3.222 GB, free: 107.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.308e-05/5.908, allocations: 55.97 kB / 3.222 GB, free: 107.5 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/5.908, allocations: 136.8 kB / 3.222 GB, free: 107.3 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/5.908, allocations: 99.83 kB / 3.222 GB, free: 107.2 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/5.908, allocations: 0 / 3.222 GB, free: 107.2 MB / 0.9324 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004798/5.909, allocations: 229.4 kB / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/5.909, allocations: 4 kB / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/5.909, allocations: 4 kB / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/5.909, allocations: 4 kB / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/5.909, allocations: 47.91 kB / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/5.909, allocations: 0 / 3.223 GB, free: 107 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/5.909, allocations: 31.86 kB / 3.223 GB, free: 106.9 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/5.909, allocations: 8 kB / 3.223 GB, free: 106.9 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.234e-05/5.909, allocations: 116.6 kB / 3.223 GB, free: 106.8 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/5.909, allocations: 23.72 kB / 3.223 GB, free: 106.8 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/5.91, allocations: 115.3 kB / 3.223 GB, free: 106.7 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/5.91, allocations: 4 kB / 3.223 GB, free: 106.6 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/5.91, allocations: 4 kB / 3.223 GB, free: 106.6 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/5.91, allocations: 0 / 3.223 GB, free: 106.6 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007792/5.911, allocations: 0.8008 MB / 3.224 GB, free: 105.8 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/5.911, allocations: 4 kB / 3.224 GB, free: 105.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001357/5.911, allocations: 28.14 kB / 3.224 GB, free: 105.8 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/5.911, allocations: 256 / 3.224 GB, free: 105.8 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/5.911, allocations: 7.938 kB / 3.224 GB, free: 105.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/5.911, allocations: 8 kB / 3.224 GB, free: 105.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/5.911, allocations: 3.906 kB / 3.224 GB, free: 105.7 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004104/5.911, allocations: 360 kB / 3.224 GB, free: 105.3 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006143/5.912, allocations: 0.8208 MB / 3.225 GB, free: 104.4 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/5.912, allocations: 112.8 kB / 3.225 GB, free: 104.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/5.912, allocations: 4 kB / 3.225 GB, free: 104.3 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/5.912, allocations: 16.05 kB / 3.225 GB, free: 104.3 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/5.912, allocations: 7.906 kB / 3.225 GB, free: 104.3 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/5.912, allocations: 4 kB / 3.225 GB, free: 104.3 MB / 0.9324 GB Notification: Performance of sort global known variables: time 0.0001227/5.912, allocations: 168.5 kB / 3.225 GB, free: 104.1 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001477/5.914, allocations: 287.8 kB / 3.225 GB, free: 103.8 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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.001873/5.916, allocations: 1.176 MB / 3.227 GB, free: 102.7 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002334/5.916, allocations: 111.8 kB / 3.227 GB, free: 102.5 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/5.916, allocations: 0 / 3.227 GB, free: 102.5 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 6.609e-05/5.916, allocations: 48.67 kB / 3.227 GB, free: 102.5 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/5.917, allocations: 56.91 kB / 3.227 GB, free: 102.4 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006869/5.917, allocations: 352.3 kB / 3.227 GB, free: 102.1 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003012/5.918, allocations: 0.7907 MB / 3.228 GB, free: 101.2 MB / 0.9324 GB Notification: Performance of SimCode: time 3.01e-07/5.918, allocations: 0 / 3.228 GB, free: 101.2 MB / 0.9324 GB (rm -f AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Fluid_Sensors_Examples_SpecificEntropy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Fluid_Sensors_Examples_SpecificEntropy.fmu > AixLib_AixLib.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)