Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpPowerCalculation.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.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpPowerCalculation,fileNamePrefix="AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpPowerCalculation,fileNamePrefix="AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation",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.754/1.754, allocations: 265 MB / 272.3 MB, free: 8.809 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: 185.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.492/1.492, 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.001111/0.001111, allocations: 96.62 kB / 0.6993 GB, free: 2.664 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05356/0.05356, allocations: 11.89 MB / 0.816 GB, free: 65.55 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.000521/0.0005213, allocations: 11.25 kB / 0.924 GB, free: 87.06 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.3063/0.3068, allocations: 117.8 MB / 1.039 GB, free: 9.145 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.6263, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7886/1.415, allocations: 136.2 MB / 1.28 GB, free: 53.88 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/1.415, allocations: 74.23 kB / 1.28 GB, free: 53.84 MB / 0.7293 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Fluid/Movers/PumpsPolynomialBased/BaseClasses/polynomial2D.mo:15:7-17:13:writable] Warning: In component , in relation c[i,j] <> 0.0, <> on Real numbers is only allowed inside functions. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.03103/1.446, allocations: 14.34 MB / 1.294 GB, free: 41.27 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/1.446, allocations: 11.94 kB / 1.294 GB, free: 41.26 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/1.447, allocations: 67.16 kB / 1.294 GB, free: 41.19 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/1.447, allocations: 385.9 kB / 1.294 GB, free: 40.8 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.447, allocations: 4 kB / 1.294 GB, free: 40.79 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/1.447, allocations: 4 kB / 1.294 GB, free: 40.79 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002568/1.447, allocations: 182.3 kB / 1.294 GB, free: 40.64 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002491/1.448, allocations: 186.6 kB / 1.295 GB, free: 40.48 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.448, allocations: 0 / 1.295 GB, free: 40.48 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/1.448, allocations: 0 / 1.295 GB, free: 40.48 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/1.448, allocations: 7.984 kB / 1.295 GB, free: 40.47 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/1.448, allocations: 382 kB / 1.295 GB, free: 40.13 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002224/1.448, allocations: 206.8 kB / 1.295 GB, free: 39.96 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/1.449, allocations: 164.8 kB / 1.295 GB, free: 39.84 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 5.473e-05/1.449, allocations: 4.562 kB / 1.295 GB, free: 39.84 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/1.449, allocations: 267.7 kB / 1.296 GB, free: 39.59 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=17): time 1.964e-06/1.449, allocations: 0 / 1.296 GB, free: 39.59 MB / 0.7293 GB Notification: Performance of matching and sorting (n=17): time 0.0006314/1.45, allocations: 402.7 kB / 1.296 GB, free: 39.24 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/1.45, allocations: 110.8 kB / 1.296 GB, free: 39.11 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006671/1.45, allocations: 0.655 MB / 1.297 GB, free: 38.57 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/1.45, allocations: 29.7 kB / 1.297 GB, free: 38.53 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/1.45, allocations: 161.9 kB / 1.297 GB, free: 38.39 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 5.688e-05/1.45, allocations: 39.05 kB / 1.297 GB, free: 38.36 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/1.45, allocations: 4 kB / 1.297 GB, free: 38.35 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 6.831e-05/1.451, allocations: 309.2 kB / 1.297 GB, free: 38.05 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/1.451, allocations: 138.7 kB / 1.297 GB, free: 37.94 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/1.451, allocations: 134.7 kB / 1.297 GB, free: 37.84 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/1.451, allocations: 144.1 kB / 1.298 GB, free: 37.73 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/1.451, allocations: 0 / 1.298 GB, free: 37.73 MB / 0.7293 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004893/1.452, allocations: 407.7 kB / 1.298 GB, free: 37.38 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.452, allocations: 12 kB / 1.298 GB, free: 37.37 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.452, allocations: 3.984 kB / 1.298 GB, free: 37.36 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/1.452, allocations: 3.906 kB / 1.298 GB, free: 37.36 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.862e-05/1.452, allocations: 8 kB / 1.298 GB, free: 37.35 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/1.452, allocations: 4 kB / 1.298 GB, free: 37.35 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/1.452, allocations: 4 kB / 1.298 GB, free: 37.34 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/1.452, allocations: 15.98 kB / 1.298 GB, free: 37.33 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,speedTable.a,speedTable.b,speedTable.last,$PRE.speedTable.nextEvent,speedTable.nextEvent,speedTable.nextEventScaled,volumeFlowTable.a,volumeFlowTable.b,volumeFlowTable.last,$PRE.volumeFlowTable.nextEvent,volumeFlowTable.nextEvent,volumeFlowTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001281/1.452, allocations: 189.1 kB / 1.298 GB, free: 37.13 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/1.452, allocations: 67.16 kB / 1.298 GB, free: 37.06 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006612/1.453, allocations: 473.2 kB / 1.299 GB, free: 36.67 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.453, allocations: 0 / 1.299 GB, free: 36.67 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.453, allocations: 0 / 1.299 GB, free: 36.67 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.453, allocations: 4 kB / 1.299 GB, free: 36.67 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003697/1.453, allocations: 417.4 kB / 1.299 GB, free: 36.29 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.453, allocations: 4 kB / 1.299 GB, free: 36.29 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.173e-05/1.453, allocations: 10.56 kB / 1.299 GB, free: 36.28 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.453, allocations: 0 / 1.299 GB, free: 36.28 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.81e-05/1.453, allocations: 8 kB / 1.299 GB, free: 36.27 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/1.453, allocations: 4 kB / 1.299 GB, free: 36.27 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.453, allocations: 2.812 kB / 1.299 GB, free: 36.27 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005339/1.454, allocations: 457.6 kB / 1.3 GB, free: 35.87 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005797/1.455, allocations: 0.8311 MB / 1.3 GB, free: 35.09 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 8.643e-05/1.455, allocations: 139.7 kB / 1.301 GB, free: 34.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.407e-05/1.455, allocations: 4 kB / 1.301 GB, free: 34.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/1.455, allocations: 4 kB / 1.301 GB, free: 34.93 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/1.455, allocations: 11.42 kB / 1.301 GB, free: 34.92 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.501e-05/1.455, allocations: 27.42 kB / 1.301 GB, free: 34.89 MB / 0.7293 GB Notification: Performance of sort global known variables: time 0.0004675/1.455, allocations: 0.5289 MB / 1.301 GB, free: 34.47 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001032/1.457, allocations: 110.5 kB / 1.301 GB, free: 34.37 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,speedTable.a,speedTable.b,speedTable.last,speedTable.nextEvent,speedTable.nextEventScaled,volumeFlowTable.a,volumeFlowTable.b,volumeFlowTable.last,volumeFlowTable.nextEvent,volumeFlowTable.nextEventScaled) * Number of discrete states: 12 (speedTable.nextEvent,speedTable.last,speedTable.nextEventScaled,speedTable.b,speedTable.a,$whenCondition1,volumeFlowTable.nextEvent,volumeFlowTable.last,volumeFlowTable.nextEventScaled,volumeFlowTable.b,volumeFlowTable.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 2 * 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.0004344/1.457, allocations: 210.2 kB / 1.301 GB, free: 34.16 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003021/1.457, allocations: 299 kB / 1.302 GB, free: 33.91 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.457, allocations: 0 / 1.302 GB, free: 33.91 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/1.457, allocations: 233.2 kB / 1.302 GB, free: 33.74 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/1.458, allocations: 29.88 kB / 1.302 GB, free: 33.73 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/1.459, allocations: 0.831 MB / 1.303 GB, free: 32.94 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/1.459, allocations: 0.9296 MB / 1.304 GB, free: 32 MB / 0.7293 GB Notification: Performance of SimCode: time 3e-07/1.459, allocations: 0 / 1.304 GB, free: 32 MB / 0.7293 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpPowerCalculation/AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c In file included from AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:17: error: use of undeclared identifier 'i' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:12: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:22: error: expected ')' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:11: note: to match this '(' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:60:34: error: expected function body after function declarator AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:62:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:64:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:66:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:68:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:70:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:72:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:74:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:76:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:80:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:81:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:82:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:82:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:82:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:82:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:86:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:87:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:88:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:88:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:88:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:88:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:92:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:93:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:94:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:94:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:94:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:94:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:98:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:99:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:100:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:100:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:100:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.c:100:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 warnings and 20 errors generated. make: *** [: AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpPowerCalculation/AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.def AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.a AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.so AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_FMU.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_functions.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_records.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_01exo.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_02nls.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_03lsy.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_04set.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_05evt.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_06inz.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_07dly.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_08bnd.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_09alg.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_10asr.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_11mix.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_12jac.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_13opt.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_14lnz.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_15syn.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_16dae.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_17inl.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpPowerCalculation_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o