Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|incAngHor.y|incAngNor.y|incAngWes.y|incAngSou.y|incAngEas.y",fileNamePrefix="Buildings_9_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_9_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.00123/0.00123, allocations: 102.1 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.00179/0.001789, allocations: 170.6 kB / 16.58 MB, free: 6.402 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.543/1.543, allocations: 223.3 MB / 240.6 MB, free: 5.332 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.619/2.619, allocations: 390.5 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004081/0.0004081, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9074/0.9078, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.005508/0.9134, allocations: 4.715 MB / 0.959 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1771/1.091, allocations: 137.3 MB / 1.093 GB, free: 1.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009136/1.091, allocations: 23.88 kB / 1.093 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/1.092, allocations: 150.7 kB / 1.093 GB, free: 1.559 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.00163/1.094, allocations: 0.5531 MB / 1.094 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/1.096, allocations: 0.737 MB / 1.095 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002305/1.098, allocations: 1.639 MB / 1.096 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/1.099, allocations: 0.8322 MB / 1.097 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008196/1.1, allocations: 0.5326 MB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007228/1.101, allocations: 0.5828 MB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/1.101, allocations: 44 kB / 1.098 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008465/1.102, allocations: 351.7 kB / 1.098 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002961/1.102, allocations: 274.7 kB / 1.099 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002878/1.102, allocations: 296.8 kB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001864/1.104, allocations: 1.804 MB / 1.101 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.104, allocations: 0 / 1.101 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.063e-06/1.104, allocations: 0 / 1.101 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.064e-05/1.104, allocations: 0 / 1.101 GB, free: 9.895 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003637/1.108, allocations: 1.703 MB / 1.102 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/1.108, allocations: 12.02 kB / 1.102 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/1.109, allocations: 261.7 kB / 1.103 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/1.111, allocations: 0.9303 MB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/1.111, allocations: 119.1 kB / 1.104 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/1.111, allocations: 148 kB / 1.104 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.114, allocations: 1.572 MB / 1.105 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/1.114, allocations: 4 kB / 1.105 GB, free: 4.988 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.114, allocations: 67.95 kB / 1.105 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-05/1.114, allocations: 40 kB / 1.105 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/1.117, allocations: 1.639 MB / 1.107 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006373/1.123, allocations: 4.168 MB / 1.111 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/1.125, allocations: 1.19 MB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007722/1.126, allocations: 471.7 kB / 1.113 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/1.126, allocations: 45.08 kB / 1.113 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/1.128, allocations: 0.7783 MB / 1.114 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=128): time 2.675e-06/1.128, allocations: 0 / 1.114 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of matching and sorting (n=128): time 0.003904/1.132, allocations: 1.849 MB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.132, allocations: 201.2 kB / 1.116 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/1.133, allocations: 0.8536 MB / 1.116 GB, free: 9.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.553e-05/1.133, allocations: 57.69 kB / 1.116 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/1.133, allocations: 0.6092 MB / 1.117 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/1.134, allocations: 406.2 kB / 1.117 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-05/1.134, allocations: 24 kB / 1.117 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.134, allocations: 353.9 kB / 1.118 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008044/1.135, allocations: 450.4 kB / 1.118 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008985/1.136, allocations: 0.5571 MB / 1.119 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/1.137, allocations: 0.4905 MB / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/1.137, allocations: 0 / 1.119 GB, free: 6.539 MB / 0.8731 GB Notification: Performance of matching and sorting (n=159) (initialization): time 0.002611/1.139, allocations: 1.332 MB / 1.12 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.139, allocations: 7.984 kB / 1.121 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.139, allocations: 4.062 kB / 1.121 GB, free: 5.184 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000528/1.14, allocations: 84.77 kB / 1.121 GB, free: 5.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/1.141, allocations: 275.6 kB / 1.121 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/1.143, allocations: 1.532 MB / 1.122 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.144, allocations: 166.8 kB / 1.123 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/1.145, allocations: 55.95 kB / 1.123 GB, free: 2.938 MB / 0.8731 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.0008628/1.145, allocations: 361.8 kB / 1.123 GB, free: 2.574 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/1.146, allocations: 126.5 kB / 1.123 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003666/1.149, allocations: 1.721 MB / 1.125 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.149, allocations: 12 kB / 1.125 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.149, allocations: 3.938 kB / 1.125 GB, free: 0.6953 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.149, allocations: 3.984 kB / 1.125 GB, free: 0.6914 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001793/1.151, allocations: 1.412 MB / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.151, allocations: 0 / 1.126 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008654/1.152, allocations: 215.7 kB / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/1.153, allocations: 92.77 kB / 1.126 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/1.153, allocations: 31.97 kB / 1.126 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/1.154, allocations: 1.56 MB / 1.128 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.154, allocations: 0 / 1.128 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002608/1.157, allocations: 1.406 MB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006106/1.158, allocations: 410.8 kB / 1.13 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.158, allocations: 28 kB / 1.13 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/1.159, allocations: 116.5 kB / 1.13 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/1.159, allocations: 117.1 kB / 1.13 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.159, allocations: 55.95 kB / 1.13 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008327/1.16, allocations: 0.6347 MB / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/1.16, allocations: 0 / 1.131 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001177/1.161, allocations: 466.6 kB / 1.131 GB, free: 9.926 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: 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.001331/1.162, allocations: 0.6242 MB / 1.132 GB, free: 9.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00236/1.165, allocations: 1.259 MB / 1.133 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.165, allocations: 4.188 kB / 1.133 GB, free: 8.203 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.166, allocations: 0.744 MB / 1.134 GB, free: 7.449 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.167, allocations: 290.8 kB / 1.134 GB, free: 7.172 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/1.173, allocations: 3.375 MB / 1.137 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/1.173, allocations: 1.235 MB / 1.138 GB, free: 2.496 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004922/1.174, allocations: 171.3 kB / 1.139 GB, free: 2.328 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/1.174, allocations: 3.938 kB / 1.139 GB, free: 2.324 MB / 0.8887 GB Notification: Performance of Templates: time 0.03771/1.212, allocations: 27.25 MB / 1.165 GB, free: 7.148 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile make -j1 -f Buildings_9_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 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.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngleCalcHelperMain.o] Error 1