Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 99.75 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.001038/0.001038, 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.482/1.482, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.802/2.802, allocations: 436.7 MB / 0.7114 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 8 kB / 0.8717 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8322/0.8325, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.004999/0.8375, allocations: 3.795 MB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.172/1.01, allocations: 136.8 MB / 1.159 GB, free: 4.109 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009724/1.011, allocations: 19.88 kB / 1.159 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/1.011, allocations: 135 kB / 1.159 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001539/1.013, allocations: 433.4 kB / 1.16 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001969/1.015, allocations: 0.6279 MB / 1.16 GB, free: 2.914 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001517/1.016, allocations: 1.156 MB / 1.161 GB, free: 1.754 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009691/1.017, allocations: 0.4914 MB / 1.162 GB, free: 1.242 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/1.018, allocations: 346.4 kB / 1.162 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005041/1.018, allocations: 370.1 kB / 1.162 GB, free: 0.5391 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.928e-05/1.019, allocations: 32 kB / 1.163 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/1.019, allocations: 343.6 kB / 1.163 GB, free: 176 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002386/1.02, allocations: 183.2 kB / 1.163 GB, free: 15.99 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002124/1.02, allocations: 193.1 kB / 1.163 GB, free: 15.79 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/1.021, allocations: 1.181 MB / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.021, allocations: 0 / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.993e-06/1.021, allocations: 0 / 1.164 GB, free: 14.61 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.021, allocations: 0 / 1.164 GB, free: 14.61 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002471/1.024, allocations: 1.241 MB / 1.166 GB, free: 13.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.024, allocations: 11.98 kB / 1.166 GB, free: 13.31 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008591/1.025, allocations: 198.5 kB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/1.026, allocations: 0.731 MB / 1.166 GB, free: 12.34 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/1.026, allocations: 65.98 kB / 1.167 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/1.026, allocations: 84 kB / 1.167 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.028, allocations: 0.9495 MB / 1.168 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.028, allocations: 7.922 kB / 1.168 GB, free: 11.2 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/1.028, allocations: 36 kB / 1.168 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/1.028, allocations: 20 kB / 1.168 GB, free: 11.14 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/1.03, allocations: 1.124 MB / 1.169 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004554/1.035, allocations: 2.562 MB / 1.171 GB, free: 7.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/1.036, allocations: 0.911 MB / 1.172 GB, free: 6.461 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/1.037, allocations: 314.1 kB / 1.172 GB, free: 6.152 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.523e-05/1.037, allocations: 34.39 kB / 1.172 GB, free: 6.117 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009926/1.038, allocations: 0.5197 MB / 1.173 GB, free: 5.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 2.885e-06/1.038, allocations: 0 / 1.173 GB, free: 5.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=84): time 0.003075/1.041, allocations: 1.255 MB / 1.174 GB, free: 4.297 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/1.041, allocations: 196.8 kB / 1.174 GB, free: 4.062 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/1.042, allocations: 0.637 MB / 1.175 GB, free: 3.414 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.043e-05/1.042, allocations: 45.7 kB / 1.175 GB, free: 3.363 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/1.043, allocations: 400.4 kB / 1.175 GB, free: 2.965 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/1.043, allocations: 272.2 kB / 1.176 GB, free: 2.695 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/1.043, allocations: 16 kB / 1.176 GB, free: 2.68 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002454/1.043, allocations: 382.8 kB / 1.176 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/1.044, allocations: 277.8 kB / 1.176 GB, free: 2.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006423/1.045, allocations: 375.1 kB / 1.177 GB, free: 1.645 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006225/1.045, allocations: 318.9 kB / 1.177 GB, free: 1.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.045, allocations: 0 / 1.177 GB, free: 1.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001979/1.047, allocations: 0.8876 MB / 1.178 GB, free: 444 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/1.047, allocations: 8 kB / 1.178 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.047, allocations: 0 / 1.178 GB, free: 436 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005976/1.048, allocations: 80.88 kB / 1.178 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/1.049, allocations: 171.7 kB / 1.178 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.051, allocations: 1.516 MB / 1.18 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/1.052, allocations: 111.3 kB / 1.18 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/1.052, allocations: 39.97 kB / 1.18 GB, free: 14.38 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: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,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,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 (99): * Single equations (assignments): 98 * 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.0005809/1.052, allocations: 263.8 kB / 1.18 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/1.052, allocations: 98.84 kB / 1.18 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002512/1.055, allocations: 1.144 MB / 1.181 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/1.055, allocations: 12 kB / 1.181 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.055, allocations: 0 / 1.181 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/1.055, allocations: 3.984 kB / 1.181 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/1.059, allocations: 2.021 MB / 1.183 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/1.059, allocations: 7.953 kB / 1.183 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/1.059, allocations: 155.8 kB / 1.183 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004639/1.06, allocations: 84.78 kB / 1.183 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/1.06, allocations: 31.91 kB / 1.183 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001881/1.062, allocations: 1.54 MB / 1.185 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.062, allocations: 4.062 kB / 1.185 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.064, allocations: 1.047 MB / 1.186 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/1.064, allocations: 295.6 kB / 1.186 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/1.065, allocations: 24 kB / 1.186 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006263/1.065, allocations: 84.94 kB / 1.186 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/1.065, allocations: 72.89 kB / 1.186 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/1.065, allocations: 39.97 kB / 1.186 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000608/1.066, allocations: 463 kB / 1.187 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.894e-06/1.066, allocations: 0 / 1.187 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0009989/1.067, allocations: 323.2 kB / 1.187 GB, free: 6.438 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001424/1.069, allocations: 0.6128 MB / 1.188 GB, free: 6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001815/1.07, allocations: 0.8625 MB / 1.189 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.07, allocations: 3.984 kB / 1.189 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009262/1.071, allocations: 0.5394 MB / 1.189 GB, free: 4.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.073, allocations: 258.4 kB / 1.189 GB, free: 4.324 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00448/1.077, allocations: 2.278 MB / 1.192 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/1.078, allocations: 1.038 MB / 1.193 GB, free: 0.9453 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004162/1.078, allocations: 127.3 kB / 1.193 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of SimCode: time 1.302e-06/1.078, allocations: 0 / 1.193 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of Templates: time 0.03092/1.109, allocations: 18.68 MB / 1.211 GB, free: 14.18 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.BaseClasses.Examples.ZenithAngleCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngleCalcHelperMain.o] Error 1