Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 102.4 kB / 15.71 MB, free: 448 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.001762/0.001763, allocations: 176.3 kB / 16.58 MB, free: 6.879 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.621/1.621, allocations: 223.2 MB / 240.6 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.071/1.071, allocations: 143.4 MB / 435.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8 kB / 0.5166 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 83.42 MB / 0.5981 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005666/0.2239, allocations: 3.583 MB / 0.6016 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6127/0.8367, allocations: 136.7 MB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.8378, allocations: 14.62 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.8384, allocations: 134.2 kB / 0.7352 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.8402, allocations: 387.5 kB / 0.7356 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002519/0.8427, allocations: 0.6317 MB / 0.7362 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001896/0.8447, allocations: 1.034 MB / 0.7372 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.8457, allocations: 0.5249 MB / 0.7378 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.8465, allocations: 304.6 kB / 0.738 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.847, allocations: 325.3 kB / 0.7384 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.8471, allocations: 21.75 kB / 0.7384 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.8481, allocations: 362.4 kB / 0.7387 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.8484, allocations: 167.1 kB / 0.7389 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000196/0.8486, allocations: 187.3 kB / 0.7391 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.8503, allocations: 1.214 MB / 0.7402 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8503, allocations: 0 / 0.7402 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8503, allocations: 0 / 0.7402 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.69e-05/0.8504, allocations: 2.719 kB / 0.7402 GB, free: 8.715 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00234/0.8527, allocations: 1.18 MB / 0.7414 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.8528, allocations: 9.781 kB / 0.7414 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8538, allocations: 228.5 kB / 0.7416 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.8551, allocations: 0.6943 MB / 0.7423 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.846e-05/0.8552, allocations: 68.11 kB / 0.7424 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.8553, allocations: 88.72 kB / 0.7425 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.8571, allocations: 0.9467 MB / 0.7434 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.8572, allocations: 0 / 0.7434 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.8573, allocations: 37.59 kB / 0.7434 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/0.8573, allocations: 25.66 kB / 0.7434 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.8593, allocations: 1.13 MB / 0.7445 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004346/0.8637, allocations: 2.587 MB / 0.7471 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.8652, allocations: 0.8254 MB / 0.7479 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005129/0.8657, allocations: 287.2 kB / 0.7481 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000746/0.8664, allocations: 474.2 kB / 0.7486 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008384/0.8673, allocations: 432.5 kB / 0.749 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.395e-06/0.8673, allocations: 4 kB / 0.749 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003071/0.8704, allocations: 1.108 MB / 0.7501 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.8705, allocations: 188.6 kB / 0.7503 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.8716, allocations: 0.5979 MB / 0.7509 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.649e-05/0.8717, allocations: 47.2 kB / 0.7509 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004177/0.8721, allocations: 400.1 kB / 0.7513 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.8724, allocations: 248.4 kB / 0.7515 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.8724, allocations: 16 kB / 0.7515 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002243/0.8727, allocations: 374.8 kB / 0.7519 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.8732, allocations: 245.9 kB / 0.7521 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005826/0.8738, allocations: 343 kB / 0.7525 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.8744, allocations: 286.9 kB / 0.7527 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8744, allocations: 0 / 0.7527 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001849/0.8762, allocations: 0.798 MB / 0.7535 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.89e-05/0.8763, allocations: 8.938 kB / 0.7535 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.8763, allocations: 4.094 kB / 0.7535 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005494/0.8768, allocations: 84.75 kB / 0.7536 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.8775, allocations: 155.8 kB / 0.7538 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002037/0.8795, allocations: 1.512 MB / 0.7552 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.8802, allocations: 87.33 kB / 0.7553 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.8803, allocations: 31.98 kB / 0.7553 GB, free: 10.19 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (84): * Single equations (assignments): 83 * 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.0005268/0.8808, allocations: 262.4 kB / 0.7556 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.881, allocations: 79.06 kB / 0.7557 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002392/0.8834, allocations: 1.01 MB / 0.7567 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.8834, allocations: 8 kB / 0.7567 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.8834, allocations: 4 kB / 0.7567 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.8834, allocations: 7.922 kB / 0.7567 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.8867, allocations: 1.907 MB / 0.7585 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.8867, allocations: 0 / 0.7585 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.8873, allocations: 147.8 kB / 0.7587 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004443/0.8877, allocations: 84.72 kB / 0.7588 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.8878, allocations: 23.98 kB / 0.7588 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.8899, allocations: 1.544 MB / 0.7603 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8899, allocations: 0 / 0.7603 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.8917, allocations: 0.922 MB / 0.7612 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.8921, allocations: 271.7 kB / 0.7614 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.8922, allocations: 20 kB / 0.7615 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005377/0.8927, allocations: 68.08 kB / 0.7615 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.893, allocations: 64.89 kB / 0.7616 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.893, allocations: 31.98 kB / 0.7616 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005824/0.8936, allocations: 431 kB / 0.762 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8936, allocations: 0 / 0.762 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001107/0.8947, allocations: 323.1 kB / 0.7623 GB, free: 2.762 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: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00147/0.8962, allocations: 0.6172 MB / 0.7629 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.8979, allocations: 0.7764 MB / 0.7637 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.8979, allocations: 4 kB / 0.7637 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008672/0.8988, allocations: 496.3 kB / 0.7642 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.8999, allocations: 268.1 kB / 0.7644 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.9042, allocations: 2.189 MB / 0.7666 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.9048, allocations: 1.007 MB / 0.7676 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.9051, allocations: 115.4 kB / 0.7677 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of SimCode: time 2.926e-06/0.9051, allocations: 0 / 0.7677 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.02604/0.9312, allocations: 17.99 MB / 0.7852 GB, free: 11.51 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1