Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 105.2 kB / 15.99 MB, free: 6.352 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.001066/0.001066, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.43/1.43, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.8568/0.8568, allocations: 143.1 MB / 433.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.00138, allocations: 59.91 kB / 0.5143 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4074/0.4088, allocations: 82.03 MB / 0.5944 GB, free: 16.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005486/0.4143, allocations: 4.503 MB / 0.5988 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1666/0.5809, allocations: 148.4 MB / 0.7437 GB, free: 7.148 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001054/0.582, allocations: 19.88 kB / 0.7437 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008596/0.583, allocations: 154.8 kB / 0.7439 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.5851, allocations: 442.9 kB / 0.7443 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.5873, allocations: 0.7352 MB / 0.745 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.5888, allocations: 1.32 MB / 0.7463 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.5899, allocations: 0.9155 MB / 0.7472 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005891/0.5905, allocations: 0.537 MB / 0.7477 GB, free: 3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.591, allocations: 0.5716 MB / 0.7483 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.5912, allocations: 140 kB / 0.7484 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008459/0.592, allocations: 487.6 kB / 0.7489 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000282/0.5923, allocations: 342.9 kB / 0.7492 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000475/0.5928, allocations: 0.6411 MB / 0.7498 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.4234/1.016, allocations: 1.478 MB / 0.7513 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/1.016, allocations: 0 / 0.7513 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.274e-06/1.016, allocations: 0.5 kB / 0.7513 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.256e-05/1.016, allocations: 0.5 kB / 0.7513 GB, free: 5.461 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00502/1.021, allocations: 1.59 MB / 0.7528 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.021, allocations: 10 kB / 0.7529 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.023, allocations: 212.5 kB / 0.7531 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/1.025, allocations: 0.8019 MB / 0.7538 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.622e-05/1.025, allocations: 94.05 kB / 0.7539 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/1.025, allocations: 108 kB / 0.754 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/1.027, allocations: 1.137 MB / 0.7551 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.027, allocations: 0 / 0.7551 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.452e-05/1.027, allocations: 50.75 kB / 0.7552 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.003e-05/1.027, allocations: 27 kB / 0.7552 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002088/1.029, allocations: 1.237 MB / 0.7564 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004945/1.034, allocations: 3.025 MB / 0.7594 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.036, allocations: 0.7711 MB / 0.7601 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/1.037, allocations: 296.2 kB / 0.7604 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001075/1.037, allocations: 30.36 kB / 0.7604 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009843/1.038, allocations: 451.9 kB / 0.7609 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/1.038, allocations: 0.875 kB / 0.7609 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.003415/1.041, allocations: 1.137 MB / 0.762 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.604e-05/1.041, allocations: 193.2 kB / 0.7622 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/1.042, allocations: 0.6944 MB / 0.7628 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.251e-05/1.043, allocations: 40.67 kB / 0.7629 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/1.043, allocations: 0.4942 MB / 0.7634 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/1.043, allocations: 260.5 kB / 0.7636 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/1.043, allocations: 160.2 kB / 0.7638 GB, free: 2.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.044, allocations: 391 kB / 0.7641 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004703/1.044, allocations: 259.2 kB / 0.7644 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/1.045, allocations: 349.5 kB / 0.7647 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009433/1.046, allocations: 0.5996 MB / 0.7653 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.046, allocations: 0 / 0.7653 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001749/1.047, allocations: 0.8452 MB / 0.7661 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/1.047, allocations: 9.438 kB / 0.7661 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/1.047, allocations: 5.25 kB / 0.7661 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/1.048, allocations: 84.56 kB / 0.7662 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/1.049, allocations: 152.2 kB / 0.7664 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/1.051, allocations: 1.634 MB / 0.768 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/1.051, allocations: 86.33 kB / 0.7681 GB, free: 16.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/1.051, allocations: 38.11 kB / 0.7681 GB, free: 16.21 MB / 0.5919 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 (92): * Single equations (assignments): 91 * 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.0005144/1.052, allocations: 278.6 kB / 0.7684 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/1.052, allocations: 89.09 kB / 0.7684 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/1.055, allocations: 1.03 MB / 0.7694 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/1.055, allocations: 8.438 kB / 0.7695 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.055, allocations: 3.375 kB / 0.7695 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/1.055, allocations: 3.281 kB / 0.7695 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.056, allocations: 0.9915 MB / 0.7704 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.056, allocations: 0 / 0.7704 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005584/1.056, allocations: 150 kB / 0.7706 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/1.057, allocations: 73.72 kB / 0.7706 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.92e-05/1.057, allocations: 18.67 kB / 0.7707 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.059, allocations: 1.661 MB / 0.7723 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.059, allocations: 0.875 kB / 0.7723 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.06, allocations: 0.8866 MB / 0.7731 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/1.061, allocations: 270.8 kB / 0.7734 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/1.061, allocations: 19.59 kB / 0.7734 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005355/1.061, allocations: 56.47 kB / 0.7735 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.061, allocations: 60.44 kB / 0.7735 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.026e-05/1.062, allocations: 35.31 kB / 0.7736 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005456/1.062, allocations: 496.9 kB / 0.774 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/1.062, allocations: 0.7812 kB / 0.774 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009391/1.063, allocations: 335.2 kB / 0.7744 GB, free: 13.86 MB / 0.5919 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.00147/1.065, allocations: 0.6051 MB / 0.775 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002103/1.067, allocations: 0.9967 MB / 0.7759 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/1.067, allocations: 3.312 kB / 0.7759 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008545/1.067, allocations: 0.4988 MB / 0.7764 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.069, allocations: 315.3 kB / 0.7767 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004354/1.073, allocations: 2.54 MB / 0.7792 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.074, allocations: 1.089 MB / 0.7803 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003079/1.074, allocations: 114.5 kB / 0.7804 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/1.074, allocations: 0.9375 kB / 0.7804 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.02731/1.101, allocations: 20.14 MB / 0.8 GB, free: 6.23 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile clang++ -std=c++14 -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.Examples.DiffuseIsotropicCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropicCalcHelperMain.o] Error 1