Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 239.9 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 0.9977/0.9977, allocations: 143.3 MB / 434.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003508/0.0003511, allocations: 8 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1827, allocations: 83.42 MB / 0.5973 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005015/0.1877, allocations: 3.513 MB / 0.6007 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.44/0.6278, allocations: 127.5 MB / 0.7252 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006399/0.6285, allocations: 14.38 kB / 0.7252 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.6289, allocations: 74.22 kB / 0.7253 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.6304, allocations: 460.7 kB / 0.7257 GB, free: 2.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6327, allocations: 0.6171 MB / 0.7263 GB, free: 2.309 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001381/0.634, allocations: 0.7523 MB / 0.7271 GB, free: 1.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009226/0.635, allocations: 0.5502 MB / 0.7276 GB, free: 1.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000613/0.6356, allocations: 306.5 kB / 0.7279 GB, free: 1.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004606/0.6361, allocations: 310.2 kB / 0.7282 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.081e-05/0.6361, allocations: 22 kB / 0.7282 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009233/0.6371, allocations: 301.5 kB / 0.7285 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002317/0.6373, allocations: 173.1 kB / 0.7287 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.6375, allocations: 192.4 kB / 0.7288 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.6391, allocations: 1.216 MB / 0.73 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.6392, allocations: 0 / 0.73 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.943e-06/0.6392, allocations: 3.156 kB / 0.73 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.056e-05/0.6392, allocations: 0 / 0.73 GB, free: 0.7852 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002359/0.6416, allocations: 1.183 MB / 0.7312 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.6416, allocations: 9.062 kB / 0.7312 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.6434, allocations: 315.6 kB / 0.7315 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6445, allocations: 0.7084 MB / 0.7322 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.6446, allocations: 71.77 kB / 0.7323 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.6448, allocations: 90.34 kB / 0.7323 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.647, allocations: 0.9972 MB / 0.7333 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.6471, allocations: 0 / 0.7333 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.6472, allocations: 37.62 kB / 0.7333 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.6472, allocations: 27.72 kB / 0.7334 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002544/0.6498, allocations: 1.226 MB / 0.7346 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004882/0.6547, allocations: 2.595 MB / 0.7371 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002399/0.6571, allocations: 0.9342 MB / 0.738 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-05/0.6572, allocations: 34.66 kB / 0.7381 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001549/0.6587, allocations: 492 kB / 0.7385 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=75): time 3.837e-06/0.6588, allocations: 0 / 0.7385 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75): time 0.003632/0.6624, allocations: 1.248 MB / 0.7397 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.6626, allocations: 194.7 kB / 0.7399 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009949/0.6636, allocations: 0.5902 MB / 0.7405 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.138e-05/0.6637, allocations: 42.5 kB / 0.7405 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.664, allocations: 407.9 kB / 0.7409 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.6643, allocations: 248.4 kB / 0.7412 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.6643, allocations: 16 kB / 0.7412 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.6645, allocations: 378.8 kB / 0.7415 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.6653, allocations: 265.2 kB / 0.7418 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.6661, allocations: 378.7 kB / 0.7422 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007521/0.6668, allocations: 319.1 kB / 0.7425 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.6668, allocations: 0 / 0.7425 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002221/0.6691, allocations: 0.8406 MB / 0.7433 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6691, allocations: 4 kB / 0.7433 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6691, allocations: 0 / 0.7433 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.6697, allocations: 88.86 kB / 0.7434 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/0.6705, allocations: 163.8 kB / 0.7435 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.6727, allocations: 1.525 MB / 0.745 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007765/0.6735, allocations: 107.4 kB / 0.7451 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.6736, allocations: 27.98 kB / 0.7451 GB, free: 3.938 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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.0004808/0.6741, allocations: 265.6 kB / 0.7454 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000119/0.6742, allocations: 79.06 kB / 0.7455 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/0.6771, allocations: 1.119 MB / 0.7466 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.6771, allocations: 8 kB / 0.7466 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6771, allocations: 7.938 kB / 0.7466 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.6771, allocations: 3.984 kB / 0.7466 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/0.681, allocations: 2.039 MB / 0.7486 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.6811, allocations: 0 / 0.7486 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.6818, allocations: 179.7 kB / 0.7488 GB, free: 168 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005031/0.6823, allocations: 80.77 kB / 0.7488 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.6824, allocations: 23.98 kB / 0.7489 GB, free: 60 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.6843, allocations: 1.557 MB / 0.7504 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6843, allocations: 0 / 0.7504 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.6866, allocations: 1.028 MB / 0.7514 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004178/0.687, allocations: 275.7 kB / 0.7516 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6871, allocations: 20.67 kB / 0.7517 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008229/0.688, allocations: 90.05 kB / 0.7517 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.6881, allocations: 68.86 kB / 0.7518 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.6882, allocations: 27.98 kB / 0.7518 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005765/0.6888, allocations: 435 kB / 0.7523 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6888, allocations: 0 / 0.7523 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009171/0.6897, allocations: 303.2 kB / 0.7525 GB, free: 12.11 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 (88): * Single equations (assignments): 85 * 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.001282/0.691, allocations: 0.5883 MB / 0.7531 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.6929, allocations: 0.8407 MB / 0.7539 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.693, allocations: 0 / 0.7539 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.694, allocations: 0.5393 MB / 0.7545 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.6951, allocations: 246.1 kB / 0.7547 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.6992, allocations: 2.195 MB / 0.7568 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000571/0.6998, allocations: 1.047 MB / 0.7579 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008758/0.7007, allocations: 270.1 kB / 0.7581 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002568/0.7009, allocations: 103.4 kB / 0.7582 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.7009, allocations: 0 / 0.7582 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.02284/0.7238, allocations: 13.5 MB / 0.7714 GB, free: 9.113 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_functions.o] Error 1