Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 197 kB / 16.79 MB, free: 6.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.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.9728/0.9728, allocations: 143 MB / 433.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.91 kB / 0.5141 GB, free: 12.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1971, allocations: 82.04 MB / 0.5943 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.009312/0.2065, allocations: 7.015 MB / 0.6011 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4912/0.6977, allocations: 149.6 MB / 0.7472 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001997/0.6998, allocations: 30.16 kB / 0.7472 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.7009, allocations: 208 kB / 0.7474 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002923/0.7039, allocations: 0.623 MB / 0.748 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003418/0.7073, allocations: 1.347 MB / 0.7493 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004417/0.7117, allocations: 2.834 MB / 0.7521 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003157/0.7149, allocations: 2.387 MB / 0.7544 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.717, allocations: 1.229 MB / 0.7556 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.7191, allocations: 1.516 MB / 0.7571 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005111/0.7196, allocations: 236 kB / 0.7573 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.7211, allocations: 0.5816 MB / 0.7579 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006353/0.7217, allocations: 0.7044 MB / 0.7586 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.7233, allocations: 1.511 MB / 0.76 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.7278, allocations: 4.431 MB / 0.7644 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.7278, allocations: 0 / 0.7644 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7278, allocations: 0 / 0.7644 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001176/0.7279, allocations: 0 / 0.7644 GB, free: 15.35 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.008108/0.7361, allocations: 3.414 MB / 0.7677 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.7361, allocations: 8.031 kB / 0.7677 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/0.7516, allocations: 2.197 MB / 0.7699 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003338/0.755, allocations: 1.628 MB / 0.7714 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001842/0.7552, allocations: 246.6 kB / 0.7717 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007026/0.7559, allocations: 316 kB / 0.772 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.7673, allocations: 4.254 MB / 0.7761 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.277e-05/0.7674, allocations: 0 / 0.7761 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/0.7679, allocations: 148.5 kB / 0.7763 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.926e-05/0.7679, allocations: 76 kB / 0.7764 GB, free: 2.902 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/0.7831, allocations: 4.978 MB / 0.7812 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02372/0.8068, allocations: 10.34 MB / 0.7913 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009064/0.816, allocations: 3.064 MB / 0.7943 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004747/0.8207, allocations: 1.636 MB / 0.7959 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008653/0.8216, allocations: 0.5154 MB / 0.7964 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005592/0.8273, allocations: 1.905 MB / 0.7983 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=222): time 4.799e-06/0.8273, allocations: 0 / 0.7983 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=222): time 0.01594/0.8432, allocations: 4.747 MB / 0.8029 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001557/0.8434, allocations: 205.9 kB / 0.8031 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001965/0.8454, allocations: 1.173 MB / 0.8042 GB, free: 6.066 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007003/0.8461, allocations: 65.7 kB / 0.8043 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.8474, allocations: 1.066 MB / 0.8053 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.8487, allocations: 0.7199 MB / 0.8061 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/0.8498, allocations: 419.1 kB / 0.8065 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.85, allocations: 301.1 kB / 0.8067 GB, free: 3.469 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/0.8545, allocations: 1.359 MB / 0.8081 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/0.8593, allocations: 1.549 MB / 0.8096 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00912/0.8684, allocations: 2.864 MB / 0.8124 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/0.8685, allocations: 0 / 0.8124 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01136/0.8798, allocations: 3.37 MB / 0.8157 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.338e-05/0.8799, allocations: 7.938 kB / 0.8157 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.88, allocations: 4 kB / 0.8157 GB, free: 10.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.8806, allocations: 88.83 kB / 0.8158 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/0.8848, allocations: 0.628 MB / 0.8164 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002262/0.8871, allocations: 1.523 MB / 0.8179 GB, free: 7.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003737/0.8909, allocations: 369.8 kB / 0.8182 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/0.8913, allocations: 107.9 kB / 0.8183 GB, free: 7.418 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (248): * Single equations (assignments): 247 * 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.001616/0.8929, allocations: 0.5552 MB / 0.8189 GB, free: 6.855 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/0.8935, allocations: 173.8 kB / 0.819 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/0.9055, allocations: 3.968 MB / 0.8229 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.9056, allocations: 24 kB / 0.8229 GB, free: 2.668 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.9056, allocations: 12.03 kB / 0.8229 GB, free: 2.656 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/0.9057, allocations: 17.48 kB / 0.823 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/0.9221, allocations: 7.154 MB / 0.8299 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.9222, allocations: 3.938 kB / 0.8299 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004029/0.9262, allocations: 0.5929 MB / 0.8305 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/0.9268, allocations: 84.78 kB / 0.8306 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003754/0.9272, allocations: 71.91 kB / 0.8307 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.9292, allocations: 1.551 MB / 0.8322 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.9292, allocations: 0 / 0.8322 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01089/0.9401, allocations: 3.436 MB / 0.8355 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.9415, allocations: 0.6308 MB / 0.8362 GB, free: 4.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004489/0.9419, allocations: 59.91 kB / 0.8362 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00295/0.9449, allocations: 252.3 kB / 0.8365 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/0.9452, allocations: 141.8 kB / 0.8366 GB, free: 4.406 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002348/0.9455, allocations: 91.91 kB / 0.8367 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001338/0.9468, allocations: 0.8744 MB / 0.8375 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9468, allocations: 4 kB / 0.8375 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002143/0.949, allocations: 0.7586 MB / 0.8383 GB, free: 2.676 MB / 0.6544 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 (240): * Single equations (assignments): 237 * 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.001707/0.9507, allocations: 0.6505 MB / 0.8389 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.9615, allocations: 3.366 MB / 0.8422 GB, free: 14.85 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/0.9616, allocations: 7.922 kB / 0.8422 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005679/0.9673, allocations: 1.845 MB / 0.844 GB, free: 12.99 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.9693, allocations: 364 kB / 0.8444 GB, free: 12.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.9826, allocations: 6.597 MB / 0.8508 GB, free: 6.012 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.9839, allocations: 1.645 MB / 0.8524 GB, free: 4.332 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001977/0.9859, allocations: 303.1 kB / 0.8527 GB, free: 4.035 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/0.9859, allocations: 3.938 kB / 0.8527 GB, free: 4.031 MB / 0.67 GB Notification: Performance of Templates: time 0.3654/1.351, allocations: 51.85 MB / 0.9033 GB, free: 190.8 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.GlobalPerezTiltedSurfaceCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp In file included from OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.cpp:28: ./OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceFunctions.cpp:7:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurfaceCalcHelperMain.o] Error 1