Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.WaterDerivativeCheck,fileNamePrefix="AixLib_latest_AixLib_Media_Examples_WaterDerivativeCheck",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.71/1.71, allocations: 265 MB / 272.3 MB, free: 8.77 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.001358/0.001358, allocations: 173.3 kB / 329.7 MB, free: 344 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.424/1.424, allocations: 221.3 MB / 0.5941 GB, free: 14.48 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.001266/0.001265, allocations: 100.6 kB / 0.6993 GB, free: 2.613 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05268/0.05268, allocations: 11.89 MB / 0.816 GB, free: 65.54 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.0004425/0.0004425, allocations: 13.98 kB / 0.924 GB, free: 87.05 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2594/0.2598, allocations: 117.8 MB / 1.039 GB, free: 9.148 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.5318, allocations: 110.2 MB / 1.147 GB, free: 10.83 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8868/1.419, allocations: 363.3 MB / 1.501 GB, free: 10.57 MB / 0.9012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.419, allocations: 63.16 kB / 1.501 GB, free: 10.54 MB / 0.9012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02909/1.448, allocations: 13.36 MB / 1.515 GB, free: 148 kB / 0.9012 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/1.448, allocations: 8 kB / 1.515 GB, free: 140 kB / 0.9012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/1.448, allocations: 12.78 kB / 1.515 GB, free: 128 kB / 0.9012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/1.449, allocations: 159.1 kB / 1.515 GB, free: 15.93 MB / 0.9168 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/1.449, allocations: 4 kB / 1.515 GB, free: 15.93 MB / 0.9168 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/1.449, allocations: 0.625 kB / 1.515 GB, free: 15.93 MB / 0.9168 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.266e-05/1.449, allocations: 17.86 kB / 1.515 GB, free: 15.91 MB / 0.9168 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.502e-05/1.449, allocations: 53.55 kB / 1.515 GB, free: 15.86 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/1.449, allocations: 0 / 1.515 GB, free: 15.86 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/1.449, allocations: 7.891 kB / 1.515 GB, free: 15.85 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.449, allocations: 0 / 1.515 GB, free: 15.85 MB / 0.9168 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001549/1.449, allocations: 144.9 kB / 1.515 GB, free: 15.68 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 7.107e-05/1.449, allocations: 39.83 kB / 1.515 GB, free: 15.64 MB / 0.9168 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/1.449, allocations: 15.73 kB / 1.515 GB, free: 15.62 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007742/1.45, allocations: 0.5951 MB / 1.516 GB, free: 14.93 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/1.45, allocations: 36.06 kB / 1.516 GB, free: 14.89 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=5): time 2.835e-06/1.45, allocations: 0 / 1.516 GB, free: 14.89 MB / 0.9168 GB Notification: Performance of matching and sorting (n=7): time 0.0005364/1.45, allocations: 279.4 kB / 1.516 GB, free: 14.57 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/1.45, allocations: 59.39 kB / 1.516 GB, free: 14.5 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/1.451, allocations: 91.3 kB / 1.516 GB, free: 14.41 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.451, allocations: 31.39 kB / 1.516 GB, free: 14.38 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/1.451, allocations: 85.36 kB / 1.516 GB, free: 14.29 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/1.451, allocations: 30.64 kB / 1.516 GB, free: 14.26 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/1.451, allocations: 0 / 1.516 GB, free: 14.26 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0001079/1.451, allocations: 321.9 kB / 1.516 GB, free: 13.94 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/1.451, allocations: 10.5 kB / 1.516 GB, free: 13.93 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/1.451, allocations: 42.53 kB / 1.516 GB, free: 13.88 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.841e-05/1.451, allocations: 28.98 kB / 1.517 GB, free: 13.86 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/1.451, allocations: 0 / 1.517 GB, free: 13.86 MB / 0.9168 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001199/1.451, allocations: 80.42 kB / 1.517 GB, free: 13.78 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.451, allocations: 4 kB / 1.517 GB, free: 13.77 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/1.451, allocations: 4 kB / 1.517 GB, free: 13.77 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/1.451, allocations: 3.906 kB / 1.517 GB, free: 13.77 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.814e-05/1.451, allocations: 19.98 kB / 1.517 GB, free: 13.75 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/1.451, allocations: 4 kB / 1.517 GB, free: 13.74 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/1.451, allocations: 4.125 kB / 1.517 GB, free: 13.74 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-06/1.451, allocations: 9 kB / 1.517 GB, free: 13.73 MB / 0.9168 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 (12): * Single equations (assignments): 12 * 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.734e-05/1.451, allocations: 108.8 kB / 1.517 GB, free: 13.62 MB / 0.9168 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/1.451, allocations: 9.625 kB / 1.517 GB, free: 13.61 MB / 0.9168 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/1.451, allocations: 6.062 kB / 1.517 GB, free: 13.61 MB / 0.9168 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.451, allocations: 4 kB / 1.517 GB, free: 13.61 MB / 0.9168 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.451, allocations: 0 / 1.517 GB, free: 13.61 MB / 0.9168 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.451, allocations: 0 / 1.517 GB, free: 13.61 MB / 0.9168 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/1.452, allocations: 150 kB / 1.517 GB, free: 13.43 MB / 0.9168 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.452, allocations: 4 kB / 1.517 GB, free: 13.42 MB / 0.9168 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.079e-05/1.452, allocations: 16.73 kB / 1.517 GB, free: 13.41 MB / 0.9168 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/1.452, allocations: 0 / 1.517 GB, free: 13.41 MB / 0.9168 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.452, allocations: 3.906 kB / 1.517 GB, free: 13.4 MB / 0.9168 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.452, allocations: 0 / 1.517 GB, free: 13.4 MB / 0.9168 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.452, allocations: 4 kB / 1.517 GB, free: 13.4 MB / 0.9168 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001671/1.452, allocations: 164.6 kB / 1.517 GB, free: 13.23 MB / 0.9168 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002442/1.452, allocations: 0.553 MB / 1.518 GB, free: 12.68 MB / 0.9168 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/1.452, allocations: 81.3 kB / 1.518 GB, free: 12.58 MB / 0.9168 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/1.452, allocations: 7.891 kB / 1.518 GB, free: 12.57 MB / 0.9168 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.452, allocations: 3.688 kB / 1.518 GB, free: 12.57 MB / 0.9168 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/1.452, allocations: 13.42 kB / 1.518 GB, free: 12.56 MB / 0.9168 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/1.452, allocations: 0 / 1.518 GB, free: 12.56 MB / 0.9168 GB Notification: Performance of sort global known variables: time 3.304e-05/1.453, allocations: 82.66 kB / 1.518 GB, free: 12.48 MB / 0.9168 GB Notification: Performance of remove unused functions: time 0.000787/1.453, allocations: 19.98 kB / 1.518 GB, free: 12.46 MB / 0.9168 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001671/1.454, allocations: 122.6 kB / 1.518 GB, free: 12.34 MB / 0.9168 GB Notification: Performance of simCode: created initialization part: time 9.524e-05/1.454, allocations: 39.17 kB / 1.518 GB, free: 12.3 MB / 0.9168 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.454, allocations: 0 / 1.518 GB, free: 12.3 MB / 0.9168 GB Notification: Performance of simCode: created simulation system equations: time 2.192e-05/1.454, allocations: 15.25 kB / 1.518 GB, free: 12.29 MB / 0.9168 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/1.454, allocations: 10.27 kB / 1.518 GB, free: 12.29 MB / 0.9168 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005091/1.454, allocations: 263.2 kB / 1.518 GB, free: 12.02 MB / 0.9168 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000268/1.455, allocations: 0.703 MB / 1.519 GB, free: 11.3 MB / 0.9168 GB Notification: Performance of SimCode: time 3.11e-07/1.455, allocations: 0 / 1.519 GB, free: 11.3 MB / 0.9168 GB (rm -f AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe >> ../files/AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_latest_AixLib_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 AixLib_latest_AixLib_Media_Examples_WaterDerivativeCheck.fmu > AixLib_latest_AixLib.Media.Examples.WaterDerivativeCheck.pipe 2>&1)