Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.00119/0.00119, allocations: 96 kB / 16.33 MB, free: 6.414 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.001709/0.001708, allocations: 186.8 kB / 17.23 MB, free: 6.309 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.51/1.51, allocations: 223.2 MB / 241.2 MB, free: 348 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7776/0.7776, allocations: 114.3 MB / 406.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003561/0.0003564, allocations: 8 kB / 494.5 MB, free: 1.465 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5095/0.5099, allocations: 77.24 MB / 0.5583 GB, free: 36.74 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.007619/0.5176, allocations: 5.56 MB / 0.5637 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1783/0.6959, allocations: 137.8 MB / 0.6983 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.6978, allocations: 19.94 kB / 0.6983 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007642/0.6986, allocations: 182.3 kB / 0.6985 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002573/0.7012, allocations: 0.5614 MB / 0.699 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003199/0.7044, allocations: 0.9755 MB / 0.7 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003323/0.7078, allocations: 2.262 MB / 0.7022 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001731/0.7095, allocations: 1.203 MB / 0.7034 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001346/0.7109, allocations: 0.739 MB / 0.7041 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.712, allocations: 0.8746 MB / 0.7049 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.7122, allocations: 64 kB / 0.705 GB, free: 14.42 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.7132, allocations: 399.6 kB / 0.7054 GB, free: 14.03 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003854/0.7136, allocations: 382.2 kB / 0.7057 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003809/0.714, allocations: 396.3 kB / 0.7061 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.7166, allocations: 2.599 MB / 0.7087 GB, free: 10.66 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7166, allocations: 4 kB / 0.7087 GB, free: 10.65 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7166, allocations: 0 / 0.7087 GB, free: 10.65 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.668e-05/0.7166, allocations: 0 / 0.7087 GB, free: 10.65 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005464/0.7221, allocations: 2.291 MB / 0.7109 GB, free: 8.285 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7222, allocations: 8.031 kB / 0.7109 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.7361, allocations: 2.303 MB / 0.7132 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.7393, allocations: 1.22 MB / 0.7144 GB, free: 4.703 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.7395, allocations: 168.5 kB / 0.7145 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005324/0.74, allocations: 216 kB / 0.7147 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/0.7502, allocations: 3.337 MB / 0.718 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-05/0.7504, allocations: 4 kB / 0.718 GB, free: 0.8906 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000415/0.7508, allocations: 92 kB / 0.7181 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.746e-05/0.7509, allocations: 63.92 kB / 0.7181 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01871/0.7696, allocations: 4.33 MB / 0.7224 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0218/0.7915, allocations: 7.363 MB / 0.7295 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009114/0.8006, allocations: 2.885 MB / 0.7324 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004626/0.8053, allocations: 1.497 MB / 0.7338 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008354/0.8062, allocations: 0.5073 MB / 0.7343 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00542/0.8116, allocations: 1.847 MB / 0.7361 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=213): time 3.847e-06/0.8117, allocations: 0 / 0.7361 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=213): time 0.0142/0.8259, allocations: 4.485 MB / 0.7405 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/0.8261, allocations: 205.9 kB / 0.7407 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.8283, allocations: 0.9331 MB / 0.7416 GB, free: 8.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004983/0.8288, allocations: 69.7 kB / 0.7417 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009696/0.8298, allocations: 0.7388 MB / 0.7424 GB, free: 7.543 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/0.8309, allocations: 0.6775 MB / 0.7431 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.8311, allocations: 40 kB / 0.7431 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.8314, allocations: 381.9 kB / 0.7435 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005813/0.8372, allocations: 1.257 MB / 0.7447 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/0.8434, allocations: 1.445 MB / 0.7461 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/0.8496, allocations: 1.287 MB / 0.7474 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.174e-05/0.8496, allocations: 0 / 0.7474 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.4084/1.258, allocations: 3.13 MB / 0.7504 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.258, allocations: 12.91 kB / 0.7504 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.258, allocations: 2.984 kB / 0.7504 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005861/1.259, allocations: 89.22 kB / 0.7505 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/1.263, allocations: 0.6087 MB / 0.7511 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/1.265, allocations: 1.517 MB / 0.7526 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003502/1.268, allocations: 385.7 kB / 0.753 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003982/1.269, allocations: 100.1 kB / 0.7531 GB, free: 168.4 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$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,$PRE.HDifRoo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifWal.incAng.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 (239): * Single equations (assignments): 238 * 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.001332/1.27, allocations: 441.7 kB / 0.7535 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004734/1.271, allocations: 155.6 kB / 0.7536 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/1.283, allocations: 3.753 MB / 0.7573 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/1.283, allocations: 23.05 kB / 0.7573 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.283, allocations: 0 / 0.7573 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-05/1.283, allocations: 12.05 kB / 0.7573 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/1.287, allocations: 2.441 MB / 0.7597 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/1.287, allocations: 0.6094 kB / 0.7597 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003512/1.291, allocations: 0.5686 MB / 0.7603 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005531/1.291, allocations: 87.72 kB / 0.7604 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003134/1.292, allocations: 76.14 kB / 0.7604 GB, free: 166 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/1.293, allocations: 1.553 MB / 0.7619 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.294, allocations: 3.953 kB / 0.7619 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.304, allocations: 3.216 MB / 0.7651 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.305, allocations: 0.5777 MB / 0.7656 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003294/1.306, allocations: 50.41 kB / 0.7657 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002623/1.308, allocations: 294.6 kB / 0.766 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004402/1.309, allocations: 151.5 kB / 0.7661 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002782/1.309, allocations: 93.41 kB / 0.7662 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001303/1.311, allocations: 0.6892 MB / 0.7669 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/1.311, allocations: 3.656 kB / 0.7669 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002382/1.313, allocations: 0.6385 MB / 0.7675 GB, free: 162.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001733/1.315, allocations: 0.6555 MB / 0.7682 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009945/1.325, allocations: 3.171 MB / 0.7712 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.325, allocations: 0 / 0.7712 GB, free: 161.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005187/1.33, allocations: 1.762 MB / 0.773 GB, free: 160.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002052/1.332, allocations: 330.7 kB / 0.7733 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/1.343, allocations: 5.153 MB / 0.7783 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.345, allocations: 1.428 MB / 0.7797 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001945/1.347, allocations: 285.4 kB / 0.78 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.262e-06/1.347, allocations: 0 / 0.78 GB, free: 156.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.06064/1.407, allocations: 41.43 MB / 0.8204 GB, free: 122.1 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f IBPSA_latest_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/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.Examples.DiffusePerezCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1