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.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.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.001231/0.001231, 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.001419/0.001419, 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.351/1.351, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9833/0.9833, allocations: 143.3 MB / 434.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.000344, allocations: 11.98 kB / 0.5158 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 83.41 MB / 0.5973 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.007028/0.1862, allocations: 5.958 MB / 0.6031 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5323/0.7185, allocations: 128.9 MB / 0.7289 GB, free: 48 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.7204, allocations: 26.53 kB / 0.729 GB, free: 40 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006634/0.721, allocations: 142.1 kB / 0.7291 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.7239, allocations: 0.6835 MB / 0.7298 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003333/0.7273, allocations: 1.019 MB / 0.7308 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00375/0.731, allocations: 1.692 MB / 0.7324 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.7339, allocations: 1.999 MB / 0.7344 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002064/0.736, allocations: 0.8783 MB / 0.7352 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002093/0.7381, allocations: 0.9743 MB / 0.7362 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003354/0.7385, allocations: 67.94 kB / 0.7362 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.7399, allocations: 363.4 kB / 0.7366 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005161/0.7404, allocations: 439.2 kB / 0.737 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006567/0.7411, allocations: 0.5196 MB / 0.7375 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005413/0.7465, allocations: 4.294 MB / 0.7417 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7465, allocations: 0 / 0.7417 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.517e-06/0.7466, allocations: 0 / 0.7417 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001391/0.7467, allocations: 0 / 0.7417 GB, free: 7.535 MB / 0.5606 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.007267/0.754, allocations: 2.727 MB / 0.7444 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.754, allocations: 8.031 kB / 0.7444 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/0.7705, allocations: 2.378 MB / 0.7467 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004429/0.775, allocations: 1.592 MB / 0.7482 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.7753, allocations: 246.6 kB / 0.7485 GB, free: 488 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001253/0.7765, allocations: 321 kB / 0.7488 GB, free: 168 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0148/0.7914, allocations: 4.277 MB / 0.753 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.782e-05/0.7915, allocations: 0 / 0.753 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009639/0.7925, allocations: 144 kB / 0.7531 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.435e-05/0.7926, allocations: 76 kB / 0.7532 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.8092, allocations: 5.099 MB / 0.7582 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.025/0.8342, allocations: 10.37 MB / 0.7683 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009703/0.844, allocations: 3.093 MB / 0.7713 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008473/0.8449, allocations: 0.5035 MB / 0.7718 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005642/0.8505, allocations: 1.903 MB / 0.7737 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=222): time 4.609e-06/0.8506, allocations: 0 / 0.7737 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=222): time 0.01601/0.8666, allocations: 4.772 MB / 0.7783 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.8668, allocations: 205.9 kB / 0.7785 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.8689, allocations: 1.156 MB / 0.7796 GB, free: 248 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000346/0.8693, allocations: 61.7 kB / 0.7797 GB, free: 180 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.8704, allocations: 1.074 MB / 0.7807 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/0.8713, allocations: 0.7159 MB / 0.7814 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002293/0.8716, allocations: 40 kB / 0.7815 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.8718, allocations: 385.8 kB / 0.7819 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004607/0.8764, allocations: 1.339 MB / 0.7832 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00485/0.8813, allocations: 1.538 MB / 0.7847 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004832/0.8861, allocations: 1.408 MB / 0.786 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.8862, allocations: 4 kB / 0.786 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=242) (initialization): time 0.01132/0.8975, allocations: 3.342 MB / 0.7893 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.8976, allocations: 4 kB / 0.7893 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.8976, allocations: 4 kB / 0.7893 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/0.8982, allocations: 84.78 kB / 0.7894 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/0.9023, allocations: 0.6358 MB / 0.79 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.9047, allocations: 1.536 MB / 0.7915 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003478/0.9082, allocations: 383.2 kB / 0.7919 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/0.9087, allocations: 99.89 kB / 0.792 GB, free: 3.383 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (240): * Single equations (assignments): 239 * 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.002035/0.9107, allocations: 0.5444 MB / 0.7925 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006664/0.9114, allocations: 177.8 kB / 0.7927 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/0.9248, allocations: 4.015 MB / 0.7966 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.9249, allocations: 24 kB / 0.7966 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.9249, allocations: 4 kB / 0.7966 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.9249, allocations: 11.95 kB / 0.7966 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.9424, allocations: 7.177 MB / 0.8036 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.9424, allocations: 0 / 0.8036 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/0.9463, allocations: 0.5968 MB / 0.8042 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000587/0.9469, allocations: 92.77 kB / 0.8043 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/0.9472, allocations: 75.92 kB / 0.8044 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.9491, allocations: 1.551 MB / 0.8059 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9491, allocations: 8.016 kB / 0.8059 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.9599, allocations: 3.448 MB / 0.8093 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/0.9613, allocations: 0.6777 MB / 0.8099 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004872/0.9618, allocations: 39.98 kB / 0.81 GB, free: 0.6367 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/0.9649, allocations: 267.7 kB / 0.8102 GB, free: 384 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003107/0.9652, allocations: 149.8 kB / 0.8104 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/0.9655, allocations: 95.91 kB / 0.8105 GB, free: 140 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00164/0.9671, allocations: 0.8706 MB / 0.8113 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.81e-07/0.9671, allocations: 0 / 0.8113 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002343/0.9695, allocations: 0.7587 MB / 0.8121 GB, free: 14.5 MB / 0.6387 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 (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.001689/0.9712, allocations: 0.6524 MB / 0.8127 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01028/0.9815, allocations: 3.342 MB / 0.816 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.9815, allocations: 0 / 0.816 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005269/0.9868, allocations: 1.857 MB / 0.8178 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.9886, allocations: 324.1 kB / 0.8181 GB, free: 8.512 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/1.002, allocations: 6.333 MB / 0.8243 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/1.003, allocations: 1.703 MB / 0.8259 GB, free: 428 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004378/1.008, allocations: 0.6042 MB / 0.8265 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001334/1.009, allocations: 251.2 kB / 0.8268 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of SimCode: time 8.01e-07/1.009, allocations: 3.938 kB / 0.8268 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of Templates: time 0.05096/1.06, allocations: 30.9 MB / 0.8569 GB, free: 0.8359 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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_Examples_GlobalPerezTiltedSurface -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.Examples.GlobalPerezTiltedSurface.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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_Examples_GlobalPerezTiltedSurface -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.Examples.GlobalPerezTiltedSurface_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface_functions.o] Error 1