Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Examples.Polynomial.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.Utilities.Math.Examples.Polynomial,fileNamePrefix="AixLib_AixLib_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Math.Examples.Polynomial,fileNamePrefix="AixLib_AixLib_Utilities_Math_Examples_Polynomial",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.823/1.823, allocations: 265 MB / 272.3 MB, free: 8.711 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.001216/0.001216, allocations: 181.2 kB / 329.7 MB, free: 292 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.686/1.686, allocations: 221.4 MB / 0.5941 GB, free: 14.43 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.0008883/0.0008884, allocations: 108.5 kB / 0.6993 GB, free: 2.57 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05276/0.05276, allocations: 11.91 MB / 0.816 GB, free: 15.34 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.0004142/0.0004143, allocations: 15.97 kB / 0.924 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of FrontEnd - loaded program: time 0.505/0.5054, allocations: 117.8 MB / 1.039 GB, free: 190.6 MB / 0.6668 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.7491, allocations: 110.2 MB / 1.147 GB, free: 80.45 MB / 0.6668 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6276/1.377, allocations: 133.8 MB / 1.277 GB, free: 12.71 MB / 0.6668 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.377, allocations: 70.5 kB / 1.277 GB, free: 12.71 MB / 0.6668 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002755/1.38, allocations: 0.8159 MB / 1.278 GB, free: 12.34 MB / 0.6668 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.38, allocations: 14.55 kB / 1.278 GB, free: 12.34 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/1.38, allocations: 5.781 kB / 1.278 GB, free: 12.34 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/1.38, allocations: 168.2 kB / 1.278 GB, free: 12.14 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/1.38, allocations: 0 / 1.278 GB, free: 12.14 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/1.38, allocations: 0 / 1.278 GB, free: 12.14 MB / 0.6668 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.439e-05/1.38, allocations: 12.95 kB / 1.278 GB, free: 12.14 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.934e-05/1.38, allocations: 40.14 kB / 1.278 GB, free: 12.11 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.38, allocations: 0 / 1.278 GB, free: 12.11 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/1.38, allocations: 3.906 kB / 1.278 GB, free: 12.11 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/1.38, allocations: 4 kB / 1.278 GB, free: 12.1 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/1.381, allocations: 250.5 kB / 1.279 GB, free: 11.87 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/1.381, allocations: 34.88 kB / 1.279 GB, free: 11.84 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.118e-05/1.381, allocations: 11.5 kB / 1.279 GB, free: 11.83 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 4.939e-05/1.381, allocations: 10.25 kB / 1.279 GB, free: 11.83 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/1.381, allocations: 35.72 kB / 1.279 GB, free: 11.79 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/1.381, allocations: 0 / 1.279 GB, free: 11.79 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2): time 0.0002453/1.381, allocations: 44.31 kB / 1.279 GB, free: 11.75 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/1.381, allocations: 52.62 kB / 1.279 GB, free: 11.69 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.905e-05/1.381, allocations: 103.4 kB / 1.279 GB, free: 11.6 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/1.381, allocations: 25.7 kB / 1.279 GB, free: 11.57 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/1.381, allocations: 83.09 kB / 1.279 GB, free: 11.48 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/1.381, allocations: 15.52 kB / 1.279 GB, free: 11.48 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/1.381, allocations: 0 / 1.279 GB, free: 11.48 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/1.382, allocations: 314.5 kB / 1.279 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/1.382, allocations: 10.7 kB / 1.279 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.835e-05/1.382, allocations: 7.281 kB / 1.279 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/1.382, allocations: 10.61 kB / 1.279 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.382, allocations: 0 / 1.279 GB, free: 11.16 MB / 0.6668 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.638e-05/1.382, allocations: 52.77 kB / 1.279 GB, free: 11.12 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/1.382, allocations: 4.484 kB / 1.279 GB, free: 11.12 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.382, allocations: 3.938 kB / 1.279 GB, free: 11.12 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/1.382, allocations: 0 / 1.279 GB, free: 11.12 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/1.382, allocations: 14.88 kB / 1.279 GB, free: 11.12 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/1.382, allocations: 4.031 kB / 1.279 GB, free: 11.11 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.734e-05/1.382, allocations: 10.25 kB / 1.279 GB, free: 11.11 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/1.382, allocations: 0.6562 kB / 1.279 GB, free: 11.11 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 5.984e-05/1.382, allocations: 106.1 kB / 1.28 GB, free: 11 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/1.382, allocations: 4.453 kB / 1.28 GB, free: 11 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/1.382, allocations: 61.02 kB / 1.28 GB, free: 10.96 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/1.382, allocations: 7.906 kB / 1.28 GB, free: 10.96 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.382, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/1.382, allocations: 4.422 kB / 1.28 GB, free: 10.95 MB / 0.6668 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/1.382, allocations: 136.3 kB / 1.28 GB, free: 10.8 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.382, allocations: 0 / 1.28 GB, free: 10.8 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.901e-05/1.383, allocations: 13.23 kB / 1.28 GB, free: 10.8 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.383, allocations: 0.75 kB / 1.28 GB, free: 10.8 MB / 0.6668 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/1.383, allocations: 0 / 1.28 GB, free: 10.8 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/1.383, allocations: 4 kB / 1.28 GB, free: 10.79 MB / 0.6668 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.383, allocations: 8.625 kB / 1.28 GB, free: 10.79 MB / 0.6668 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001112/1.383, allocations: 142.4 kB / 1.28 GB, free: 10.66 MB / 0.6668 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001501/1.383, allocations: 0.5194 MB / 1.28 GB, free: 10.14 MB / 0.6668 GB Notification: Performance of postOpt removeConstants (simulation): time 1.992e-05/1.383, allocations: 77.81 kB / 1.281 GB, free: 10.05 MB / 0.6668 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/1.383, allocations: 4.359 kB / 1.281 GB, free: 10.05 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.899e-05/1.383, allocations: 10.52 kB / 1.281 GB, free: 10.05 MB / 0.6668 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.208e-05/1.383, allocations: 5.062 kB / 1.281 GB, free: 10.05 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/1.383, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.6668 GB Notification: Performance of sort global known variables: time 2.561e-05/1.383, allocations: 87.12 kB / 1.281 GB, free: 9.973 MB / 0.6668 GB Notification: Performance of remove unused functions: time 0.0007861/1.384, allocations: 16.2 kB / 1.281 GB, free: 9.965 MB / 0.6668 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001894/1.384, allocations: 102.4 kB / 1.281 GB, free: 9.879 MB / 0.6668 GB Notification: Performance of simCode: created initialization part: time 9.239e-05/1.384, allocations: 15.36 kB / 1.281 GB, free: 9.879 MB / 0.6668 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.384, allocations: 0 / 1.281 GB, free: 9.879 MB / 0.6668 GB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/1.384, allocations: 15.44 kB / 1.281 GB, free: 9.875 MB / 0.6668 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/1.384, allocations: 4.422 kB / 1.281 GB, free: 9.875 MB / 0.6668 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/1.385, allocations: 60.16 kB / 1.281 GB, free: 9.812 MB / 0.6668 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/1.385, allocations: 0.6964 MB / 1.281 GB, free: 9.105 MB / 0.6668 GB Notification: Performance of SimCode: time 2.8e-07/1.385, allocations: 0 / 1.281 GB, free: 9.105 MB / 0.6668 GB (rm -f AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 AixLib_AixLib_Utilities_Math_Examples_Polynomial.fmu > AixLib_AixLib.Utilities.Math.Examples.Polynomial.pipe 2>&1)