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.008238/0.008238, allocations: 103.2 kB / 15.73 MB, free: 6.047 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.001782/0.001782, allocations: 189.3 kB / 16.67 MB, free: 5.969 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0614/0.0614, allocations: 12.05 MB / 302.6 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004638/0.0004638, allocations: 27.97 kB / 355.7 MB, free: 13.96 MB / 302.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.686/1.686, allocations: 268.2 MB / 0.6611 GB, free: 2.602 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 123.8 kB / 0.8868 GB, free: 5.047 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.833, allocations: 108.4 MB / 0.9926 GB, free: 11.59 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2022.Examples.NcDataReader): time 0.003027/0.8361, allocations: 1.339 MB / 0.9939 GB, free: 10.53 MB / 0.6857 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.04074/0.8768, allocations: 20.58 MB / 1.014 GB, free: 0.6953 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.877, allocations: 4 kB / 1.014 GB, free: 0.6914 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.8772, allocations: 11.88 kB / 1.014 GB, free: 0.6797 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.8774, allocations: 23.91 kB / 1.014 GB, free: 0.6562 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.8775, allocations: 19.92 kB / 1.014 GB, free: 0.6367 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.8776, allocations: 47.84 kB / 1.014 GB, free: 0.5898 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/0.8778, allocations: 35.95 kB / 1.014 GB, free: 0.5547 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.8778, allocations: 15.92 kB / 1.014 GB, free: 0.5391 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.8779, allocations: 23.92 kB / 1.014 GB, free: 0.5156 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.878, allocations: 4 kB / 1.014 GB, free: 0.5117 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-05/0.878, allocations: 12 kB / 1.014 GB, free: 0.5 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.8781, allocations: 15.98 kB / 1.014 GB, free: 496 kB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.815e-05/0.8781, allocations: 19.86 kB / 1.014 GB, free: 476 kB / 0.6857 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.0009828/0.8791, allocations: 95.73 kB / 1.014 GB, free: 380 kB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.8791, allocations: 0 / 1.014 GB, free: 380 kB / 0.6857 GB Notification: Performance of FrontEnd: time 2.856e-06/0.8791, allocations: 4 kB / 1.014 GB, free: 376 kB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.77e-06/0.8791, allocations: 0 / 1.014 GB, free: 376 kB / 0.6857 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.0003783/0.8795, allocations: 355.3 kB / 1.015 GB, free: 15.97 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8796, allocations: 15.97 kB / 1.015 GB, free: 15.95 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.402e-05/0.8796, allocations: 38.73 kB / 1.015 GB, free: 15.91 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.8796, allocations: 4.938 kB / 1.015 GB, free: 15.9 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.8799, allocations: 184.2 kB / 1.015 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.8799, allocations: 8.375 kB / 1.015 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.8799, allocations: 384 / 1.015 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.8801, allocations: 89.66 kB / 1.015 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.8801, allocations: 3.938 kB / 1.015 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.8801, allocations: 0 / 1.015 GB, free: 15.57 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8801, allocations: 7.938 kB / 1.015 GB, free: 15.56 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.088e-05/0.8802, allocations: 35.92 kB / 1.015 GB, free: 15.52 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.8807, allocations: 0.5441 MB / 1.016 GB, free: 14.92 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.8809, allocations: 86.44 kB / 1.016 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.8809, allocations: 43.42 kB / 1.016 GB, free: 14.74 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.8809, allocations: 0 / 1.016 GB, free: 14.74 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.881, allocations: 38.56 kB / 1.016 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.881, allocations: 0 / 1.016 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of matching and sorting (n=4): time 0.0002623/0.8812, allocations: 89.53 kB / 1.016 GB, free: 14.6 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.8814, allocations: 132.5 kB / 1.016 GB, free: 14.44 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8815, allocations: 117.8 kB / 1.016 GB, free: 14.32 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.8815, allocations: 26.2 kB / 1.016 GB, free: 14.29 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.8816, allocations: 96.12 kB / 1.016 GB, free: 14.19 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.8816, allocations: 7.906 kB / 1.016 GB, free: 14.18 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.8816, allocations: 13.72 kB / 1.016 GB, free: 14.16 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.8818, allocations: 326.8 kB / 1.017 GB, free: 13.83 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.8818, allocations: 8 kB / 1.017 GB, free: 13.82 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.295e-05/0.8818, allocations: 44.44 kB / 1.017 GB, free: 13.77 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.851e-05/0.8819, allocations: 55.36 kB / 1.017 GB, free: 13.7 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8819, allocations: 384 / 1.017 GB, free: 13.7 MB / 0.7013 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001059/0.882, allocations: 77.52 kB / 1.017 GB, free: 13.62 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.8821, allocations: 4 kB / 1.017 GB, free: 13.62 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8821, allocations: 4.125 kB / 1.017 GB, free: 13.61 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.8821, allocations: 7.938 kB / 1.017 GB, free: 13.61 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.075e-05/0.8822, allocations: 11.98 kB / 1.017 GB, free: 13.59 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.8822, allocations: 0 / 1.017 GB, free: 13.59 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.455e-05/0.8822, allocations: 0 / 1.017 GB, free: 13.59 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8822, allocations: 11.98 kB / 1.017 GB, free: 13.58 MB / 0.7013 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.0001121/0.8823, allocations: 129.7 kB / 1.017 GB, free: 13.45 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.042e-05/0.8824, allocations: 7.844 kB / 1.017 GB, free: 13.44 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.8825, allocations: 7.531 kB / 1.017 GB, free: 13.42 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.8825, allocations: 4 kB / 1.017 GB, free: 13.42 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8825, allocations: 4 kB / 1.017 GB, free: 13.41 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.8825, allocations: 0 / 1.017 GB, free: 13.41 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003293/0.8828, allocations: 185.5 kB / 1.017 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8828, allocations: 0 / 1.017 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.8829, allocations: 8 kB / 1.017 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8829, allocations: 0 / 1.017 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.8829, allocations: 4.094 kB / 1.017 GB, free: 13.17 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8829, allocations: 4 kB / 1.017 GB, free: 13.17 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8829, allocations: 0 / 1.017 GB, free: 13.17 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.8831, allocations: 401.2 kB / 1.017 GB, free: 12.76 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 4.165e-05/0.8832, allocations: 89 kB / 1.018 GB, free: 12.65 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.8832, allocations: 0 / 1.018 GB, free: 12.65 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.8833, allocations: 0 / 1.018 GB, free: 12.65 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.8834, allocations: 8 kB / 1.018 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.8834, allocations: 8 kB / 1.018 GB, free: 12.64 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 4.911e-05/0.8834, allocations: 95.2 kB / 1.018 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8834, allocations: 0 / 1.018 GB, free: 12.54 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0003619/0.8838, allocations: 12 kB / 1.018 GB, free: 12.53 MB / 0.7013 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.00148/0.8853, allocations: 1.064 MB / 1.019 GB, free: 11.51 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.000139/0.8854, allocations: 35.92 kB / 1.019 GB, free: 11.48 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8855, allocations: 0 / 1.019 GB, free: 11.48 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 4.271e-05/0.8855, allocations: 28.17 kB / 1.019 GB, free: 11.45 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.8861, allocations: 11.98 kB / 1.019 GB, free: 11.44 MB / 0.7013 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.001594/0.8877, allocations: 1.581 MB / 1.02 GB, free: 9.754 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.888, allocations: 0.6924 MB / 1.021 GB, free: 9.035 MB / 0.7013 GB Notification: Performance of simCode: alias equations: time 4.692e-05/0.8881, allocations: 23.83 kB / 1.021 GB, free: 9.012 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.8881, allocations: 19.42 kB / 1.021 GB, free: 8.992 MB / 0.7013 GB Notification: Performance of SimCode: time 3.61e-07/0.8881, allocations: 0 / 1.021 GB, free: 8.992 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.9083, allocations: 1.674 MB / 1.023 GB, free: 7.402 MB / 0.7013 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.