Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpHeadCalculation.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.testPumpHeadCalculation,fileNamePrefix="AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpHeadCalculation,fileNamePrefix="AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation",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.737/1.737, allocations: 265 MB / 272.3 MB, free: 8.723 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.001695/0.001695, allocations: 185.3 kB / 329.7 MB, free: 284 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.514/1.514, allocations: 221.3 MB / 0.5941 GB, free: 14.51 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.001072/0.001073, allocations: 98.61 kB / 0.6993 GB, free: 2.637 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05327/0.05327, allocations: 11.89 MB / 0.816 GB, free: 65.49 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.0005045/0.0005045, allocations: 15.62 kB / 0.924 GB, free: 86.8 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2966/0.2971, allocations: 117.8 MB / 1.039 GB, free: 9.066 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.5919, allocations: 110.2 MB / 1.147 GB, free: 10.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7359/1.328, allocations: 136.6 MB / 1.28 GB, free: 53.34 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.328, allocations: 71.03 kB / 1.28 GB, free: 53.3 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.03177/1.36, allocations: 14.82 MB / 1.295 GB, free: 40.38 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.36, allocations: 16 kB / 1.295 GB, free: 40.36 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/1.36, allocations: 63.16 kB / 1.295 GB, free: 40.3 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/1.361, allocations: 385 kB / 1.295 GB, free: 39.9 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/1.361, allocations: 4 kB / 1.295 GB, free: 39.9 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/1.361, allocations: 4 kB / 1.295 GB, free: 39.89 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002335/1.361, allocations: 162.8 kB / 1.295 GB, free: 39.77 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/1.361, allocations: 170.8 kB / 1.295 GB, free: 39.62 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.361, allocations: 0 / 1.295 GB, free: 39.62 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/1.361, allocations: 0 / 1.295 GB, free: 39.62 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/1.361, allocations: 0 / 1.295 GB, free: 39.62 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/1.362, allocations: 385 kB / 1.296 GB, free: 39.27 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002159/1.362, allocations: 192.8 kB / 1.296 GB, free: 39.12 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/1.362, allocations: 143.7 kB / 1.296 GB, free: 39.01 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/1.362, allocations: 96.78 kB / 1.296 GB, free: 38.9 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/1.362, allocations: 258.9 kB / 1.296 GB, free: 38.65 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/1.362, allocations: 3.984 kB / 1.296 GB, free: 38.65 MB / 0.7293 GB Notification: Performance of matching and sorting (n=18): time 0.0006051/1.363, allocations: 392.1 kB / 1.297 GB, free: 38.31 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/1.363, allocations: 110.1 kB / 1.297 GB, free: 38.18 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005802/1.364, allocations: 0.6557 MB / 1.297 GB, free: 37.64 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.364, allocations: 29.64 kB / 1.298 GB, free: 37.61 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 5.628e-05/1.364, allocations: 157.8 kB / 1.298 GB, free: 37.47 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/1.364, allocations: 41.91 kB / 1.298 GB, free: 37.44 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/1.364, allocations: 4 kB / 1.298 GB, free: 37.43 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 4.623e-05/1.364, allocations: 316.8 kB / 1.298 GB, free: 37.12 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.364, allocations: 122.9 kB / 1.298 GB, free: 37.03 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/1.364, allocations: 127.7 kB / 1.298 GB, free: 36.93 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000228/1.364, allocations: 137 kB / 1.298 GB, free: 36.82 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.364, allocations: 0 / 1.298 GB, free: 36.82 MB / 0.7293 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004564/1.365, allocations: 390.6 kB / 1.299 GB, free: 36.49 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.365, allocations: 4 kB / 1.299 GB, free: 36.49 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.365, allocations: 3.812 kB / 1.299 GB, free: 36.49 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.365, allocations: 4 kB / 1.299 GB, free: 36.48 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/1.365, allocations: 19.92 kB / 1.299 GB, free: 36.46 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/1.365, allocations: 9.5 kB / 1.299 GB, free: 36.46 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/1.365, allocations: 11.84 kB / 1.299 GB, free: 36.45 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/1.365, allocations: 15.38 kB / 1.299 GB, free: 36.44 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 (10): * Single equations (assignments): 8 * 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 9.953e-05/1.365, allocations: 186.8 kB / 1.299 GB, free: 36.24 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/1.365, allocations: 71.14 kB / 1.299 GB, free: 36.17 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/1.366, allocations: 445.9 kB / 1.299 GB, free: 35.8 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.366, allocations: 4 kB / 1.299 GB, free: 35.8 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.366, allocations: 0 / 1.299 GB, free: 35.8 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.366, allocations: 4 kB / 1.3 GB, free: 35.8 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/1.366, allocations: 405 kB / 1.3 GB, free: 35.43 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.366, allocations: 0 / 1.3 GB, free: 35.43 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/1.366, allocations: 15.98 kB / 1.3 GB, free: 35.42 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.366, allocations: 0 / 1.3 GB, free: 35.42 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/1.366, allocations: 8 kB / 1.3 GB, free: 35.41 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/1.366, allocations: 3.938 kB / 1.3 GB, free: 35.41 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.366, allocations: 0 / 1.3 GB, free: 35.41 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005544/1.367, allocations: 448 kB / 1.3 GB, free: 35.02 MB / 0.7293 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006509/1.368, allocations: 0.8168 MB / 1.301 GB, free: 34.25 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/1.368, allocations: 135.7 kB / 1.301 GB, free: 34.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/1.368, allocations: 4 kB / 1.301 GB, free: 34.09 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/1.368, allocations: 15.98 kB / 1.301 GB, free: 34.08 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.711e-05/1.368, allocations: 11.36 kB / 1.301 GB, free: 34.07 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/1.368, allocations: 12 kB / 1.301 GB, free: 34.06 MB / 0.7293 GB Notification: Performance of sort global known variables: time 0.0005368/1.369, allocations: 0.5343 MB / 1.302 GB, free: 33.64 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.001022/1.37, allocations: 119.3 kB / 1.302 GB, free: 33.52 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 (8): * Single equations (assignments): 6 * 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.0005079/1.37, allocations: 208.2 kB / 1.302 GB, free: 33.32 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0003342/1.371, allocations: 294.3 kB / 1.302 GB, free: 33.08 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.371, allocations: 0 / 1.302 GB, free: 33.08 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001726/1.371, allocations: 228.8 kB / 1.303 GB, free: 32.91 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/1.371, allocations: 23.94 kB / 1.303 GB, free: 32.9 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/1.372, allocations: 0.8441 MB / 1.303 GB, free: 32.1 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005073/1.373, allocations: 0.9308 MB / 1.304 GB, free: 31.16 MB / 0.7293 GB Notification: Performance of SimCode: time 2.51e-07/1.373, allocations: 0 / 1.304 GB, free: 31.16 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.testPumpHeadCalculation/AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.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_testPumpHeadCalculation -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_testPumpHeadCalculation_FMU.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c In file included from AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_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_testPumpHeadCalculation_FMU.c:61:17: error: use of undeclared identifier 'i' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:61: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_testPumpHeadCalculation_FMU.c:61:22: error: expected ')' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:61:11: note: to match this '(' sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:61:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:61:34: error: expected function body after function declarator AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:63:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:65:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:67:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:69:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:71:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:73:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:75:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:77:34: warning: missing terminating '"' character [-Winvalid-pp-token] sum_ij(cHQN[i,j] * Q^i * N^j)" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:81:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:82:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:83:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:83:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:83:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:83:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:87:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:88:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:89:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:89:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:89:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:89:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:93:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:94:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:95:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:95:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:95:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:95:27: warning: missing terminating '"' character [-Winvalid-pp-token] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:99:6: error: expected identifier or '(' 0, 0, c1, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:100:6: error: expected identifier or '(' 0, c2, 0, 0, 0; ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:101:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:101:11: error: expected identifier or '(' c3, 0, 0, 0, 0" ^ AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:101:8: error: expected ';' after top level declarator c3, 0, 0, 0, 0" ^ ; AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.c:101: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_testPumpHeadCalculation_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.DataBase.Pumps.PumpPolynomialBased.Examples.testPumpHeadCalculation/AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.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_testPumpHeadCalculation.def AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.a AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.so AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_FMU.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_functions.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_records.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_01exo.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_02nls.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_03lsy.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_04set.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_05evt.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_06inz.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_07dly.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_08bnd.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_09alg.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_10asr.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_11mix.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_12jac.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_13opt.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_14lnz.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_15syn.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_16dae.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_17inl.o AixLib_AixLib_DataBase_Pumps_PumpPolynomialBased_Examples_testPumpHeadCalculation_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