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.001275/0.001275, allocations: 99.86 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.001297/0.001297, 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.018/1.018, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003509, allocations: 8 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 83.41 MB / 0.5973 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004785/0.2023, allocations: 3.506 MB / 0.6007 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4716/0.6739, allocations: 127.5 MB / 0.7252 GB, free: 3.109 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007194/0.6747, allocations: 13.16 kB / 0.7252 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.6751, allocations: 75.16 kB / 0.7253 GB, free: 3.062 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.6767, allocations: 470.6 kB / 0.7258 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002123/0.6789, allocations: 0.6189 MB / 0.7264 GB, free: 2.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.6803, allocations: 0.759 MB / 0.7271 GB, free: 2.066 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.6812, allocations: 0.5241 MB / 0.7276 GB, free: 1.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006027/0.6818, allocations: 313.3 kB / 0.7279 GB, free: 1.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000414/0.6822, allocations: 304.7 kB / 0.7282 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.6823, allocations: 22 kB / 0.7282 GB, free: 1.559 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009529/0.6833, allocations: 325.3 kB / 0.7285 GB, free: 1.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.6835, allocations: 174.3 kB / 0.7287 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.6836, allocations: 186.1 kB / 0.7289 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.6852, allocations: 1.208 MB / 0.7301 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.6852, allocations: 2.875 kB / 0.7301 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6852, allocations: 0 / 0.7301 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.6852, allocations: 0 / 0.7301 GB, free: 0.9688 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002111/0.6873, allocations: 1.195 MB / 0.7312 GB, free: 132 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6874, allocations: 13.91 kB / 0.7312 GB, free: 128 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.6885, allocations: 215.5 kB / 0.7314 GB, free: 64 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6897, allocations: 0.6991 MB / 0.7321 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.6898, allocations: 67.22 kB / 0.7322 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.6899, allocations: 87.42 kB / 0.7323 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.6918, allocations: 0.9363 MB / 0.7332 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/0.6918, allocations: 1.125 kB / 0.7332 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.692, allocations: 42.42 kB / 0.7332 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.835e-05/0.692, allocations: 29.98 kB / 0.7333 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.6942, allocations: 1.127 MB / 0.7344 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.6988, allocations: 2.584 MB / 0.7369 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.7003, allocations: 0.8313 MB / 0.7377 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.7009, allocations: 468.2 kB / 0.7381 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008039/0.7018, allocations: 437.9 kB / 0.7386 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.765e-06/0.7018, allocations: 0.6562 kB / 0.7386 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002876/0.7047, allocations: 1.113 MB / 0.7396 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.823e-05/0.7048, allocations: 189.4 kB / 0.7398 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008029/0.7056, allocations: 0.5962 MB / 0.7404 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.525e-05/0.7056, allocations: 41.7 kB / 0.7405 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.706, allocations: 405.3 kB / 0.7408 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001975/0.7062, allocations: 240.7 kB / 0.7411 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7062, allocations: 8.938 kB / 0.7411 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7064, allocations: 390.8 kB / 0.7414 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/0.7068, allocations: 217.2 kB / 0.7417 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005259/0.7073, allocations: 326.7 kB / 0.742 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005106/0.7079, allocations: 283.1 kB / 0.7422 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.7079, allocations: 0 / 0.7422 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001644/0.7095, allocations: 0.7392 MB / 0.743 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.7096, allocations: 4 kB / 0.743 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.7096, allocations: 1.719 kB / 0.743 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005738/0.7101, allocations: 84.95 kB / 0.743 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.7108, allocations: 152.5 kB / 0.7432 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.7127, allocations: 1.527 MB / 0.7447 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006063/0.7133, allocations: 87.44 kB / 0.7448 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.7134, allocations: 31.97 kB / 0.7448 GB, free: 4.363 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 (76): * Single equations (assignments): 75 * 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.000457/0.7138, allocations: 249.7 kB / 0.745 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.714, allocations: 83.02 kB / 0.7451 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002188/0.7162, allocations: 1.01 MB / 0.7461 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.7162, allocations: 8 kB / 0.7461 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.7162, allocations: 0 / 0.7461 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.7162, allocations: 11.92 kB / 0.7461 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003292/0.7195, allocations: 1.911 MB / 0.748 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.7195, allocations: 0 / 0.748 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.7201, allocations: 147.8 kB / 0.7481 GB, free: 0.8711 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/0.7206, allocations: 80.78 kB / 0.7482 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.484e-05/0.7207, allocations: 23.98 kB / 0.7482 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.7226, allocations: 1.563 MB / 0.7498 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7226, allocations: 0 / 0.7498 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/0.7245, allocations: 0.9258 MB / 0.7507 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.7249, allocations: 271.7 kB / 0.7509 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.725, allocations: 23.98 kB / 0.7509 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005868/0.7256, allocations: 63.95 kB / 0.751 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.7257, allocations: 64.91 kB / 0.7511 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.214e-05/0.7258, allocations: 27.98 kB / 0.7511 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005678/0.7264, allocations: 435 kB / 0.7515 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7264, allocations: 0 / 0.7515 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009842/0.7274, allocations: 303.2 kB / 0.7518 GB, free: 12.93 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.001367/0.7287, allocations: 0.6151 MB / 0.7524 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.7303, allocations: 0.7471 MB / 0.7531 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7303, allocations: 0 / 0.7531 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008411/0.7312, allocations: 0.4885 MB / 0.7536 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.7323, allocations: 252.2 kB / 0.7538 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.7363, allocations: 2.133 MB / 0.7559 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005811/0.7369, allocations: 1.042 MB / 0.7569 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008737/0.7378, allocations: 250.1 kB / 0.7572 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/0.738, allocations: 99.39 kB / 0.7573 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of SimCode: time 8.32e-07/0.738, allocations: 4 kB / 0.7573 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of Templates: time 0.02205/0.7601, allocations: 13.34 MB / 0.7703 GB, free: 10.3 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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_SkyClearness -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.SkyClearness.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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_SkyClearness -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.SkyClearness_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_functions.o] Error 1