Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.08 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.001103/0.001103, 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.464/1.464, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.075/1.075, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.000354, allocations: 8 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1772, allocations: 83.4 MB / 0.5973 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.004765/0.182, allocations: 4.118 MB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5388/0.7209, allocations: 127.9 MB / 0.7262 GB, free: 2.289 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.7219, allocations: 16.06 kB / 0.7262 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.7224, allocations: 89.41 kB / 0.7263 GB, free: 2.234 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.7244, allocations: 0.5533 MB / 0.7268 GB, free: 1.895 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002506/0.7269, allocations: 0.6644 MB / 0.7275 GB, free: 1.562 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002617/0.7296, allocations: 0.981 MB / 0.7284 GB, free: 1.023 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.7309, allocations: 0.8247 MB / 0.7292 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.732, allocations: 474 kB / 0.7297 GB, free: 444 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007045/0.7327, allocations: 457.2 kB / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.7328, allocations: 28.25 kB / 0.7301 GB, free: 224 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.734, allocations: 318.4 kB / 0.7304 GB, free: 140 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002996/0.7343, allocations: 226.1 kB / 0.7306 GB, free: 28 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.7347, allocations: 256.1 kB / 0.7309 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002841/0.7375, allocations: 1.693 MB / 0.7325 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.7375, allocations: 1.188 kB / 0.7325 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7375, allocations: 0 / 0.7325 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.345e-05/0.7376, allocations: 0 / 0.7325 GB, free: 15.45 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003554/0.7412, allocations: 1.485 MB / 0.734 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.7412, allocations: 13.56 kB / 0.734 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/0.7424, allocations: 248.2 kB / 0.7342 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.7441, allocations: 0.8535 MB / 0.7351 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7442, allocations: 104.8 kB / 0.7352 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.7444, allocations: 140 kB / 0.7353 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.7474, allocations: 1.41 MB / 0.7367 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/0.7475, allocations: 0 / 0.7367 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.7476, allocations: 64 kB / 0.7368 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.792e-05/0.7477, allocations: 36 kB / 0.7368 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.7503, allocations: 1.513 MB / 0.7383 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/0.7572, allocations: 3.797 MB / 0.742 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.7587, allocations: 0.9594 MB / 0.7429 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001079/0.7589, allocations: 45.06 kB / 0.743 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001016/0.7599, allocations: 0.5787 MB / 0.7435 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=104): time 4.248e-06/0.7599, allocations: 0 / 0.7435 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=104): time 0.003589/0.7635, allocations: 1.491 MB / 0.745 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.717e-05/0.7636, allocations: 196.9 kB / 0.7452 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/0.7646, allocations: 0.7435 MB / 0.7459 GB, free: 3.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 9.013e-05/0.7647, allocations: 49.7 kB / 0.7459 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004901/0.7652, allocations: 0.5552 MB / 0.7465 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.7654, allocations: 346.9 kB / 0.7468 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.7655, allocations: 20 kB / 0.7468 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7656, allocations: 341.9 kB / 0.7472 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/0.7662, allocations: 337.8 kB / 0.7475 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/0.767, allocations: 458.5 kB / 0.7479 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007462/0.7677, allocations: 414.8 kB / 0.7483 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.7677, allocations: 0 / 0.7483 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002253/0.77, allocations: 1.071 MB / 0.7494 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.77, allocations: 8.562 kB / 0.7494 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.77, allocations: 0 / 0.7494 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005866/0.7706, allocations: 92.75 kB / 0.7495 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009445/0.7716, allocations: 211.7 kB / 0.7497 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002085/0.7737, allocations: 1.546 MB / 0.7512 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009122/0.7746, allocations: 116.1 kB / 0.7513 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.7747, allocations: 43.97 kB / 0.7513 GB, free: 13.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (117): * Single equations (assignments): 116 * 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.0006183/0.7753, allocations: 314.2 kB / 0.7516 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.7755, allocations: 106.6 kB / 0.7517 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/0.7785, allocations: 1.413 MB / 0.7531 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.7786, allocations: 12 kB / 0.7531 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.7786, allocations: 0 / 0.7531 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.7786, allocations: 3.984 kB / 0.7531 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.7828, allocations: 2.571 MB / 0.7556 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.7828, allocations: 4 kB / 0.7556 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.7836, allocations: 199.7 kB / 0.7558 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.7841, allocations: 80.78 kB / 0.7559 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/0.7842, allocations: 35.97 kB / 0.7559 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/0.7861, allocations: 1.572 MB / 0.7575 GB, free: 7 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.7862, allocations: 12.03 kB / 0.7575 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00234/0.7885, allocations: 1.164 MB / 0.7586 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.7891, allocations: 351.2 kB / 0.7589 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.7893, allocations: 23.98 kB / 0.759 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/0.79, allocations: 71.95 kB / 0.759 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.7902, allocations: 76.88 kB / 0.7591 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.7903, allocations: 39.98 kB / 0.7591 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00084/0.7911, allocations: 0.5653 MB / 0.7597 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7911, allocations: 0 / 0.7597 GB, free: 4.672 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001102/0.7922, allocations: 410.6 kB / 0.7601 GB, free: 4.27 MB / 0.5762 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 (115): * Single equations (assignments): 112 * 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.00139/0.7936, allocations: 0.6017 MB / 0.7607 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001853/0.7955, allocations: 0.9997 MB / 0.7617 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7955, allocations: 0 / 0.7617 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/0.7965, allocations: 0.6174 MB / 0.7623 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.7976, allocations: 263.5 kB / 0.7625 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005111/0.8027, allocations: 2.921 MB / 0.7654 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008217/0.8036, allocations: 1.193 MB / 0.7665 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001112/0.8047, allocations: 300.2 kB / 0.7668 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.8051, allocations: 143.3 kB / 0.767 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of SimCode: time 6.42e-07/0.8051, allocations: 0 / 0.767 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of Templates: time 0.02701/0.8321, allocations: 16.59 MB / 0.7832 GB, free: 12.93 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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_SolarGeometry_Examples_IncidenceAngle -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.SolarGeometry.Examples.IncidenceAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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_SolarGeometry_Examples_IncidenceAngle -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.SolarGeometry.Examples.IncidenceAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_functions.o] Error 1