Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000942/0.0009421, 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.001036/0.001036, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.439/1.439, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.708/2.708, allocations: 436.7 MB / 0.7113 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 12 kB / 0.8717 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.865, allocations: 153.7 MB / 1.022 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005751/0.8708, allocations: 4.613 MB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1674/1.038, allocations: 137.2 MB / 1.16 GB, free: 2.961 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009199/1.039, allocations: 19.88 kB / 1.16 GB, free: 2.941 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000533/1.04, allocations: 150.8 kB / 1.16 GB, free: 2.793 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001586/1.041, allocations: 0.519 MB / 1.161 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002009/1.043, allocations: 0.751 MB / 1.162 GB, free: 1.535 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001734/1.045, allocations: 1.557 MB / 1.163 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001192/1.046, allocations: 0.9386 MB / 1.164 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007291/1.047, allocations: 489.5 kB / 1.164 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/1.048, allocations: 0.5361 MB / 1.165 GB, free: 13.99 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.784e-05/1.048, allocations: 39.98 kB / 1.165 GB, free: 13.95 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000796/1.049, allocations: 347.6 kB / 1.165 GB, free: 13.61 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/1.049, allocations: 258.7 kB / 1.166 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/1.049, allocations: 296.8 kB / 1.166 GB, free: 13.06 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001676/1.051, allocations: 1.882 MB / 1.168 GB, free: 11.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/1.051, allocations: 4 kB / 1.168 GB, free: 11.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.323e-06/1.051, allocations: 0 / 1.168 GB, free: 11.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.823e-05/1.051, allocations: 0 / 1.168 GB, free: 11.17 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003086/1.054, allocations: 1.667 MB / 1.169 GB, free: 9.449 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.054, allocations: 15.98 kB / 1.169 GB, free: 9.434 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009474/1.055, allocations: 265.6 kB / 1.17 GB, free: 9.172 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/1.056, allocations: 0.9421 MB / 1.171 GB, free: 8.184 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/1.057, allocations: 152.8 kB / 1.171 GB, free: 8.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001718/1.057, allocations: 152 kB / 1.171 GB, free: 7.879 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/1.059, allocations: 1.577 MB / 1.172 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/1.059, allocations: 0 / 1.172 GB, free: 6.246 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/1.059, allocations: 72 kB / 1.172 GB, free: 6.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/1.06, allocations: 36 kB / 1.172 GB, free: 6.141 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/1.062, allocations: 1.588 MB / 1.174 GB, free: 4.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006486/1.068, allocations: 4.28 MB / 1.178 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/1.07, allocations: 1.086 MB / 1.179 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007048/1.071, allocations: 427.7 kB / 1.18 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/1.071, allocations: 49.08 kB / 1.18 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/1.072, allocations: 0.7074 MB / 1.18 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=111): time 2.444e-06/1.072, allocations: 0 / 1.18 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=111): time 0.003663/1.076, allocations: 1.657 MB / 1.182 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.076, allocations: 192.9 kB / 1.182 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/1.077, allocations: 0.8337 MB / 1.183 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/1.077, allocations: 53.69 kB / 1.183 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/1.078, allocations: 0.6167 MB / 1.184 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003079/1.078, allocations: 354.8 kB / 1.184 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/1.078, allocations: 20 kB / 1.184 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.078, allocations: 353.9 kB / 1.184 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008379/1.079, allocations: 394.4 kB / 1.185 GB, free: 9.355 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008236/1.08, allocations: 0.515 MB / 1.185 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/1.081, allocations: 442.3 kB / 1.186 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.081, allocations: 0 / 1.186 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002453/1.083, allocations: 1.207 MB / 1.187 GB, free: 7.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/1.083, allocations: 9.719 kB / 1.187 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.083, allocations: 4.062 kB / 1.187 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005532/1.084, allocations: 88.83 kB / 1.187 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/1.085, allocations: 227.7 kB / 1.187 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.087, allocations: 1.536 MB / 1.189 GB, free: 5.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.088, allocations: 152.5 kB / 1.189 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-05/1.088, allocations: 51.95 kB / 1.189 GB, free: 4.969 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.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 (135): * Single equations (assignments): 134 * 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.0006794/1.089, allocations: 352.2 kB / 1.189 GB, free: 4.613 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/1.089, allocations: 106.7 kB / 1.189 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/1.092, allocations: 1.551 MB / 1.191 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.092, allocations: 16 kB / 1.191 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/1.092, allocations: 0 / 1.191 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/1.092, allocations: 3.984 kB / 1.191 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001686/1.094, allocations: 1.38 MB / 1.192 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/1.094, allocations: 0 / 1.192 GB, free: 1.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/1.095, allocations: 203.7 kB / 1.192 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005002/1.095, allocations: 92.7 kB / 1.192 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.095, allocations: 35.97 kB / 1.192 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/1.097, allocations: 1.548 MB / 1.194 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.097, allocations: 4.031 kB / 1.194 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/1.1, allocations: 1.281 MB / 1.195 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/1.1, allocations: 395 kB / 1.196 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.1, allocations: 27.95 kB / 1.196 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/1.101, allocations: 103.9 kB / 1.196 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/1.101, allocations: 97.17 kB / 1.196 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.101, allocations: 51.95 kB / 1.196 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0008967/1.102, allocations: 0.6096 MB / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of sort global known variables: time 7.71e-07/1.102, allocations: 0 / 1.197 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001592/1.104, allocations: 446.5 kB / 1.197 GB, free: 12.43 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * 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.00177/1.106, allocations: 0.6279 MB / 1.198 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002697/1.108, allocations: 1.142 MB / 1.199 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.109, allocations: 0 / 1.199 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/1.11, allocations: 0.6817 MB / 1.199 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.112, allocations: 290.1 kB / 1.2 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006237/1.118, allocations: 3.28 MB / 1.203 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/1.119, allocations: 1.216 MB / 1.204 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006046/1.12, allocations: 163.3 kB / 1.204 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of SimCode: time 1.473e-06/1.12, allocations: 0 / 1.204 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of Templates: time 0.03974/1.159, allocations: 26.63 MB / 1.23 GB, free: 10.57 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppBuildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1