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.001528/0.001528, allocations: 105.8 kB / 16.41 MB, free: 6.457 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.001557/0.001557, allocations: 187 kB / 17.34 MB, free: 5.707 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.15 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.8906/0.8906, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 68.11 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1626, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006082/0.1686, allocations: 4.186 MB / 0.6804 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.5525/0.7212, allocations: 151 MB / 0.8278 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008419/0.722, allocations: 17.03 kB / 0.8279 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005971/0.7226, allocations: 171.5 kB / 0.828 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.7243, allocations: 490.1 kB / 0.8285 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002001/0.7263, allocations: 0.819 MB / 0.8293 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001358/0.7277, allocations: 1.211 MB / 0.8305 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008301/0.7285, allocations: 0.5058 MB / 0.831 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.7291, allocations: 469.1 kB / 0.8314 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005484/0.7297, allocations: 482.7 kB / 0.8319 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.7298, allocations: 111.6 kB / 0.832 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009341/0.7307, allocations: 0.4976 MB / 0.8325 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000291/0.731, allocations: 289.5 kB / 0.8327 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.7315, allocations: 0.522 MB / 0.8332 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/0.7336, allocations: 1.671 MB / 0.8349 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.7336, allocations: 0 / 0.8349 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7336, allocations: 4 kB / 0.8349 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.7337, allocations: 0 / 0.8349 GB, free: 7.363 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.002337/0.736, allocations: 1.431 MB / 0.8363 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.736, allocations: 9.625 kB / 0.8363 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7371, allocations: 210.7 kB / 0.8365 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.7382, allocations: 0.7565 MB / 0.8372 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.306e-05/0.7383, allocations: 65.75 kB / 0.8373 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7384, allocations: 90.12 kB / 0.8374 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.74, allocations: 0.9453 MB / 0.8383 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.74, allocations: 2.219 kB / 0.8383 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.87e-05/0.7401, allocations: 40 kB / 0.8383 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.777e-05/0.7402, allocations: 22.44 kB / 0.8384 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001775/0.7419, allocations: 1.129 MB / 0.8395 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003902/0.7458, allocations: 2.54 MB / 0.8419 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/0.7473, allocations: 0.7754 MB / 0.8427 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.7478, allocations: 262 kB / 0.843 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006908/0.7485, allocations: 477.9 kB / 0.8434 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008089/0.7493, allocations: 443 kB / 0.8438 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=73): time 2.634e-06/0.7493, allocations: 0 / 0.8438 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73): time 0.002944/0.7523, allocations: 1.097 MB / 0.8449 GB, free: 340 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.7524, allocations: 191.4 kB / 0.8451 GB, free: 112 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.7531, allocations: 0.6006 MB / 0.8457 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.516e-05/0.7532, allocations: 40.42 kB / 0.8457 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.7535, allocations: 409.1 kB / 0.8461 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/0.7537, allocations: 258.6 kB / 0.8463 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.754, allocations: 158 kB / 0.8465 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.7542, allocations: 381.6 kB / 0.8469 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.7547, allocations: 241.9 kB / 0.8471 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.7553, allocations: 339.1 kB / 0.8474 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.7565, allocations: 0.5682 MB / 0.848 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.7565, allocations: 4 kB / 0.848 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001903/0.7584, allocations: 0.7945 MB / 0.8487 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.7584, allocations: 4 kB / 0.8488 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.7584, allocations: 4 kB / 0.8488 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/0.759, allocations: 84.84 kB / 0.8488 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.7596, allocations: 147.8 kB / 0.849 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/0.7618, allocations: 1.631 MB / 0.8506 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006079/0.7624, allocations: 87.45 kB / 0.8507 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.7625, allocations: 31.97 kB / 0.8507 GB, free: 10.59 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.0004473/0.7629, allocations: 262.6 kB / 0.8509 GB, free: 10.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.7631, allocations: 79.48 kB / 0.851 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.7654, allocations: 1 MB / 0.852 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.7655, allocations: 12 kB / 0.852 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.934e-06/0.7655, allocations: 0 / 0.852 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7655, allocations: 7.922 kB / 0.852 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.7687, allocations: 1.893 MB / 0.8539 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7687, allocations: 0 / 0.8539 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.7692, allocations: 143.8 kB / 0.854 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004118/0.7696, allocations: 72.78 kB / 0.8541 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/0.7697, allocations: 23.98 kB / 0.8541 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002095/0.7718, allocations: 1.666 MB / 0.8557 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7718, allocations: 0 / 0.8557 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.774, allocations: 0.9203 MB / 0.8566 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.7744, allocations: 264.4 kB / 0.8569 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7746, allocations: 16 kB / 0.8569 GB, free: 3.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.7751, allocations: 59.92 kB / 0.8569 GB, free: 3.922 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001977/0.7753, allocations: 64.91 kB / 0.857 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/0.7754, allocations: 31.98 kB / 0.857 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006299/0.776, allocations: 435 kB / 0.8574 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8.1e-08/0.776, allocations: 0 / 0.8574 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009939/0.777, allocations: 323 kB / 0.8577 GB, free: 3.09 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.001985/0.779, allocations: 0.6024 MB / 0.8583 GB, free: 2.668 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001714/0.7807, allocations: 0.7455 MB / 0.8591 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.7807, allocations: 3.938 kB / 0.8591 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009775/0.7817, allocations: 480.2 kB / 0.8595 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.7829, allocations: 303.6 kB / 0.8598 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.7868, allocations: 1.784 MB / 0.8616 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000678/0.7875, allocations: 1.019 MB / 0.8626 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.7878, allocations: 107.4 kB / 0.8627 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of SimCode: time 9.72e-07/0.7878, allocations: 0 / 0.8627 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.02627/0.8141, allocations: 18.2 MB / 0.8804 GB, free: 12.04 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