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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001234/0.001234, allocations: 99.67 kB / 16.4 MB, free: 6.496 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.001238/0.001238, allocations: 189.5 kB / 17.34 MB, free: 5.77 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8392/0.8392, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001116, allocations: 64.27 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1854, allocations: 82.02 MB / 0.6763 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006712/0.1921, allocations: 4.192 MB / 0.6804 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.6398/0.8319, allocations: 150.6 MB / 0.8274 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009859/0.833, allocations: 21.56 kB / 0.8274 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006201/0.8336, allocations: 164.4 kB / 0.8276 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001748/0.8354, allocations: 485.5 kB / 0.828 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.8376, allocations: 0.812 MB / 0.8288 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001471/0.8391, allocations: 1.207 MB / 0.83 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001008/0.8401, allocations: 0.695 MB / 0.8307 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007153/0.8408, allocations: 462.4 kB / 0.8311 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.8414, allocations: 491 kB / 0.8316 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.8416, allocations: 111.4 kB / 0.8317 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001128/0.8427, allocations: 499.8 kB / 0.8322 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003009/0.843, allocations: 295.5 kB / 0.8325 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005091/0.8435, allocations: 0.5285 MB / 0.833 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.8455, allocations: 1.661 MB / 0.8346 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.8455, allocations: 0 / 0.8346 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.274e-06/0.8456, allocations: 0 / 0.8346 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.8456, allocations: 0 / 0.8346 GB, free: 7.672 MB / 0.6075 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.002405/0.848, allocations: 1.396 MB / 0.836 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.848, allocations: 11.41 kB / 0.836 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/0.8491, allocations: 199.6 kB / 0.8362 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.8504, allocations: 0.7502 MB / 0.8369 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-05/0.8505, allocations: 72 kB / 0.837 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.8506, allocations: 85.72 kB / 0.8371 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.8523, allocations: 0.9493 MB / 0.838 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.8523, allocations: 2.719 kB / 0.838 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/0.8524, allocations: 39.73 kB / 0.838 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.8524, allocations: 24.5 kB / 0.838 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001789/0.8542, allocations: 1.126 MB / 0.8391 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.8583, allocations: 2.529 MB / 0.8416 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.8598, allocations: 0.8248 MB / 0.8424 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.8603, allocations: 281.5 kB / 0.8427 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007022/0.861, allocations: 473 kB / 0.8431 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.8619, allocations: 443.7 kB / 0.8436 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 3.016e-06/0.8619, allocations: 0 / 0.8436 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.003039/0.8649, allocations: 1.094 MB / 0.8446 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.8651, allocations: 196.6 kB / 0.8448 GB, free: 464 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.866, allocations: 0.597 MB / 0.8454 GB, free: 104 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.648e-05/0.8661, allocations: 38.73 kB / 0.8454 GB, free: 64 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/0.8666, allocations: 403.7 kB / 0.8458 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/0.8668, allocations: 248.9 kB / 0.8461 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.8671, allocations: 149.1 kB / 0.8462 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002237/0.8673, allocations: 382.7 kB / 0.8466 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.8679, allocations: 249.8 kB / 0.8468 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006134/0.8685, allocations: 335 kB / 0.8471 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/0.8696, allocations: 0.5721 MB / 0.8477 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.8697, allocations: 0 / 0.8477 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001946/0.8716, allocations: 0.7863 MB / 0.8485 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.8717, allocations: 10.12 kB / 0.8485 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.8717, allocations: 4 kB / 0.8485 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006309/0.8723, allocations: 84.77 kB / 0.8485 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.873, allocations: 155.7 kB / 0.8487 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.8753, allocations: 1.625 MB / 0.8503 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006799/0.876, allocations: 80.17 kB / 0.8504 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/0.876, allocations: 35.97 kB / 0.8504 GB, free: 10.86 MB / 0.6231 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0004943/0.8765, allocations: 259.2 kB / 0.8506 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.8767, allocations: 75.12 kB / 0.8507 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002217/0.8789, allocations: 1 MB / 0.8517 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.8789, allocations: 8 kB / 0.8517 GB, free: 9.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.8789, allocations: 4 kB / 0.8517 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.879, allocations: 7.922 kB / 0.8517 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.8822, allocations: 1.893 MB / 0.8536 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.8822, allocations: 3.938 kB / 0.8536 GB, free: 7.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.8828, allocations: 147.8 kB / 0.8537 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000415/0.8832, allocations: 68.8 kB / 0.8538 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/0.8833, allocations: 23.98 kB / 0.8538 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.8852, allocations: 1.662 MB / 0.8554 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.8852, allocations: 0 / 0.8554 GB, free: 5.484 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.8871, allocations: 0.9316 MB / 0.8563 GB, free: 4.535 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003716/0.8875, allocations: 251.8 kB / 0.8566 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8876, allocations: 19.98 kB / 0.8566 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.8882, allocations: 55.95 kB / 0.8566 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.8883, allocations: 61.84 kB / 0.8567 GB, free: 4.133 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.627e-05/0.8884, allocations: 27.98 kB / 0.8567 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005629/0.889, allocations: 439 kB / 0.8571 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.889, allocations: 0 / 0.8571 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009489/0.8899, allocations: 319.1 kB / 0.8574 GB, free: 3.371 MB / 0.6231 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 (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.001465/0.8914, allocations: 0.6121 MB / 0.858 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001639/0.8931, allocations: 0.7655 MB / 0.8588 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8931, allocations: 8 kB / 0.8588 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008602/0.894, allocations: 0.4885 MB / 0.8593 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.8951, allocations: 307.1 kB / 0.8596 GB, free: 1.387 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8989, allocations: 1.749 MB / 0.8613 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000621/0.8996, allocations: 1.015 MB / 0.8623 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.8999, allocations: 111.4 kB / 0.8624 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/0.8999, allocations: 4 kB / 0.8624 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of Templates: time 0.02415/0.924, allocations: 18.3 MB / 0.8802 GB, free: 12.19 MB / 0.6544 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++ -std=c++17 -fopenmp=libomp -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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearnessCalcHelperMain.o] Error 1