Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, 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.001749/0.001749, allocations: 197.3 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.585/1.585, allocations: 222.9 MB / 240.4 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002409/0.002409, allocations: 278.6 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 169.2 MB / 0.4983 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001844/0.001844, allocations: 90.72 kB / 0.5951 GB, free: 28.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2885, allocations: 86.99 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.009066/0.2976, allocations: 4.348 MB / 0.6843 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.8977/1.195, allocations: 148.2 MB / 0.8291 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/1.197, allocations: 14.97 kB / 0.8291 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001002/1.198, allocations: 139.2 kB / 0.8292 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002517/1.2, allocations: 429.9 kB / 0.8296 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/1.203, allocations: 0.7142 MB / 0.8303 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001991/1.205, allocations: 1.212 MB / 0.8315 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/1.206, allocations: 0.5952 MB / 0.8321 GB, free: 1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/1.207, allocations: 407.2 kB / 0.8325 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005895/1.207, allocations: 457.8 kB / 0.8329 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/1.208, allocations: 55.62 kB / 0.833 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/1.209, allocations: 398.2 kB / 0.8334 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/1.209, allocations: 230.1 kB / 0.8336 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005171/1.21, allocations: 490 kB / 0.834 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/1.211, allocations: 1.181 MB / 0.8352 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.211, allocations: 1.438 kB / 0.8352 GB, free: 480 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.302e-06/1.211, allocations: 0 / 0.8352 GB, free: 480 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.378e-05/1.211, allocations: 0 / 0.8352 GB, free: 480 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002992/1.214, allocations: 1.415 MB / 0.8366 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/1.214, allocations: 9.281 kB / 0.8366 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/1.215, allocations: 185.9 kB / 0.8368 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/1.216, allocations: 0.7395 MB / 0.8375 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.033e-05/1.216, allocations: 60.72 kB / 0.8375 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.217, allocations: 80.34 kB / 0.8376 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/1.218, allocations: 0.9133 MB / 0.8385 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/1.218, allocations: 0 / 0.8385 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.625e-05/1.218, allocations: 39.62 kB / 0.8386 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/1.218, allocations: 20.31 kB / 0.8386 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/1.22, allocations: 1.108 MB / 0.8397 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/1.225, allocations: 2.487 MB / 0.8421 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/1.226, allocations: 0.7982 MB / 0.8429 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/1.227, allocations: 300.4 kB / 0.8432 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.348e-05/1.227, allocations: 34.02 kB / 0.8432 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009521/1.228, allocations: 486.1 kB / 0.8436 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 2.855e-06/1.228, allocations: 6.719 kB / 0.8437 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.0034/1.231, allocations: 1.188 MB / 0.8448 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.231, allocations: 196.6 kB / 0.845 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009186/1.232, allocations: 0.6285 MB / 0.8456 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.353e-05/1.232, allocations: 43.3 kB / 0.8457 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/1.233, allocations: 392.2 kB / 0.846 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/1.233, allocations: 260.8 kB / 0.8463 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.233, allocations: 163.8 kB / 0.8464 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002193/1.234, allocations: 388.1 kB / 0.8468 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/1.234, allocations: 271.6 kB / 0.8471 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006452/1.235, allocations: 359.7 kB / 0.8474 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/1.236, allocations: 0.5993 MB / 0.848 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.236, allocations: 2.625 kB / 0.848 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002046/1.238, allocations: 0.8484 MB / 0.8488 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/1.238, allocations: 5.938 kB / 0.8488 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/1.238, allocations: 0 / 0.8488 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/1.239, allocations: 85.7 kB / 0.8489 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008887/1.24, allocations: 158.4 kB / 0.8491 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.242, allocations: 1.524 MB / 0.8505 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008935/1.243, allocations: 88.05 kB / 0.8506 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/1.243, allocations: 39 kB / 0.8507 GB, free: 7.289 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 (95): * Single equations (assignments): 94 * 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.000642/1.244, allocations: 274.7 kB / 0.8509 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/1.244, allocations: 86.72 kB / 0.851 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.246, allocations: 1.064 MB / 0.8521 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/1.246, allocations: 10.44 kB / 0.8521 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.246, allocations: 3.938 kB / 0.8521 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/1.246, allocations: 3.984 kB / 0.8521 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/1.248, allocations: 0.888 MB / 0.8529 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/1.248, allocations: 0 / 0.8529 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/1.248, allocations: 150.8 kB / 0.8531 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005393/1.249, allocations: 79.25 kB / 0.8532 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.369e-05/1.249, allocations: 30.94 kB / 0.8532 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.251, allocations: 1.536 MB / 0.8547 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.251, allocations: 0 / 0.8547 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/1.253, allocations: 0.9293 MB / 0.8556 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004588/1.254, allocations: 271.4 kB / 0.8559 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/1.254, allocations: 16.88 kB / 0.8559 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/1.254, allocations: 70.45 kB / 0.8559 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.255, allocations: 69.27 kB / 0.856 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/1.255, allocations: 34.55 kB / 0.856 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006644/1.255, allocations: 457 kB / 0.8565 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.255, allocations: 0 / 0.8565 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001375/1.257, allocations: 309.4 kB / 0.8568 GB, free: 2.992 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: 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 (91): * Single equations (assignments): 85 * 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.001642/1.258, allocations: 0.5997 MB / 0.8574 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001867/1.26, allocations: 0.8288 MB / 0.8582 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.26, allocations: 0 / 0.8582 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009866/1.261, allocations: 0.5115 MB / 0.8587 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/1.262, allocations: 264.8 kB / 0.8589 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004481/1.267, allocations: 2.187 MB / 0.861 GB, free: 408 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/1.268, allocations: 1.023 MB / 0.862 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/1.268, allocations: 116.8 kB / 0.8622 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of SimCode: time 8.31e-07/1.268, allocations: 0 / 0.8622 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.03026/1.298, allocations: 18.24 MB / 0.88 GB, free: 2.41 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1