Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01241/0.01241, allocations: 100.4 kB / 15.87 MB, free: 5.863 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.002621/0.002621, allocations: 189.7 kB / 16.79 MB, free: 5.805 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.618/1.618, allocations: 222.9 MB / 240.4 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 275 kB / 290.9 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.035/1.035, allocations: 169.2 MB / 0.4984 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001748, allocations: 91.06 kB / 0.5951 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2568, allocations: 86.98 MB / 0.6801 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007612/0.2645, allocations: 4.638 MB / 0.6846 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.7503/1.015, allocations: 148.4 MB / 0.8296 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/1.016, allocations: 19.31 kB / 0.8296 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006173/1.017, allocations: 148.8 kB / 0.8297 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/1.019, allocations: 436.8 kB / 0.8301 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/1.021, allocations: 0.8247 MB / 0.831 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002064/1.023, allocations: 1.392 MB / 0.8323 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/1.024, allocations: 0.7757 MB / 0.8331 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/1.025, allocations: 0.4911 MB / 0.8335 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/1.026, allocations: 0.5907 MB / 0.8341 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001901/1.026, allocations: 73.66 kB / 0.8342 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001327/1.028, allocations: 435.4 kB / 0.8346 GB, free: 224 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/1.028, allocations: 296.9 kB / 0.8349 GB, free: 164 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006997/1.029, allocations: 0.5828 MB / 0.8355 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/1.031, allocations: 1.362 MB / 0.8368 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/1.031, allocations: 0 / 0.8368 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/1.031, allocations: 3.938 kB / 0.8368 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2e-05/1.031, allocations: 1.312 kB / 0.8368 GB, free: 15.85 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003956/1.035, allocations: 1.66 MB / 0.8384 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/1.035, allocations: 9.938 kB / 0.8384 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/1.04, allocations: 0.7622 MB / 0.8392 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.042, allocations: 0.8082 MB / 0.84 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.585e-05/1.042, allocations: 80.39 kB / 0.84 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/1.042, allocations: 105 kB / 0.8401 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/1.046, allocations: 1.438 MB / 0.8415 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/1.046, allocations: 1.438 kB / 0.8415 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/1.046, allocations: 48.86 kB / 0.8416 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/1.046, allocations: 26.88 kB / 0.8416 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004644/1.051, allocations: 1.887 MB / 0.8435 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006926/1.057, allocations: 3.278 MB / 0.8467 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003374/1.061, allocations: 1.367 MB / 0.848 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.062, allocations: 0.5982 MB / 0.8486 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/1.063, allocations: 481.9 kB / 0.849 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002066/1.065, allocations: 0.8077 MB / 0.8498 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=109): time 3.246e-06/1.065, allocations: 0 / 0.8498 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=109): time 0.006155/1.071, allocations: 1.968 MB / 0.8518 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.072, allocations: 198.9 kB / 0.8519 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/1.073, allocations: 0.6473 MB / 0.8526 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/1.073, allocations: 50.84 kB / 0.8526 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/1.073, allocations: 435.5 kB / 0.853 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.074, allocations: 351.9 kB / 0.8534 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003733/1.074, allocations: 212.7 kB / 0.8536 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002187/1.074, allocations: 394.4 kB / 0.854 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.076, allocations: 0.496 MB / 0.8544 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/1.077, allocations: 0.6112 MB / 0.855 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002895/1.08, allocations: 1.08 MB / 0.8561 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/1.08, allocations: 6.844 kB / 0.8561 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004194/1.084, allocations: 1.371 MB / 0.8574 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/1.084, allocations: 4.781 kB / 0.8574 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/1.084, allocations: 0 / 0.8574 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/1.085, allocations: 90.75 kB / 0.8575 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/1.086, allocations: 269.2 kB / 0.8578 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.089, allocations: 1.517 MB / 0.8593 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/1.09, allocations: 171.1 kB / 0.8594 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/1.09, allocations: 49.48 kB / 0.8595 GB, free: 2.18 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007123/1.091, allocations: 283.1 kB / 0.8597 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/1.091, allocations: 92.47 kB / 0.8598 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004606/1.096, allocations: 1.683 MB / 0.8615 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/1.096, allocations: 12.94 kB / 0.8615 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.096, allocations: 0 / 0.8615 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/1.096, allocations: 3.984 kB / 0.8615 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006241/1.102, allocations: 2.85 MB / 0.8643 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.102, allocations: 6.281 kB / 0.8643 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/1.104, allocations: 251.7 kB / 0.8645 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005428/1.104, allocations: 85.73 kB / 0.8646 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/1.104, allocations: 38.12 kB / 0.8646 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.106, allocations: 1.54 MB / 0.8661 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.106, allocations: 0 / 0.8661 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004264/1.111, allocations: 1.531 MB / 0.8676 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006059/1.111, allocations: 318.7 kB / 0.8679 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/1.111, allocations: 23.12 kB / 0.868 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/1.113, allocations: 125.9 kB / 0.8681 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/1.113, allocations: 84.75 kB / 0.8682 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.113, allocations: 44.19 kB / 0.8682 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006903/1.114, allocations: 486.6 kB / 0.8687 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.114, allocations: 0 / 0.8687 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001266/1.115, allocations: 378.9 kB / 0.869 GB, free: 11.97 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001609/1.117, allocations: 0.6324 MB / 0.8696 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.12, allocations: 1.384 MB / 0.871 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.12, allocations: 2.688 kB / 0.871 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.122, allocations: 0.8203 MB / 0.8718 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/1.124, allocations: 273.6 kB / 0.8721 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/1.13, allocations: 2.779 MB / 0.8748 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/1.13, allocations: 1.08 MB / 0.8758 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006397/1.131, allocations: 147.3 kB / 0.876 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.423e-06/1.131, allocations: 3.938 kB / 0.876 GB, free: 6.406 MB / 0.5919 GB Notification: Performance of Templates: time 0.03575/1.167, allocations: 22.52 MB / 0.898 GB, free: 16 kB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.o] Error 1