Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 100.1 kB / 15.88 MB, free: 12 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.001739/0.001739, allocations: 198.8 kB / 16.79 MB, free: 6.863 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.605/1.605, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002386, allocations: 282.8 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 96.75 kB / 0.5951 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2557, allocations: 86.99 MB / 0.6801 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.007573/0.2633, allocations: 4.732 MB / 0.6847 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.8212/1.085, allocations: 148.4 MB / 0.8296 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.086, allocations: 21.28 kB / 0.8296 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007104/1.087, allocations: 151.4 kB / 0.8298 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/1.089, allocations: 456.9 kB / 0.8302 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002293/1.091, allocations: 0.7449 MB / 0.8309 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001783/1.093, allocations: 1.351 MB / 0.8322 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.094, allocations: 0.893 MB / 0.8331 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/1.095, allocations: 0.5057 MB / 0.8336 GB, free: 308 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006987/1.096, allocations: 0.5915 MB / 0.8342 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001986/1.096, allocations: 87.78 kB / 0.8343 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/1.097, allocations: 435.7 kB / 0.8347 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003623/1.097, allocations: 302.1 kB / 0.835 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007317/1.098, allocations: 0.6296 MB / 0.8356 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/1.1, allocations: 1.451 MB / 0.837 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/1.1, allocations: 2.719 kB / 0.837 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/1.1, allocations: 0 / 0.837 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.013e-05/1.1, allocations: 0 / 0.837 GB, free: 15.74 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.003451/1.103, allocations: 1.689 MB / 0.8387 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.104, allocations: 8.812 kB / 0.8387 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/1.105, allocations: 224.5 kB / 0.8389 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/1.106, allocations: 0.8449 MB / 0.8397 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-05/1.106, allocations: 89.78 kB / 0.8398 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/1.106, allocations: 117.5 kB / 0.8399 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00241/1.109, allocations: 1.198 MB / 0.8411 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/1.109, allocations: 5.312 kB / 0.8411 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/1.109, allocations: 56.2 kB / 0.8411 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/1.109, allocations: 30.25 kB / 0.8412 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002331/1.111, allocations: 1.282 MB / 0.8424 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005266/1.116, allocations: 3.157 MB / 0.8455 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/1.118, allocations: 0.8728 MB / 0.8463 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/1.119, allocations: 333 kB / 0.8467 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-05/1.119, allocations: 27.17 kB / 0.8467 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/1.12, allocations: 0.5186 MB / 0.8472 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=87): time 3.105e-06/1.12, allocations: 0 / 0.8472 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87): time 0.003555/1.123, allocations: 1.274 MB / 0.8484 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/1.123, allocations: 195.3 kB / 0.8486 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/1.125, allocations: 0.7345 MB / 0.8493 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/1.125, allocations: 43.08 kB / 0.8494 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004758/1.125, allocations: 0.5126 MB / 0.8499 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/1.125, allocations: 284.2 kB / 0.8502 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.126, allocations: 175.8 kB / 0.8503 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.126, allocations: 344 kB / 0.8507 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005725/1.126, allocations: 291.4 kB / 0.8509 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/1.127, allocations: 387.6 kB / 0.8513 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/1.128, allocations: 0.6499 MB / 0.8519 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.024e-06/1.128, allocations: 4.688 kB / 0.8519 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002212/1.131, allocations: 0.9207 MB / 0.8528 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.131, allocations: 4.656 kB / 0.8528 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.131, allocations: 4.094 kB / 0.8528 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/1.131, allocations: 86.17 kB / 0.8529 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/1.132, allocations: 174.6 kB / 0.8531 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/1.134, allocations: 1.514 MB / 0.8546 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/1.135, allocations: 108.5 kB / 0.8547 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.311e-05/1.136, allocations: 41.03 kB / 0.8547 GB, free: 4.602 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 103 * 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.0007529/1.136, allocations: 294.4 kB / 0.855 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/1.136, allocations: 100.1 kB / 0.8551 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/1.139, allocations: 1.12 MB / 0.8562 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/1.139, allocations: 9.594 kB / 0.8562 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.139, allocations: 0 / 0.8562 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/1.139, allocations: 6.797 kB / 0.8562 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/1.141, allocations: 1.066 MB / 0.8572 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/1.141, allocations: 0 / 0.8572 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/1.141, allocations: 154.2 kB / 0.8574 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005229/1.142, allocations: 83.11 kB / 0.8575 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/1.142, allocations: 26.73 kB / 0.8575 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/1.144, allocations: 1.55 MB / 0.859 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.144, allocations: 0 / 0.859 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002133/1.146, allocations: 0.9817 MB / 0.86 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/1.146, allocations: 289.9 kB / 0.8602 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.146, allocations: 24.75 kB / 0.8603 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/1.147, allocations: 65.05 kB / 0.8603 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/1.147, allocations: 76.23 kB / 0.8604 GB, free: 472 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/1.147, allocations: 34.77 kB / 0.8604 GB, free: 464 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007571/1.148, allocations: 0.5202 MB / 0.8609 GB, free: 160 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/1.148, allocations: 0 / 0.8609 GB, free: 160 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001175/1.149, allocations: 359.7 kB / 0.8613 GB, free: 48 kB / 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: 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001595/1.151, allocations: 0.6028 MB / 0.8619 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001898/1.153, allocations: 0.8894 MB / 0.8627 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.153, allocations: 0 / 0.8627 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009673/1.154, allocations: 0.544 MB / 0.8633 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.155, allocations: 281.8 kB / 0.8635 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00501/1.16, allocations: 2.676 MB / 0.8662 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007622/1.161, allocations: 1.103 MB / 0.8672 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003992/1.161, allocations: 124.3 kB / 0.8674 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of SimCode: time 3.176e-06/1.161, allocations: 0 / 0.8674 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.03419/1.195, allocations: 21.42 MB / 0.8883 GB, free: 9.918 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropicCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1