Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008251/0.0008251, allocations: 96 kB / 16.33 MB, free: 5.953 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.0008857/0.0008857, allocations: 187.5 kB / 17.23 MB, free: 5.887 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.434/1.434, allocations: 223.3 MB / 241.2 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7019/0.7019, allocations: 114.3 MB / 406.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004994, allocations: 8.844 kB / 494.5 MB, free: 7.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2041, allocations: 77.26 MB / 0.5583 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005217/0.2094, allocations: 3.979 MB / 0.5622 GB, free: 6.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5969/0.8063, allocations: 137 MB / 0.6959 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001582/0.808, allocations: 15.94 kB / 0.696 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009415/0.809, allocations: 142.8 kB / 0.6961 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.8117, allocations: 418.8 kB / 0.6965 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.815, allocations: 0.7214 MB / 0.6972 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.8174, allocations: 1.278 MB / 0.6985 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.8186, allocations: 0.5724 MB / 0.699 GB, free: 9.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.8197, allocations: 402.2 kB / 0.6994 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.8205, allocations: 461.7 kB / 0.6998 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.8206, allocations: 36 kB / 0.6999 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.8219, allocations: 367.6 kB / 0.7002 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00032/0.8223, allocations: 223 kB / 0.7004 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003182/0.8226, allocations: 213.1 kB / 0.7006 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.8247, allocations: 1.337 MB / 0.7019 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/0.8247, allocations: 4 kB / 0.7019 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.789e-06/0.8247, allocations: 4 kB / 0.7019 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.8247, allocations: 3.938 kB / 0.702 GB, free: 6.344 MB / 0.5137 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.003817/0.8285, allocations: 1.4 MB / 0.7033 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.8286, allocations: 12.02 kB / 0.7033 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006859/0.8355, allocations: 0.8216 MB / 0.7041 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.8375, allocations: 0.7926 MB / 0.7049 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.8377, allocations: 86.19 kB / 0.705 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.8379, allocations: 108 kB / 0.7051 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/0.8426, allocations: 1.447 MB / 0.7065 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.8427, allocations: 3.938 kB / 0.7065 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.8428, allocations: 47.98 kB / 0.7066 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.8429, allocations: 28 kB / 0.7066 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006551/0.8494, allocations: 1.936 MB / 0.7085 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009034/0.8585, allocations: 3.306 MB / 0.7117 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003546/0.8621, allocations: 1.38 MB / 0.713 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00146/0.8636, allocations: 0.6008 MB / 0.7136 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006977/0.8643, allocations: 482.5 kB / 0.7141 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/0.8663, allocations: 0.8049 MB / 0.7149 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=109): time 8.927e-06/0.8663, allocations: 4 kB / 0.7149 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of matching and sorting (n=109): time 0.005867/0.8722, allocations: 1.989 MB / 0.7168 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.8723, allocations: 192.9 kB / 0.717 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8735, allocations: 0.6411 MB / 0.7176 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.8736, allocations: 45.7 kB / 0.7177 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000455/0.8741, allocations: 436.5 kB / 0.7181 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.8744, allocations: 362.8 kB / 0.7184 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.8745, allocations: 20 kB / 0.7185 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000215/0.8748, allocations: 398.7 kB / 0.7188 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.8761, allocations: 0.5055 MB / 0.7193 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.8776, allocations: 0.613 MB / 0.7199 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.8791, allocations: 0.5301 MB / 0.7205 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.8791, allocations: 0 / 0.7205 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003729/0.8828, allocations: 1.383 MB / 0.7218 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.8828, allocations: 8 kB / 0.7218 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8829, allocations: 0 / 0.7218 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005396/0.8834, allocations: 84.91 kB / 0.7219 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.8847, allocations: 275.6 kB / 0.7222 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.8868, allocations: 1.517 MB / 0.7236 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.8881, allocations: 175.3 kB / 0.7238 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.8882, allocations: 51.95 kB / 0.7239 GB, free: 15.26 MB / 0.545 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008/0.8891, allocations: 291.4 kB / 0.7241 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.8893, allocations: 98.81 kB / 0.7242 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004603/0.894, allocations: 1.688 MB / 0.7259 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.894, allocations: 12 kB / 0.7259 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.894, allocations: 4 kB / 0.7259 GB, free: 13.15 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.894, allocations: 15.95 kB / 0.7259 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006138/0.9002, allocations: 2.85 MB / 0.7287 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.9002, allocations: 0 / 0.7287 GB, free: 10.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.9014, allocations: 267.6 kB / 0.7289 GB, free: 9.957 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004806/0.9019, allocations: 80.77 kB / 0.729 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.902, allocations: 39.97 kB / 0.7291 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.9038, allocations: 1.532 MB / 0.7306 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.9039, allocations: 0 / 0.7306 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.9077, allocations: 1.538 MB / 0.7321 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.9084, allocations: 335.3 kB / 0.7324 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002643/0.9086, allocations: 31.94 kB / 0.7324 GB, free: 6.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9099, allocations: 139.9 kB / 0.7325 GB, free: 6.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.9101, allocations: 84.86 kB / 0.7326 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.9102, allocations: 43.97 kB / 0.7327 GB, free: 5.969 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007522/0.9109, allocations: 467 kB / 0.7331 GB, free: 5.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.911, allocations: 0 / 0.7331 GB, free: 5.516 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001292/0.9123, allocations: 383.1 kB / 0.7335 GB, free: 5.141 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001626/0.9139, allocations: 0.6306 MB / 0.7341 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003552/0.9175, allocations: 1.386 MB / 0.7354 GB, free: 3.309 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.9175, allocations: 4 kB / 0.7354 GB, free: 3.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00195/0.9194, allocations: 0.8279 MB / 0.7363 GB, free: 2.465 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.9212, allocations: 264.3 kB / 0.7365 GB, free: 2.215 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/0.9279, allocations: 2.757 MB / 0.7392 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008934/0.9288, allocations: 1.087 MB / 0.7403 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007197/0.9295, allocations: 147.3 kB / 0.7404 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/0.9295, allocations: 0 / 0.7404 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.03871/0.9683, allocations: 22.41 MB / 0.7623 GB, free: 7.875 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/IBPSA 4.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficientCalcHelperMain.o] Error 1