Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009772/0.0009773, allocations: 100.5 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.00119/0.00119, allocations: 176.5 kB / 16.58 MB, free: 6.879 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.518/1.518, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 436.7 MB / 0.7113 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005008/0.000501, allocations: 8.219 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.7989, allocations: 153.7 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006097/0.8051, allocations: 4.714 MB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.9773, allocations: 137.3 MB / 1.16 GB, free: 2.711 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.9786, allocations: 19.94 kB / 1.16 GB, free: 2.691 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005997/0.9792, allocations: 150.6 kB / 1.161 GB, free: 2.543 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002003/0.9812, allocations: 0.5574 MB / 1.161 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.9833, allocations: 0.7261 MB / 1.162 GB, free: 1.27 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002118/0.9854, allocations: 1.643 MB / 1.163 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.9866, allocations: 0.8477 MB / 1.164 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009875/0.9876, allocations: 0.5209 MB / 1.165 GB, free: 14.23 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007569/0.9884, allocations: 0.5906 MB / 1.165 GB, free: 13.63 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.9885, allocations: 40 kB / 1.165 GB, free: 13.59 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008769/0.9894, allocations: 355.6 kB / 1.166 GB, free: 13.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.9897, allocations: 274.7 kB / 1.166 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.99, allocations: 296.8 kB / 1.166 GB, free: 12.68 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001782/0.9918, allocations: 1.804 MB / 1.168 GB, free: 10.88 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9918, allocations: 3.938 kB / 1.168 GB, free: 10.87 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9918, allocations: 0 / 1.168 GB, free: 10.87 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.102e-05/0.9918, allocations: 0 / 1.168 GB, free: 10.87 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003411/0.9952, allocations: 1.693 MB / 1.17 GB, free: 9.117 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.9953, allocations: 8.031 kB / 1.17 GB, free: 9.109 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009665/0.9963, allocations: 269.6 kB / 1.17 GB, free: 8.844 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9976, allocations: 0.9381 MB / 1.171 GB, free: 7.859 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.9977, allocations: 115.1 kB / 1.171 GB, free: 7.746 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.9979, allocations: 148 kB / 1.171 GB, free: 7.602 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/1.001, allocations: 1.576 MB / 1.173 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.726e-05/1.001, allocations: 0 / 1.173 GB, free: 5.969 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/1.001, allocations: 71.92 kB / 1.173 GB, free: 5.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/1.001, allocations: 36 kB / 1.173 GB, free: 5.863 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/1.003, allocations: 1.631 MB / 1.174 GB, free: 4.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/1.01, allocations: 4.173 MB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/1.012, allocations: 1.188 MB / 1.18 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000877/1.013, allocations: 475.7 kB / 1.18 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001265/1.013, allocations: 49.06 kB / 1.18 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/1.015, allocations: 0.7941 MB / 1.181 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=128): time 3.517e-06/1.015, allocations: 0 / 1.181 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of matching and sorting (n=128): time 0.004233/1.019, allocations: 1.834 MB / 1.183 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/1.019, allocations: 205.1 kB / 1.183 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/1.02, allocations: 0.8575 MB / 1.184 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/1.021, allocations: 53.7 kB / 1.184 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005287/1.021, allocations: 0.6053 MB / 1.184 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003586/1.021, allocations: 406.2 kB / 1.185 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.473e-05/1.022, allocations: 28 kB / 1.185 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.022, allocations: 353.9 kB / 1.185 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008048/1.023, allocations: 446.4 kB / 1.185 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009034/1.023, allocations: 0.561 MB / 1.186 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009038/1.024, allocations: 498.3 kB / 1.187 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.024, allocations: 0 / 1.187 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002636/1.027, allocations: 1.34 MB / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.224e-05/1.027, allocations: 4.062 kB / 1.188 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.027, allocations: 4 kB / 1.188 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005467/1.028, allocations: 88.77 kB / 1.188 GB, free: 6.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/1.029, allocations: 271.6 kB / 1.188 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.031, allocations: 1.528 MB / 1.19 GB, free: 4.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.032, allocations: 160.4 kB / 1.19 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/1.032, allocations: 63.94 kB / 1.19 GB, free: 3.906 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.incAngHor.decAng.tNext,incAngHor.decAng.tNext,$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.incAngNor.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngEas.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 (157): * Single equations (assignments): 156 * 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.0007158/1.033, allocations: 353.7 kB / 1.19 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/1.033, allocations: 122.5 kB / 1.19 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/1.036, allocations: 1.721 MB / 1.192 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/1.036, allocations: 23.94 kB / 1.192 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/1.037, allocations: 0 / 1.192 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.037, allocations: 3.984 kB / 1.192 GB, free: 1.664 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/1.038, allocations: 1.408 MB / 1.193 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/1.038, allocations: 0 / 1.193 GB, free: 212 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000891/1.039, allocations: 215.8 kB / 1.194 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/1.04, allocations: 88.66 kB / 1.194 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-05/1.04, allocations: 39.97 kB / 1.194 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001783/1.042, allocations: 1.563 MB / 1.195 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.042, allocations: 7.969 kB / 1.195 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002664/1.044, allocations: 1.406 MB / 1.197 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006279/1.045, allocations: 410.7 kB / 1.197 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/1.045, allocations: 28 kB / 1.197 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/1.046, allocations: 115.8 kB / 1.197 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/1.046, allocations: 109.1 kB / 1.197 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/1.046, allocations: 59.95 kB / 1.197 GB, free: 12 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008683/1.047, allocations: 0.6347 MB / 1.198 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.71e-07/1.047, allocations: 0 / 1.198 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001159/1.048, allocations: 462.6 kB / 1.198 GB, free: 10.91 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001351/1.05, allocations: 0.6204 MB / 1.199 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002396/1.052, allocations: 1.263 MB / 1.2 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.052, allocations: 4.062 kB / 1.2 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/1.053, allocations: 0.7361 MB / 1.201 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/1.055, allocations: 292.9 kB / 1.201 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/1.06, allocations: 3.378 MB / 1.205 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/1.061, allocations: 1.239 MB / 1.206 GB, free: 3.469 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/1.062, allocations: 175.3 kB / 1.206 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of SimCode: time 1.483e-06/1.062, allocations: 0 / 1.206 GB, free: 3.301 MB / 0.9512 GB Notification: Performance of Templates: time 0.0392/1.101, allocations: 27.23 MB / 1.233 GB, free: 8.141 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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/Buildings 11.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/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o] Error 1