Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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: translateModel(AixLib.Obsolete.Year2022.Examples.NcDataReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader") translateModel(AixLib.Obsolete.Year2022.Examples.NcDataReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=35040,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 104.9 kB / 16.41 MB, free: 6.496 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.001325/0.001325, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.08 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.05752/0.05752, allocations: 12.04 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005608/0.0005606, allocations: 19.97 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/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.4.0-development/package.mo): time 2.202/2.202, allocations: 272.3 MB / 0.6657 GB, free: 18.3 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 111.8 kB / 0.8935 GB, free: 15.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7646/0.767, allocations: 109.1 MB / 1 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Obsolete.Year2022.Examples.NcDataReader): time 0.003253/0.7703, allocations: 1.34 MB / 1.001 GB, free: 7.238 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.04017/0.8105, allocations: 20.57 MB / 1.021 GB, free: 10.81 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.8107, allocations: 3.938 kB / 1.021 GB, free: 10.8 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.8109, allocations: 7.922 kB / 1.021 GB, free: 10.8 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.8111, allocations: 7.938 kB / 1.021 GB, free: 10.79 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001601/0.8113, allocations: 31.91 kB / 1.022 GB, free: 10.76 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.8115, allocations: 43.73 kB / 1.022 GB, free: 10.72 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.8116, allocations: 35.97 kB / 1.022 GB, free: 10.68 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 3.581e-05/0.8117, allocations: 11.94 kB / 1.022 GB, free: 10.67 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.8121, allocations: 19.91 kB / 1.022 GB, free: 10.65 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.8121, allocations: 4 kB / 1.022 GB, free: 10.65 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 9.282e-05/0.8122, allocations: 16 kB / 1.022 GB, free: 10.63 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 5.48e-05/0.8123, allocations: 11.98 kB / 1.022 GB, free: 10.62 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.8123, allocations: 15.88 kB / 1.022 GB, free: 10.61 MB / 0.7013 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.4.0-development/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.4.0-development/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.001235/0.8135, allocations: 107.7 kB / 1.022 GB, free: 10.5 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8136, allocations: 0 / 1.022 GB, free: 10.5 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8136, allocations: 3.938 kB / 1.022 GB, free: 10.5 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.8136, allocations: 0 / 1.022 GB, free: 10.5 MB / 0.7013 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.0004565/0.814, allocations: 355.3 kB / 1.022 GB, free: 10.1 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.8141, allocations: 8.031 kB / 1.022 GB, free: 10.09 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.8141, allocations: 4.938 kB / 1.022 GB, free: 10.09 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.8144, allocations: 192.2 kB / 1.022 GB, free: 9.859 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.8144, allocations: 8.375 kB / 1.022 GB, free: 9.852 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.8144, allocations: 4.375 kB / 1.022 GB, free: 9.848 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.8146, allocations: 89.66 kB / 1.022 GB, free: 9.742 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8146, allocations: 192 / 1.022 GB, free: 9.742 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.8147, allocations: 11.88 kB / 1.022 GB, free: 9.73 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.8147, allocations: 0 / 1.022 GB, free: 9.73 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.8148, allocations: 35.92 kB / 1.022 GB, free: 9.695 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006565/0.8154, allocations: 0.5363 MB / 1.023 GB, free: 9.098 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.8155, allocations: 82.42 kB / 1.023 GB, free: 8.98 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.436e-05/0.8156, allocations: 44.77 kB / 1.023 GB, free: 8.926 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.8156, allocations: 11.98 kB / 1.023 GB, free: 8.914 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.8157, allocations: 34.56 kB / 1.023 GB, free: 8.871 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.8157, allocations: 0 / 1.023 GB, free: 8.871 MB / 0.7013 GB Notification: Performance of matching and sorting (n=4): time 0.0003023/0.816, allocations: 89.53 kB / 1.023 GB, free: 8.777 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.899e-05/0.8161, allocations: 137 kB / 1.023 GB, free: 8.613 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.8162, allocations: 113.8 kB / 1.023 GB, free: 8.492 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.8163, allocations: 25.7 kB / 1.023 GB, free: 8.461 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 6.735e-05/0.8163, allocations: 92.05 kB / 1.024 GB, free: 8.367 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.8164, allocations: 11.88 kB / 1.024 GB, free: 8.355 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.412e-05/0.8164, allocations: 17.72 kB / 1.024 GB, free: 8.332 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.8166, allocations: 322.8 kB / 1.024 GB, free: 8.008 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.8166, allocations: 7.984 kB / 1.024 GB, free: 8 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.657e-05/0.8167, allocations: 47.73 kB / 1.024 GB, free: 7.941 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.946e-05/0.8168, allocations: 55.36 kB / 1.024 GB, free: 7.875 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.8168, allocations: 0 / 1.024 GB, free: 7.875 MB / 0.7013 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001431/0.8169, allocations: 81.52 kB / 1.024 GB, free: 7.789 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.8169, allocations: 9.344 kB / 1.024 GB, free: 7.781 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.8169, allocations: 4 kB / 1.024 GB, free: 7.777 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.817, allocations: 0 / 1.024 GB, free: 7.777 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.8171, allocations: 11.98 kB / 1.024 GB, free: 7.766 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.8171, allocations: 0 / 1.024 GB, free: 7.766 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.732e-05/0.8171, allocations: 0 / 1.024 GB, free: 7.766 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.8171, allocations: 4 kB / 1.024 GB, free: 7.762 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.0001172/0.8172, allocations: 133.8 kB / 1.024 GB, free: 7.621 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.8173, allocations: 3.984 kB / 1.024 GB, free: 7.617 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.8174, allocations: 11.53 kB / 1.024 GB, free: 7.598 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.8174, allocations: 0 / 1.024 GB, free: 7.598 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.8174, allocations: 4 kB / 1.024 GB, free: 7.594 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.8174, allocations: 0 / 1.024 GB, free: 7.594 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003651/0.8178, allocations: 185.4 kB / 1.024 GB, free: 7.363 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.8178, allocations: 0 / 1.024 GB, free: 7.363 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.8178, allocations: 11.98 kB / 1.024 GB, free: 7.352 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8178, allocations: 0 / 1.024 GB, free: 7.352 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.8179, allocations: 4 kB / 1.024 GB, free: 7.348 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.8179, allocations: 8 kB / 1.024 GB, free: 7.34 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8179, allocations: 0 / 1.024 GB, free: 7.34 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.8182, allocations: 393.2 kB / 1.025 GB, free: 6.938 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.8182, allocations: 89.02 kB / 1.025 GB, free: 6.832 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.8183, allocations: 7.984 kB / 1.025 GB, free: 6.824 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.8184, allocations: 0 / 1.025 GB, free: 6.824 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.8184, allocations: 4 kB / 1.025 GB, free: 6.82 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.8184, allocations: 4 kB / 1.025 GB, free: 6.816 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 6.269e-05/0.8185, allocations: 91.27 kB / 1.025 GB, free: 6.727 MB / 0.7013 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8185, allocations: 0 / 1.025 GB, free: 6.727 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0003621/0.8189, allocations: 11.94 kB / 1.025 GB, free: 6.715 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.0005599/0.8194, allocations: 262.6 kB / 1.025 GB, free: 6.523 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.8196, allocations: 35.92 kB / 1.025 GB, free: 6.488 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8196, allocations: 0 / 1.025 GB, free: 6.488 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 3.435e-05/0.8196, allocations: 19.98 kB / 1.025 GB, free: 6.469 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.8201, allocations: 5.562 kB / 1.025 GB, free: 6.465 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.0004565/0.8205, allocations: 198.2 kB / 1.026 GB, free: 6.23 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.8209, allocations: 0.6924 MB / 1.026 GB, free: 5.512 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.8209, allocations: 11.44 kB / 1.026 GB, free: 5.5 MB / 0.7013 GB Notification: Performance of SimCode: time 2.645e-06/0.8209, allocations: 0 / 1.026 GB, free: 5.5 MB / 0.7013 GB Notification: Performance of Templates: time 0.002774/0.8237, allocations: 0.9799 MB / 1.027 GB, free: 4.523 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader.makefile make -j1 -f AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReaderCalcHelperMain.o OMCppAixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReaderCalcHelperMain.cpp clang++ -std=c++17 -fopenmp=libomp -shared -o OMCppAixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader.so OMCppAixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReaderCalcHelperMain.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/Year2022/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/NcDataReader2" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/Resources/Library" -lncDataReader2 -lnetcdf -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,-rpath,"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -L"/usr/lib/x86_64-linux-gnu" -lboost_filesystem -lboost_system -lboost_serialization -lboost_program_options -ldl -L. -llapack -lblas /usr/bin/ld: cannot find -lnetcdf: No such file or directory clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader.makefile:83: AixLib_latest_AixLib.Obsolete.Year2022.Examples.NcDataReader] Error 1