Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Obsolete.Year2022.Examples.NcDataReader.conf.json 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/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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) 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-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AixLib.Obsolete.Year2022.Examples.NcDataReader,fileNamePrefix="AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Obsolete.Year2022.Examples.NcDataReader,fileNamePrefix="AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007476/0.007476, allocations: 104.7 kB / 15.74 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 193.5 kB / 16.67 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 4.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1932/0.1932, allocations: 12.02 MB / 302.6 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005378/0.000538, allocations: 31.92 kB / 355.7 MB, free: 3.641 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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/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/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/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398: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/package.mo): time 1.913/1.913, allocations: 268.1 MB / 0.661 GB, free: 0.6328 MB / 462.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002299/0.002299, allocations: 115.8 kB / 0.8867 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2591, allocations: 108.4 MB / 0.9925 GB, free: 4.34 MB / 0.7013 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2022.Examples.NcDataReader): time 0.00289/0.262, allocations: 1.322 MB / 0.9938 GB, free: 3.004 MB / 0.7013 GB Warning: NcDataReader2 requested package Modelica of version 3.2.3. Modelica 4.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(NcDataReader2, Modelica, "4.0.0") to run the conversion script or proceed with potential issues as a result. Notification: Automatically loaded package NcDataReader2 2.5.0 due to usage. Notification: Performance of NFInst.instExpressions: time 0.03955/0.3016, allocations: 20.64 MB / 1.014 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.3017, allocations: 0 / 1.014 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.3019, allocations: 11.94 kB / 1.014 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3021, allocations: 19.91 kB / 1.014 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001592/0.3023, allocations: 23.75 kB / 1.014 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.3025, allocations: 43.91 kB / 1.014 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.3026, allocations: 27.95 kB / 1.014 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.506e-05/0.3027, allocations: 19.92 kB / 1.014 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.3028, allocations: 15.94 kB / 1.014 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3029, allocations: 4 kB / 1.014 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.626e-05/0.3029, allocations: 23.98 kB / 1.014 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.842e-05/0.303, allocations: 23.86 kB / 1.014 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.37e-05/0.3031, allocations: 19.86 kB / 1.014 GB, free: 14.3 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2022/Utilities/NcDataReader.mo:10:5-10:20:writable] Error: Variable True not found in scope NcDataReader. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2022/Utilities/NcDataReader.mo:15:5-15:20:writable] Error: Variable True not found in scope NcDataReader. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Obsolete/Year2022/Utilities/NcDataReader.mo:20:5-20:20:writable] Error: Variable True not found in scope NcDataReader. Notification: Performance of NFConvertDAE.convert: time 0.00133/0.3044, allocations: 99.73 kB / 1.014 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3044, allocations: 0 / 1.014 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3044, allocations: 0 / 1.014 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.3044, allocations: 0 / 1.014 GB, free: 14.21 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005305/0.305, allocations: 360.8 kB / 1.015 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.305, allocations: 12.03 kB / 1.015 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.992e-05/0.3051, allocations: 34.75 kB / 1.015 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.3051, allocations: 12.83 kB / 1.015 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3054, allocations: 176.4 kB / 1.015 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3054, allocations: 4.375 kB / 1.015 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.3054, allocations: 4.375 kB / 1.015 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.3056, allocations: 93.59 kB / 1.015 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.3056, allocations: 3.938 kB / 1.015 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3056, allocations: 0 / 1.015 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3056, allocations: 0 / 1.015 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.3057, allocations: 35.92 kB / 1.015 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.3063, allocations: 0.5402 MB / 1.016 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.3065, allocations: 90.42 kB / 1.016 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.342e-05/0.3065, allocations: 35.48 kB / 1.016 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.247e-05/0.3066, allocations: 0 / 1.016 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.3066, allocations: 38.5 kB / 1.016 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3066, allocations: 4 kB / 1.016 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002908/0.3069, allocations: 93.44 kB / 1.016 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.307, allocations: 132.5 kB / 1.016 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3071, allocations: 113.8 kB / 1.016 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.3071, allocations: 25.7 kB / 1.016 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/0.3072, allocations: 89 kB / 1.016 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.3072, allocations: 15.81 kB / 1.016 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.608e-05/0.3073, allocations: 17.72 kB / 1.016 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3074, allocations: 326.8 kB / 1.016 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.3074, allocations: 11.94 kB / 1.016 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.154e-05/0.3075, allocations: 39.42 kB / 1.017 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.3076, allocations: 59.36 kB / 1.017 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3076, allocations: 0 / 1.017 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.3077, allocations: 77.55 kB / 1.017 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.3077, allocations: 4 kB / 1.017 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3077, allocations: 0 / 1.017 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3078, allocations: 4 kB / 1.017 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.863e-05/0.3078, allocations: 8.109 kB / 1.017 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3079, allocations: 8 kB / 1.017 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.3079, allocations: 4 kB / 1.017 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.3079, allocations: 4 kB / 1.017 GB, free: 11.43 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (NcDataReader_test.yAttInt[1],NcDataReader_test.yAttInt[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.308, allocations: 121.8 kB / 1.017 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.3081, allocations: 7.906 kB / 1.017 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.3082, allocations: 11.53 kB / 1.017 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3082, allocations: 0 / 1.017 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3082, allocations: 4 kB / 1.017 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3082, allocations: 4 kB / 1.017 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000358/0.3086, allocations: 177.6 kB / 1.017 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3086, allocations: 4 kB / 1.017 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.3086, allocations: 11.94 kB / 1.017 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3086, allocations: 4 kB / 1.017 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.3086, allocations: 0 / 1.017 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3086, allocations: 4 kB / 1.017 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3087, allocations: 0 / 1.017 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.3089, allocations: 405.3 kB / 1.017 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.309, allocations: 88.95 kB / 1.017 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.309, allocations: 3.984 kB / 1.017 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.3091, allocations: 0 / 1.017 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3092, allocations: 4 kB / 1.017 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3092, allocations: 4 kB / 1.018 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.216e-05/0.3092, allocations: 99.2 kB / 1.018 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3092, allocations: 0 / 1.018 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003561/0.3096, allocations: 16.28 kB / 1.018 GB, free: 10.38 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 (NcDataReader_test.yAttInt[1],NcDataReader_test.yAttInt[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Functions/ncEasyGet1D.mo:3:1-10:16:writable] Warning: Could not find library netcdf in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /usr/lib/x86_64-linux-gnu/libnetcdf.a /lib/x86_64-linux-gnu/libnetcdf.a /usr/lib//libnetcdf.a /lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /usr/lib/x86_64-linux-gnu/libnetcdf.so /lib/x86_64-linux-gnu/libnetcdf.so /usr/lib//libnetcdf.so /lib//libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Functions/ncEasyGetAttributeDouble.mo:3:1-10:29:writable] Warning: Could not find library netcdf in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /usr/lib/x86_64-linux-gnu/libnetcdf.a /lib/x86_64-linux-gnu/libnetcdf.a /usr/lib//libnetcdf.a /lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /usr/lib/x86_64-linux-gnu/libnetcdf.so /lib/x86_64-linux-gnu/libnetcdf.so /usr/lib//libnetcdf.so /lib//libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.so [/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Functions/ncEasyGetAttributeLong.mo:3:1-10:27:writable] Warning: Could not find library netcdf in either of: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /usr/lib/x86_64-linux-gnu/libnetcdf.a /lib/x86_64-linux-gnu/libnetcdf.a /usr/lib//libnetcdf.a /lib//libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.a /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.a /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /usr/lib/x86_64-linux-gnu/libnetcdf.so /lib/x86_64-linux-gnu/libnetcdf.so /usr/lib//libnetcdf.so /lib//libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libnetcdf.so /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib//libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libnetcdf.so /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/libnetcdf.so Notification: Performance of Backend phase and start with SimCode phase: time 0.001896/0.3115, allocations: 1.062 MB / 1.019 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000151/0.3117, allocations: 39.92 kB / 1.019 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3117, allocations: 0 / 1.019 GB, free: 9.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.737e-05/0.3117, allocations: 24.36 kB / 1.019 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/0.3123, allocations: 8.844 kB / 1.019 GB, free: 9.281 MB / 0.7325 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.3141, allocations: 1.594 MB / 1.02 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002942/0.3144, allocations: 0.6885 MB / 1.021 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.64e-05/0.3144, allocations: 16.11 kB / 1.021 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.711e-05/0.3145, allocations: 15.44 kB / 1.021 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3145, allocations: 0 / 1.021 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02198/0.3365, allocations: 1.668 MB / 1.023 GB, free: 5.258 MB / 0.7325 GB Error: Error building simulator. Build log: cmd: cd 'AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader.fmutmp/sources/' && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER='clang' -DCMAKE_CXX_COMPILER='clang++ -std=c++17' .. && cmake --build . --parallel -j1 --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 14.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- FMI2 include directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Building for FMI platform linux64 -- Install directory: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Obsolete.Year2022.Examples.NcDataReader/AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader.fmutmp/sources/../binaries/linux64 -- Linking /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libncDataReader2.a -- Linking netcdf-NOTFOUND -- CVODE: Not linked -- Not using FMI2_FUNCTION_PREFIX -- Installing dynamic dependencies from list: /home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64/libncDataReader2.a;netcdf-NOTFOUND -- Configuring done CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: netcdf linked by target "AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader" in directory /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/AixLib_AixLib.Obsolete.Year2022.Examples.NcDataReader/AixLib_AixLib_Obsolete_Year2022_Examples_NcDataReader.fmutmp/sources -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_COMPILER CMake Generate step failed. Build files cannot be regenerated correctly.