Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008573/0.0008574, allocations: 99.52 kB / 15.71 MB, free: 452 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.0009963/0.0009968, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.535/1.535, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.039/1.039, allocations: 143.4 MB / 435.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.000391, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2393, allocations: 83.42 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01046/0.2498, allocations: 5.189 MB / 0.6031 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6022/0.8521, allocations: 137.6 MB / 0.7375 GB, free: 9.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001432/0.8536, allocations: 23.16 kB / 0.7375 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.8543, allocations: 169.2 kB / 0.7377 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.8562, allocations: 0.4917 MB / 0.7382 GB, free: 8.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.859, allocations: 0.9393 MB / 0.7391 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002742/0.8618, allocations: 2.054 MB / 0.7411 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001614/0.8634, allocations: 1.175 MB / 0.7423 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00135/0.8647, allocations: 0.6698 MB / 0.7429 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001075/0.8658, allocations: 0.7888 MB / 0.7437 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001842/0.866, allocations: 57.5 kB / 0.7437 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.8674, allocations: 391.4 kB / 0.7441 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004101/0.8678, allocations: 351.5 kB / 0.7444 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004245/0.8683, allocations: 356.6 kB / 0.7448 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.871, allocations: 2.603 MB / 0.7473 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.871, allocations: 0 / 0.7473 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.839e-06/0.8711, allocations: 4 kB / 0.7473 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.598e-05/0.8711, allocations: 4.5 kB / 0.7473 GB, free: 2.602 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004399/0.8755, allocations: 2.12 MB / 0.7494 GB, free: 436 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.8756, allocations: 8.031 kB / 0.7494 GB, free: 428 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/0.8893, allocations: 2.286 MB / 0.7516 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002749/0.8921, allocations: 1.154 MB / 0.7528 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.8922, allocations: 160.4 kB / 0.7529 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003747/0.8926, allocations: 214.3 kB / 0.7531 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008059/0.9007, allocations: 3.209 MB / 0.7563 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.9008, allocations: 8 kB / 0.7563 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002495/0.901, allocations: 88.83 kB / 0.7564 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/0.9011, allocations: 56 kB / 0.7564 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.9124, allocations: 4.232 MB / 0.7605 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0153/0.9278, allocations: 7.044 MB / 0.7674 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007698/0.9355, allocations: 2.697 MB / 0.7701 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00443/0.94, allocations: 1.438 MB / 0.7715 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/0.941, allocations: 0.5035 MB / 0.7719 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00487/0.9459, allocations: 1.703 MB / 0.7736 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.577e-06/0.946, allocations: 0 / 0.7736 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01306/0.959, allocations: 4.216 MB / 0.7777 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.9592, allocations: 201.9 kB / 0.7779 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/0.9606, allocations: 0.8578 MB / 0.7788 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.9608, allocations: 57.7 kB / 0.7788 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/0.9616, allocations: 0.7047 MB / 0.7795 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007084/0.9623, allocations: 0.6391 MB / 0.7801 GB, free: 0.5039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.9625, allocations: 36 kB / 0.7802 GB, free: 480 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.9627, allocations: 365.9 kB / 0.7805 GB, free: 108 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003726/0.9664, allocations: 1.195 MB / 0.7817 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003807/0.9702, allocations: 1.367 MB / 0.783 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003717/0.9739, allocations: 1.228 MB / 0.7842 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.974, allocations: 0 / 0.7842 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008737/0.9827, allocations: 2.968 MB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.9828, allocations: 4 kB / 0.7871 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.9828, allocations: 4 kB / 0.7871 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005523/0.9833, allocations: 92.78 kB / 0.7872 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003255/0.9866, allocations: 0.5734 MB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002071/0.9887, allocations: 1.532 MB / 0.7893 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.9916, allocations: 354.8 kB / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002616/0.9918, allocations: 95.83 kB / 0.7897 GB, free: 6.52 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (215): * Single equations (assignments): 214 * 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.001299/0.9931, allocations: 398.1 kB / 0.7901 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004254/0.9936, allocations: 138.3 kB / 0.7902 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.004, allocations: 3.531 MB / 0.7937 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/1.004, allocations: 24 kB / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.004, allocations: 0 / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/1.004, allocations: 11.95 kB / 0.7937 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/1.017, allocations: 5.763 MB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/1.017, allocations: 4 kB / 0.7993 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/1.021, allocations: 0.5422 MB / 0.7998 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005059/1.021, allocations: 88.77 kB / 0.7999 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/1.021, allocations: 67.92 kB / 0.8 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002376/1.024, allocations: 1.544 MB / 0.8015 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.024, allocations: 4.688 kB / 0.8015 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009015/1.033, allocations: 3.063 MB / 0.8045 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.034, allocations: 0.5336 MB / 0.805 GB, free: 6.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/1.034, allocations: 39.98 kB / 0.8051 GB, free: 6.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002583/1.037, allocations: 277.6 kB / 0.8053 GB, free: 6.258 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/1.037, allocations: 125.8 kB / 0.8054 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002204/1.037, allocations: 84.8 kB / 0.8055 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001151/1.039, allocations: 0.6349 MB / 0.8061 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.31e-07/1.039, allocations: 0 / 0.8061 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002107/1.041, allocations: 0.5959 MB / 0.8067 GB, free: 4.809 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001717/1.043, allocations: 0.634 MB / 0.8073 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009255/1.052, allocations: 2.995 MB / 0.8103 GB, free: 1.363 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.052, allocations: 4.062 kB / 0.8103 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004708/1.057, allocations: 1.665 MB / 0.8119 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.058, allocations: 335.5 kB / 0.8122 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.069, allocations: 4.844 MB / 0.817 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/1.07, allocations: 1.369 MB / 0.8183 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/1.072, allocations: 263.2 kB / 0.8185 GB, free: 8.832 MB / 0.6387 GB Notification: Performance of SimCode: time 1.422e-06/1.072, allocations: 3.938 kB / 0.8185 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of Templates: time 0.06356/1.135, allocations: 38.74 MB / 0.8564 GB, free: 2.121 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1