Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003295/0.003294, allocations: 196.6 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.569/2.569, allocations: 222.9 MB / 240.5 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00382/0.00382, allocations: 282.7 kB / 290.9 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.713/1.713, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 93.97 kB / 0.5951 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3461, allocations: 86.98 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex): time 0.009236/0.3554, allocations: 3.728 MB / 0.6837 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009062/0.3645, allocations: 3.441 MB / 0.6871 GB, free: 10 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.3656, allocations: 7.938 kB / 0.6871 GB, free: 9.996 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/PVModuleGeneral.mo:38:3-39:117:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/Photovoltaics/BaseClasses/OpticalModels/OpticalModelGeneral.mo:10:3-12:121:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Climate/SolarRadiationTransformers/SolarRadiationTransformerGeneral.mo:25:3-27:116:writable] Warning: Connector radiationPort is not balanced: The number of potential variables (5) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0008972/0.3665, allocations: 111.2 kB / 0.6872 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002517/0.3691, allocations: 371.8 kB / 0.6875 GB, free: 9.523 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001511/0.3706, allocations: 322.2 kB / 0.6878 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.372, allocations: 0.7058 MB / 0.6885 GB, free: 8.504 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005141/0.3725, allocations: 201.6 kB / 0.6887 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006222/0.3732, allocations: 262.8 kB / 0.689 GB, free: 8.047 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.3738, allocations: 302.6 kB / 0.6893 GB, free: 7.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001196/0.374, allocations: 32 kB / 0.6893 GB, free: 7.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.3756, allocations: 475.5 kB / 0.6898 GB, free: 7.254 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.3759, allocations: 139.4 kB / 0.6899 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004565/0.3764, allocations: 290.3 kB / 0.6902 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.378, allocations: 0.8107 MB / 0.691 GB, free: 6.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3781, allocations: 0 / 0.691 GB, free: 6.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3781, allocations: 0 / 0.691 GB, free: 6.02 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.381e-05/0.3781, allocations: 3.938 kB / 0.691 GB, free: 6.016 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003387/0.3815, allocations: 0.9993 MB / 0.6919 GB, free: 4.961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.902e-05/0.3816, allocations: 12.03 kB / 0.6919 GB, free: 4.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00517/0.3868, allocations: 0.5581 MB / 0.6925 GB, free: 4.391 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002636/0.3894, allocations: 0.6235 MB / 0.6931 GB, free: 3.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002284/0.3897, allocations: 122.7 kB / 0.6932 GB, free: 3.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.3899, allocations: 47.94 kB / 0.6933 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002456/0.3924, allocations: 0.6635 MB / 0.6939 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.3924, allocations: 0 / 0.6939 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.3925, allocations: 20 kB / 0.6939 GB, free: 2.844 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.308e-05/0.3926, allocations: 12 kB / 0.6939 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/0.3954, allocations: 0.6908 MB / 0.6946 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005692/0.4011, allocations: 1.773 MB / 0.6963 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.4056, allocations: 0.8082 MB / 0.6971 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.407, allocations: 330 kB / 0.6974 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003047/0.4101, allocations: 1.761 MB / 0.6992 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001754/0.4119, allocations: 399.3 kB / 0.6995 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 5.37e-06/0.4119, allocations: 0 / 0.6995 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.004248/0.4161, allocations: 0.9238 MB / 0.7005 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.4163, allocations: 115.2 kB / 0.7006 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009644/0.4173, allocations: 419.1 kB / 0.701 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4174, allocations: 37.7 kB / 0.701 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.4178, allocations: 280.5 kB / 0.7013 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002727/0.4181, allocations: 173.5 kB / 0.7014 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.4185, allocations: 118.1 kB / 0.7015 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002433/0.4187, allocations: 362.8 kB / 0.7019 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4199, allocations: 272.9 kB / 0.7021 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.4214, allocations: 412.5 kB / 0.7025 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002511/0.4239, allocations: 0.6554 MB / 0.7032 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.4239, allocations: 0 / 0.7032 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003226/0.4272, allocations: 0.7638 MB / 0.7039 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.27e-05/0.4272, allocations: 8 kB / 0.7039 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.4273, allocations: 4 kB / 0.7039 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.973e-05/0.4273, allocations: 8.219 kB / 0.7039 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/0.4298, allocations: 243.6 kB / 0.7042 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.4325, allocations: 1.479 MB / 0.7056 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.4337, allocations: 91.31 kB / 0.7057 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/0.4339, allocations: 27.98 kB / 0.7057 GB, free: 5.988 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005955/0.4345, allocations: 221.6 kB / 0.7059 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.4347, allocations: 55.36 kB / 0.706 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.4388, allocations: 0.9268 MB / 0.7069 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.4388, allocations: 8 kB / 0.7069 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.4388, allocations: 4 kB / 0.7069 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.4388, allocations: 7.922 kB / 0.7069 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/0.444, allocations: 1.614 MB / 0.7085 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.4441, allocations: 4 kB / 0.7085 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.4454, allocations: 139.8 kB / 0.7086 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000768/0.4462, allocations: 60.8 kB / 0.7087 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4463, allocations: 23.91 kB / 0.7087 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.449, allocations: 1.485 MB / 0.7102 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.4491, allocations: 0 / 0.7102 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003571/0.4526, allocations: 0.8903 MB / 0.711 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004632/0.4531, allocations: 204.2 kB / 0.7112 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.4533, allocations: 12 kB / 0.7112 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008884/0.4542, allocations: 51.94 kB / 0.7113 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000202/0.4544, allocations: 48.48 kB / 0.7113 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.4545, allocations: 31.92 kB / 0.7114 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006009/0.4551, allocations: 291.1 kB / 0.7116 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4551, allocations: 0 / 0.7116 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001321/0.4565, allocations: 235.6 kB / 0.7119 GB, free: 15.43 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,weatherData.weatherData.conTim.tNext) * Number of discrete states: 1 (weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/0.4585, allocations: 0.4993 MB / 0.7124 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003855/0.4624, allocations: 0.7612 MB / 0.7131 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.4624, allocations: 0 / 0.7131 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.464, allocations: 0.4941 MB / 0.7136 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.4649, allocations: 64.62 kB / 0.7136 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003806/0.4688, allocations: 1.489 MB / 0.7151 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00067/0.4694, allocations: 0.8775 MB / 0.716 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000483/0.4699, allocations: 75.38 kB / 0.716 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of SimCode: time 1.052e-06/0.47, allocations: 4 kB / 0.716 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of Templates: time 0.02841/0.4984, allocations: 12.18 MB / 0.7279 GB, free: 15.1 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplex.makefile clang++ -std=c++14 NOTFOUND -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/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleComplexCalcHelperMain.o] Error 1