Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0007336/0.0007335, allocations: 102.7 kB / 15.71 MB, free: 460 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.00102/0.00102, allocations: 175 kB / 16.58 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.439/1.439, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.54/2.54, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003717, allocations: 12 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8622/0.8626, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005653/0.8683, allocations: 4.606 MB / 0.9589 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1939/1.062, allocations: 137.2 MB / 1.093 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001439/1.064, allocations: 19.94 kB / 1.093 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0006207/1.064, allocations: 154.7 kB / 1.093 GB, free: 1.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/1.066, allocations: 0.517 MB / 1.094 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/1.069, allocations: 0.7418 MB / 1.094 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001899/1.071, allocations: 1.556 MB / 1.096 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/1.072, allocations: 0.9271 MB / 1.097 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007649/1.073, allocations: 497.5 kB / 1.097 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/1.073, allocations: 0.5418 MB / 1.098 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/1.073, allocations: 36 kB / 1.098 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009068/1.074, allocations: 343.7 kB / 1.098 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000265/1.075, allocations: 262.7 kB / 1.098 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002616/1.075, allocations: 300.8 kB / 1.099 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001747/1.077, allocations: 1.886 MB / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.077, allocations: 0 / 1.1 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/1.077, allocations: 4 kB / 1.1 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.054e-05/1.077, allocations: 0 / 1.1 GB, free: 10.17 MB / 0.8575 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.003107/1.08, allocations: 1.667 MB / 1.102 GB, free: 8.453 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.08, allocations: 8.031 kB / 1.102 GB, free: 8.445 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009259/1.081, allocations: 265.6 kB / 1.102 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/1.082, allocations: 0.9383 MB / 1.103 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/1.082, allocations: 144.8 kB / 1.103 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001976/1.082, allocations: 152 kB / 1.104 GB, free: 6.902 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/1.085, allocations: 1.585 MB / 1.105 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/1.085, allocations: 7.891 kB / 1.105 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/1.085, allocations: 64 kB / 1.105 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/1.085, allocations: 36 kB / 1.105 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/1.088, allocations: 1.596 MB / 1.107 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007385/1.095, allocations: 4.295 MB / 1.111 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/1.098, allocations: 1.081 MB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/1.099, allocations: 435.7 kB / 1.112 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/1.099, allocations: 40.86 kB / 1.112 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/1.1, allocations: 0.7035 MB / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=111): time 3.065e-06/1.1, allocations: 0 / 1.113 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=111): time 0.003745/1.104, allocations: 1.643 MB / 1.115 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/1.104, allocations: 196.9 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.105, allocations: 0.8414 MB / 1.116 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.401e-05/1.105, allocations: 45.7 kB / 1.116 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005556/1.106, allocations: 0.6207 MB / 1.116 GB, free: 9.469 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003418/1.106, allocations: 362.8 kB / 1.117 GB, free: 9.109 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/1.106, allocations: 20 kB / 1.117 GB, free: 9.09 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.106, allocations: 349.9 kB / 1.117 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007418/1.107, allocations: 394.4 kB / 1.117 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008502/1.108, allocations: 0.511 MB / 1.118 GB, free: 7.828 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/1.109, allocations: 450.3 kB / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.109, allocations: 0 / 1.118 GB, free: 7.387 MB / 0.8731 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002432/1.111, allocations: 1.199 MB / 1.12 GB, free: 6.176 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.111, allocations: 5.094 kB / 1.12 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.111, allocations: 4 kB / 1.12 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00056/1.112, allocations: 88.78 kB / 1.12 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/1.113, allocations: 239.6 kB / 1.12 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/1.115, allocations: 1.532 MB / 1.121 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/1.116, allocations: 147 kB / 1.121 GB, free: 4.031 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/1.116, allocations: 47.95 kB / 1.122 GB, free: 3.984 MB / 0.8731 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.0009684/1.117, allocations: 364.1 kB / 1.122 GB, free: 3.621 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/1.118, allocations: 110.6 kB / 1.122 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003241/1.121, allocations: 1.555 MB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/1.121, allocations: 12 kB / 1.124 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/1.121, allocations: 0 / 1.124 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/1.121, allocations: 7.969 kB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/1.123, allocations: 1.38 MB / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.123, allocations: 0 / 1.125 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/1.124, allocations: 195.7 kB / 1.125 GB, free: 312 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/1.124, allocations: 84.77 kB / 1.125 GB, free: 224 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/1.124, allocations: 35.97 kB / 1.125 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001942/1.126, allocations: 1.559 MB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.126, allocations: 0 / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/1.129, allocations: 1.281 MB / 1.128 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00062/1.129, allocations: 387 kB / 1.128 GB, free: 12.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.13, allocations: 28.06 kB / 1.128 GB, free: 12.75 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008121/1.13, allocations: 108.7 kB / 1.128 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/1.131, allocations: 97.17 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/1.131, allocations: 51.95 kB / 1.129 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009704/1.132, allocations: 0.6096 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.132, allocations: 0 / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001229/1.133, allocations: 450.4 kB / 1.13 GB, free: 11.44 MB / 0.8887 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.001472/1.135, allocations: 0.62 MB / 1.13 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002238/1.137, allocations: 1.146 MB / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.137, allocations: 256 / 1.131 GB, free: 9.832 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/1.138, allocations: 0.6777 MB / 1.132 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.139, allocations: 285.3 kB / 1.132 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/1.145, allocations: 3.287 MB / 1.135 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.146, allocations: 1.218 MB / 1.137 GB, free: 4.297 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000636/1.147, allocations: 159.3 kB / 1.137 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of SimCode: time 1.453e-06/1.147, allocations: 0 / 1.137 GB, free: 4.141 MB / 0.8887 GB Notification: Performance of Templates: time 0.03913/1.186, allocations: 26.63 MB / 1.163 GB, free: 9.578 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f Buildings_9_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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1