Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Media.Examples.AirDerivativeCheck.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.AirDerivativeCheck,fileNamePrefix="AixLib_AixLib_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Media.Examples.AirDerivativeCheck,fileNamePrefix="AixLib_AixLib_Media_Examples_AirDerivativeCheck",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.922/1.922, allocations: 265 MB / 272.3 MB, free: 8.824 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.001592/0.001592, allocations: 193.2 kB / 329.7 MB, free: 372 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.672/1.672, allocations: 221.4 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.00118/0.00118, allocations: 100.5 kB / 0.6993 GB, free: 2.641 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.056/0.056, allocations: 11.89 MB / 0.816 GB, free: 65.57 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.0006066/0.0006068, allocations: 13.31 kB / 0.924 GB, free: 86.99 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.3248/0.3254, allocations: 117.8 MB / 1.039 GB, free: 9.176 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.6199, allocations: 110.2 MB / 1.147 GB, free: 10.85 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.074/5.694, allocations: 1.73 GB / 2.877 GB, free: 83.88 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/5.694, allocations: 75.42 kB / 2.877 GB, free: 83.8 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.06159/5.756, allocations: 29.44 MB / 2.906 GB, free: 54.35 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/5.756, allocations: 12 kB / 2.906 GB, free: 54.34 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/5.756, allocations: 35.86 kB / 2.906 GB, free: 54.3 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/5.756, allocations: 170.9 kB / 2.906 GB, free: 54.1 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/5.756, allocations: 4 kB / 2.906 GB, free: 54.09 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/5.756, allocations: 11.91 kB / 2.906 GB, free: 54.08 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001101/5.756, allocations: 31.98 kB / 2.906 GB, free: 54.05 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/5.757, allocations: 92.97 kB / 2.906 GB, free: 53.94 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/5.757, allocations: 0 / 2.906 GB, free: 53.94 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/5.757, allocations: 0 / 2.906 GB, free: 53.94 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/5.757, allocations: 4 kB / 2.906 GB, free: 53.94 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006943/5.757, allocations: 0.5346 MB / 2.907 GB, free: 53.35 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/5.757, allocations: 93.5 kB / 2.907 GB, free: 53.22 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.976e-05/5.758, allocations: 34.06 kB / 2.907 GB, free: 53.18 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/5.758, allocations: 7.938 kB / 2.907 GB, free: 53.17 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/5.758, allocations: 34.56 kB / 2.907 GB, free: 53.13 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=10): time 1.833e-06/5.758, allocations: 0 / 2.907 GB, free: 53.13 MB / 0.9324 GB Notification: Performance of matching and sorting (n=14): time 0.000877/5.758, allocations: 362.2 kB / 2.907 GB, free: 52.72 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/5.759, allocations: 128.5 kB / 2.907 GB, free: 52.57 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.563e-05/5.759, allocations: 101 kB / 2.907 GB, free: 52.46 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/5.759, allocations: 33.64 kB / 2.907 GB, free: 52.42 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/5.759, allocations: 88.03 kB / 2.908 GB, free: 52.33 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/5.759, allocations: 51.2 kB / 2.908 GB, free: 52.28 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.301e-06/5.759, allocations: 6.719 kB / 2.908 GB, free: 52.28 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 7.662e-05/5.759, allocations: 322.8 kB / 2.908 GB, free: 51.95 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/5.759, allocations: 28.36 kB / 2.908 GB, free: 51.92 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/5.759, allocations: 72.25 kB / 2.908 GB, free: 51.83 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/5.759, allocations: 41.09 kB / 2.908 GB, free: 51.79 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/5.759, allocations: 3.906 kB / 2.908 GB, free: 51.79 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001907/5.759, allocations: 136.8 kB / 2.908 GB, free: 51.65 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/5.759, allocations: 4 kB / 2.908 GB, free: 51.65 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/5.759, allocations: 0 / 2.908 GB, free: 51.65 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/5.759, allocations: 4.188 kB / 2.908 GB, free: 51.64 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/5.759, allocations: 32.14 kB / 2.908 GB, free: 51.61 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/5.759, allocations: 11.94 kB / 2.908 GB, free: 51.6 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.176e-05/5.76, allocations: 0 / 2.908 GB, free: 51.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/5.76, allocations: 11.98 kB / 2.908 GB, free: 51.59 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/5.76, allocations: 108.8 kB / 2.908 GB, free: 51.48 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/5.76, allocations: 7.906 kB / 2.908 GB, free: 51.47 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/5.76, allocations: 16.05 kB / 2.908 GB, free: 51.45 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/5.76, allocations: 0 / 2.908 GB, free: 51.45 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/5.76, allocations: 7.906 kB / 2.908 GB, free: 51.45 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/5.76, allocations: 0 / 2.908 GB, free: 51.45 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/5.76, allocations: 170.2 kB / 2.908 GB, free: 51.24 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/5.76, allocations: 4 kB / 2.909 GB, free: 51.24 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/5.76, allocations: 31.92 kB / 2.909 GB, free: 51.21 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/5.76, allocations: 0 / 2.909 GB, free: 51.21 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/5.76, allocations: 4 kB / 2.909 GB, free: 51.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/5.76, allocations: 0 / 2.909 GB, free: 51.2 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/5.76, allocations: 3.062 kB / 2.909 GB, free: 51.2 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003323/5.761, allocations: 486.1 kB / 2.909 GB, free: 50.7 MB / 0.9324 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004878/5.761, allocations: 0.8834 MB / 2.91 GB, free: 49.77 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 6.828e-05/5.761, allocations: 93.09 kB / 2.91 GB, free: 49.66 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/5.761, allocations: 3.906 kB / 2.91 GB, free: 49.66 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/5.762, allocations: 4 kB / 2.91 GB, free: 49.66 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/5.762, allocations: 11.98 kB / 2.91 GB, free: 49.64 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/5.762, allocations: 8 kB / 2.91 GB, free: 49.64 MB / 0.9324 GB Notification: Performance of sort global known variables: time 3.649e-05/5.762, allocations: 91.2 kB / 2.91 GB, free: 49.55 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.001115/5.763, allocations: 91.98 kB / 2.91 GB, free: 49.46 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0009972/5.764, allocations: 0.6537 MB / 2.911 GB, free: 48.82 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0001911/5.764, allocations: 67.92 kB / 2.911 GB, free: 48.75 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.764, allocations: 4 kB / 2.911 GB, free: 48.75 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/5.764, allocations: 40.31 kB / 2.911 GB, free: 48.71 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/5.765, allocations: 18.7 kB / 2.911 GB, free: 48.69 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/5.765, allocations: 427.2 kB / 2.911 GB, free: 48.25 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/5.766, allocations: 0.7231 MB / 2.912 GB, free: 47.5 MB / 0.9324 GB Notification: Performance of SimCode: time 3.61e-07/5.766, allocations: 3.938 kB / 2.912 GB, free: 47.5 MB / 0.9324 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Media.Examples.AirDerivativeCheck/AixLib_AixLib_Media_Examples_AirDerivativeCheck.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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_FMU.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_FMU.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck.o AixLib_AixLib_Media_Examples_AirDerivativeCheck.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_functions.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_functions.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_functions.c:1: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_functions.h:3: In file included from include/meta/meta_modelica.h:49: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_records.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_records.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_records.c:3: In file included from include/meta/meta_modelica.h:49: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_01exo.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_01exo.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_01exo.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_02nls.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_02nls.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_02nls.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_03lsy.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_03lsy.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_03lsy.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_04set.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_04set.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_04set.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_05evt.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_05evt.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_05evt.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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); ^ 2 warnings generated. 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_Media_Examples_AirDerivativeCheck -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_Media_Examples_AirDerivativeCheck_06inz.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.c In file included from AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.c:2: In file included from ./AixLib_AixLib_Media_Examples_AirDerivativeCheck_model.h:4: 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_Media_Examples_AirDerivativeCheck_06inz.c:21:80: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.c:21:113: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[16] /* cpCod DUMMY_STATE */ = (1006.0) * (1.0 - $Pstate$PX$lB1$rB) + (1860.0) * ($Pstate$PX$lB1$rB); ^ AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.c:47:91: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.c:47:135: error: use of undeclared identifier '$Pstate$PX$lB1$rB' data->localData[0]->realVars[17] /* cvCod DUMMY_STATE */ = (718.9487750470213) * (1.0 - $Pstate$PX$lB1$rB) + (1398.476670914912) * ($Pstate$PX$lB1$rB); ^ 2 warnings and 4 errors generated. make: *** [: AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Media.Examples.AirDerivativeCheck/AixLib_AixLib_Media_Examples_AirDerivativeCheck.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_Media_Examples_AirDerivativeCheck.def AixLib_AixLib_Media_Examples_AirDerivativeCheck.o AixLib_AixLib_Media_Examples_AirDerivativeCheck.a AixLib_AixLib_Media_Examples_AirDerivativeCheck.so AixLib_AixLib_Media_Examples_AirDerivativeCheck_FMU.o AixLib_AixLib_Media_Examples_AirDerivativeCheck.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_functions.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_records.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_01exo.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_02nls.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_03lsy.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_04set.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_05evt.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_06inz.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_07dly.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_08bnd.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_09alg.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_10asr.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_11mix.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_12jac.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_13opt.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_14lnz.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_15syn.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_16dae.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_17inl.o AixLib_AixLib_Media_Examples_AirDerivativeCheck_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