Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.y",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 102.4 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.001741/0.001741, allocations: 175.5 kB / 16.58 MB, free: 6.039 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.525/1.525, 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.554/2.554, allocations: 390.4 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003675, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004779/0.8235, allocations: 3.703 MB / 0.958 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1606/0.9842, allocations: 136.8 MB / 1.092 GB, free: 3.273 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007693/0.985, allocations: 11.94 kB / 1.092 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.9855, allocations: 134.9 kB / 1.092 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.9869, allocations: 417.8 kB / 1.092 GB, free: 2.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.9886, allocations: 0.6288 MB / 1.093 GB, free: 2.102 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.9898, allocations: 1.121 MB / 1.094 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.9905, allocations: 479.3 kB / 1.094 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004743/0.991, allocations: 322.5 kB / 1.095 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.9914, allocations: 362.2 kB / 1.095 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.405e-05/0.9915, allocations: 24 kB / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007301/0.9922, allocations: 343.6 kB / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.9924, allocations: 179.2 kB / 1.095 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.9926, allocations: 193.1 kB / 1.096 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.9937, allocations: 1.165 MB / 1.097 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.9937, allocations: 3.984 kB / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9937, allocations: 0 / 1.097 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.9937, allocations: 4 kB / 1.097 GB, free: 13.92 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001993/0.9957, allocations: 1.2 MB / 1.098 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.9958, allocations: 12.03 kB / 1.098 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007896/0.9966, allocations: 190.6 kB / 1.098 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009779/0.9976, allocations: 0.7186 MB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.9976, allocations: 58 kB / 1.099 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.587e-05/0.9977, allocations: 80 kB / 1.099 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9992, allocations: 0.9145 MB / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.9992, allocations: 0 / 1.1 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.9993, allocations: 43.89 kB / 1.1 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.9993, allocations: 28 kB / 1.1 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/1.001, allocations: 1.104 MB / 1.101 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003612/1.005, allocations: 2.552 MB / 1.104 GB, free: 6.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/1.006, allocations: 0.8925 MB / 1.104 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004897/1.007, allocations: 302.7 kB / 1.105 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.058e-05/1.007, allocations: 32.61 kB / 1.105 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008164/1.007, allocations: 0.4951 MB / 1.105 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=79): time 2.395e-06/1.007, allocations: 0 / 1.105 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=79): time 0.002728/1.01, allocations: 1.194 MB / 1.106 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.921e-05/1.01, allocations: 200.6 kB / 1.107 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/1.011, allocations: 0.6213 MB / 1.107 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/1.011, allocations: 41.7 kB / 1.107 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002996/1.011, allocations: 388.4 kB / 1.108 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/1.012, allocations: 252.4 kB / 1.108 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/1.012, allocations: 16 kB / 1.108 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.012, allocations: 386.7 kB / 1.108 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000488/1.012, allocations: 277.8 kB / 1.108 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/1.013, allocations: 359.1 kB / 1.109 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/1.013, allocations: 306.9 kB / 1.109 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.013, allocations: 0 / 1.109 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001675/1.015, allocations: 0.8488 MB / 1.11 GB, free: 84 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.015, allocations: 8 kB / 1.11 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.015, allocations: 3.938 kB / 1.11 GB, free: 72 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/1.016, allocations: 84.92 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/1.016, allocations: 163.7 kB / 1.11 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/1.018, allocations: 1.533 MB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000991/1.019, allocations: 103.4 kB / 1.112 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.743e-05/1.02, allocations: 39.97 kB / 1.112 GB, free: 14.01 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: 17 ($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,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 (93): * Single equations (assignments): 92 * 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.0008252/1.02, allocations: 271.3 kB / 1.112 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/1.021, allocations: 86.97 kB / 1.112 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/1.023, allocations: 1.073 MB / 1.113 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.637e-05/1.023, allocations: 8 kB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.023, allocations: 0 / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.674e-05/1.023, allocations: 7.984 kB / 1.113 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/1.027, allocations: 1.946 MB / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/1.027, allocations: 0 / 1.115 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005365/1.027, allocations: 155.7 kB / 1.115 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/1.028, allocations: 80.78 kB / 1.115 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/1.028, allocations: 27.97 kB / 1.115 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/1.03, allocations: 1.552 MB / 1.117 GB, free: 8.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.03, allocations: 3.953 kB / 1.117 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/1.031, allocations: 0.9961 MB / 1.118 GB, free: 7.57 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003891/1.032, allocations: 291.6 kB / 1.118 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/1.032, allocations: 23.95 kB / 1.118 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/1.032, allocations: 81.34 kB / 1.118 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/1.033, allocations: 68.89 kB / 1.118 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/1.033, allocations: 35.98 kB / 1.118 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005699/1.033, allocations: 447 kB / 1.119 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/1.033, allocations: 0 / 1.119 GB, free: 6.633 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009294/1.034, allocations: 319.2 kB / 1.119 GB, free: 6.32 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001332/1.036, allocations: 0.5852 MB / 1.12 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001629/1.037, allocations: 0.8314 MB / 1.12 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.037, allocations: 4 kB / 1.12 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008528/1.038, allocations: 0.5119 MB / 1.121 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/1.039, allocations: 260.4 kB / 1.121 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/1.043, allocations: 2.21 MB / 1.123 GB, free: 2.051 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/1.044, allocations: 1.02 MB / 1.124 GB, free: 1.008 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.044, allocations: 115.3 kB / 1.124 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of SimCode: time 1.042e-06/1.044, allocations: 4 kB / 1.124 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of Templates: time 0.02972/1.074, allocations: 18.24 MB / 1.142 GB, free: 14.69 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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 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.ZenithAngleCalcHelperMain.o OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1