Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") translateModel(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01365/0.01365, allocations: 103 kB / 15.88 MB, free: 6.328 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.002839/0.00284, allocations: 197 kB / 16.79 MB, free: 6.254 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.489/2.489, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002398/0.002398, allocations: 278.4 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.539/1.539, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003671/0.003671, allocations: 93.42 kB / 0.5951 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3132, allocations: 86.98 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle): time 0.006042/0.3193, allocations: 3.81 MB / 0.6838 GB, free: 13.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00602/0.3254, allocations: 3.454 MB / 0.6872 GB, free: 9.859 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008425/0.3263, allocations: 7.938 kB / 0.6872 GB, free: 9.852 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.0009265/0.3272, allocations: 107.3 kB / 0.6873 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002203/0.3294, allocations: 386.1 kB / 0.6876 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001394/0.3309, allocations: 326.5 kB / 0.688 GB, free: 9.051 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001297/0.3322, allocations: 0.725 MB / 0.6887 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004962/0.3327, allocations: 189.6 kB / 0.6888 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005928/0.3333, allocations: 274.7 kB / 0.6891 GB, free: 7.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006572/0.3339, allocations: 314.6 kB / 0.6894 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3341, allocations: 32 kB / 0.6894 GB, free: 7.527 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.3355, allocations: 467.5 kB / 0.6899 GB, free: 7.07 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.3358, allocations: 139.4 kB / 0.69 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004159/0.3362, allocations: 298.2 kB / 0.6903 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3373, allocations: 0.8224 MB / 0.6911 GB, free: 5.816 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3373, allocations: 4 kB / 0.6911 GB, free: 5.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3373, allocations: 0 / 0.6911 GB, free: 5.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.3373, allocations: 0 / 0.6911 GB, free: 5.812 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.00226/0.3396, allocations: 1.015 MB / 0.6921 GB, free: 4.742 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3396, allocations: 8.031 kB / 0.6921 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003756/0.3434, allocations: 0.6205 MB / 0.6927 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3449, allocations: 0.6389 MB / 0.6933 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/0.3451, allocations: 122.6 kB / 0.6935 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.3452, allocations: 51.92 kB / 0.6935 GB, free: 3.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.3469, allocations: 0.7151 MB / 0.6942 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.3469, allocations: 0 / 0.6942 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.347, allocations: 20 kB / 0.6942 GB, free: 2.492 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.347, allocations: 12 kB / 0.6942 GB, free: 2.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.3498, allocations: 0.7806 MB / 0.695 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003946/0.3538, allocations: 1.912 MB / 0.6969 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.357, allocations: 0.8607 MB / 0.6977 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3581, allocations: 386.2 kB / 0.6981 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00206/0.3602, allocations: 1.773 MB / 0.6998 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001176/0.3614, allocations: 458.8 kB / 0.7002 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=58): time 3.627e-06/0.3614, allocations: 0 / 0.7002 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=58): time 0.007862/0.3693, allocations: 1.667 MB / 0.7019 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.3694, allocations: 111.4 kB / 0.702 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008018/0.3702, allocations: 419.5 kB / 0.7024 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.561e-05/0.3703, allocations: 41.7 kB / 0.7024 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.3707, allocations: 276.6 kB / 0.7027 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.371, allocations: 189.2 kB / 0.7029 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.3713, allocations: 122.3 kB / 0.703 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3714, allocations: 362.8 kB / 0.7033 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.3728, allocations: 317.1 kB / 0.7036 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.3745, allocations: 455.7 kB / 0.7041 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.3774, allocations: 0.7284 MB / 0.7048 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.3774, allocations: 0 / 0.7048 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.006021/0.3834, allocations: 1.073 MB / 0.7058 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.709e-05/0.3835, allocations: 8 kB / 0.7058 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.3835, allocations: 0 / 0.7058 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3848, allocations: 144.9 kB / 0.706 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.3864, allocations: 167.7 kB / 0.7061 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00853/0.395, allocations: 1.98 MB / 0.7081 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.3968, allocations: 103.5 kB / 0.7082 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003051/0.3971, allocations: 31.97 kB / 0.7082 GB, free: 3.402 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001024/0.3982, allocations: 204.2 kB / 0.7084 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004699/0.3987, allocations: 59.28 kB / 0.7084 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006937/0.4056, allocations: 1.089 MB / 0.7095 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.4057, allocations: 12 kB / 0.7095 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4057, allocations: 0 / 0.7095 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.145e-05/0.4057, allocations: 7.922 kB / 0.7095 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.4133, allocations: 1.808 MB / 0.7113 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.4134, allocations: 0 / 0.7113 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.4148, allocations: 147.8 kB / 0.7114 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001282/0.4161, allocations: 132.7 kB / 0.7116 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.4163, allocations: 15.98 kB / 0.7116 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005595/0.4219, allocations: 1.766 MB / 0.7133 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.999e-06/0.4219, allocations: 3.984 kB / 0.7133 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00619/0.4281, allocations: 1.049 MB / 0.7143 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.4291, allocations: 220 kB / 0.7145 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.4294, allocations: 16 kB / 0.7145 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.4306, allocations: 63.98 kB / 0.7146 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.431, allocations: 44.59 kB / 0.7147 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.4311, allocations: 23.98 kB / 0.7147 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008987/0.432, allocations: 299.1 kB / 0.715 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.8e-07/0.4321, allocations: 0 / 0.715 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001913/0.434, allocations: 239.6 kB / 0.7152 GB, free: 11.96 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 (69): * Single equations (assignments): 67 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002722/0.4367, allocations: 0.51 MB / 0.7157 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004848/0.4416, allocations: 0.8903 MB / 0.7166 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.4417, allocations: 0 / 0.7166 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002623/0.4443, allocations: 0.5374 MB / 0.7171 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.4455, allocations: 61.95 kB / 0.7171 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005416/0.451, allocations: 1.582 MB / 0.7187 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/0.4521, allocations: 0.8851 MB / 0.7195 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.4527, allocations: 83.38 kB / 0.7196 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.4527, allocations: 0 / 0.7196 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of Templates: time 0.04035/0.4931, allocations: 12.98 MB / 0.7323 GB, free: 10.53 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngle.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.PVModuleControlledTiltAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Photovoltaics.Examples.PVModuleControlledTiltAngleCalcHelperMain.o] Error 1