Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009948/0.0009948, allocations: 92.08 kB / 16.02 MB, free: 80 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.000962/0.0009618, allocations: 180.7 kB / 16.92 MB, free: 6.652 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.538/1.538, allocations: 223.2 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001923/0.001923, allocations: 270.9 kB / 292.3 MB, free: 1.766 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9938/0.9938, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004772/0.0004773, allocations: 13.09 kB / 0.5993 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005269/0.2425, allocations: 3.898 MB / 0.6896 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.6915/0.9341, allocations: 146.6 MB / 0.8328 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008061/0.9349, allocations: 18.72 kB / 0.8328 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.9355, allocations: 130.9 kB / 0.8329 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.9369, allocations: 437.6 kB / 0.8333 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.9391, allocations: 0.7211 MB / 0.834 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001577/0.9406, allocations: 1.2 MB / 0.8352 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.9417, allocations: 0.6019 MB / 0.8358 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.9423, allocations: 331.9 kB / 0.8361 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.9429, allocations: 377 kB / 0.8365 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.559e-05/0.943, allocations: 26.66 kB / 0.8365 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008586/0.9438, allocations: 368.3 kB / 0.8368 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002101/0.944, allocations: 185.4 kB / 0.837 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004886/0.9445, allocations: 459.3 kB / 0.8375 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.9457, allocations: 1.163 MB / 0.8386 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9457, allocations: 0 / 0.8386 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9457, allocations: 0 / 0.8386 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.9458, allocations: 0 / 0.8386 GB, free: 9.367 MB / 0.5606 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.002256/0.948, allocations: 1.201 MB / 0.8398 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.9481, allocations: 8.812 kB / 0.8398 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008864/0.949, allocations: 193.7 kB / 0.84 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.95, allocations: 0.7425 MB / 0.8407 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/0.9501, allocations: 61.38 kB / 0.8407 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.9502, allocations: 81 kB / 0.8408 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.9518, allocations: 0.9193 MB / 0.8417 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.9518, allocations: 7.938 kB / 0.8417 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.9519, allocations: 36.97 kB / 0.8418 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/0.952, allocations: 24.47 kB / 0.8418 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/0.9539, allocations: 1.114 MB / 0.8429 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/0.9581, allocations: 2.558 MB / 0.8454 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.9596, allocations: 0.8972 MB / 0.8462 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005441/0.9602, allocations: 313.7 kB / 0.8465 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.532e-05/0.9603, allocations: 26.47 kB / 0.8466 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000881/0.9611, allocations: 0.4925 MB / 0.8471 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.9612, allocations: 3.938 kB / 0.8471 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003064/0.9642, allocations: 1.21 MB / 0.8482 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001802/0.9644, allocations: 186.8 kB / 0.8484 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007933/0.9652, allocations: 0.632 MB / 0.849 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.9653, allocations: 40.2 kB / 0.8491 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003123/0.9656, allocations: 391.2 kB / 0.8494 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.9658, allocations: 252.9 kB / 0.8497 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.911e-05/0.9659, allocations: 74.33 kB / 0.8498 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001929/0.9661, allocations: 391.3 kB / 0.8501 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.9666, allocations: 271.2 kB / 0.8504 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007022/0.9674, allocations: 365.2 kB / 0.8507 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.9684, allocations: 0.6174 MB / 0.8513 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.9685, allocations: 4 kB / 0.8513 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001859/0.9703, allocations: 0.8493 MB / 0.8522 GB, free: 176 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.9704, allocations: 5.219 kB / 0.8522 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.9704, allocations: 2.875 kB / 0.8522 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.971, allocations: 84.28 kB / 0.8523 GB, free: 132 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.9716, allocations: 169.2 kB / 0.8524 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/0.9738, allocations: 1.53 MB / 0.8539 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.9745, allocations: 106.1 kB / 0.854 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.9745, allocations: 34.12 kB / 0.8541 GB, free: 14.5 MB / 0.5762 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004897/0.975, allocations: 276.2 kB / 0.8543 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.9752, allocations: 85.72 kB / 0.8544 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.9776, allocations: 1.065 MB / 0.8554 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9776, allocations: 8.219 kB / 0.8554 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.9776, allocations: 7.938 kB / 0.8555 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.9776, allocations: 6.672 kB / 0.8555 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003175/0.9808, allocations: 1.959 MB / 0.8574 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9808, allocations: 3.938 kB / 0.8574 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.9813, allocations: 145.6 kB / 0.8575 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004843/0.9818, allocations: 87.48 kB / 0.8576 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.9819, allocations: 32.69 kB / 0.8576 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/0.9841, allocations: 1.556 MB / 0.8592 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9841, allocations: 0 / 0.8592 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.986, allocations: 1.003 MB / 0.8601 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.9865, allocations: 289.4 kB / 0.8604 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.9866, allocations: 17.06 kB / 0.8604 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006592/0.9873, allocations: 82.28 kB / 0.8605 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.9875, allocations: 78.7 kB / 0.8606 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.9876, allocations: 29.73 kB / 0.8606 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006828/0.9882, allocations: 454.9 kB / 0.861 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.41e-07/0.9883, allocations: 0 / 0.861 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001053/0.9893, allocations: 308.7 kB / 0.8613 GB, free: 9.441 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.991, allocations: 0.6001 MB / 0.8619 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001781/0.9928, allocations: 0.8408 MB / 0.8627 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9928, allocations: 0 / 0.8627 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.9939, allocations: 0.5168 MB / 0.8632 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.9953, allocations: 268.7 kB / 0.8635 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/1.001, allocations: 2.26 MB / 0.8657 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001359/1.002, allocations: 1.015 MB / 0.8667 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/1.003, allocations: 114 kB / 0.8668 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/1.003, allocations: 2.562 kB / 0.8668 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of Templates: time 0.043/1.046, allocations: 18.21 MB / 0.8846 GB, free: 3.805 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngleCalcHelperMain.o] Error 1