Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 99.55 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.001167/0.001167, allocations: 177.3 kB / 15.95 MB, free: 216 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.366/1.366, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.008/1.008, allocations: 143.3 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.0003301, allocations: 8 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 83.4 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004249/0.1741, allocations: 3.416 MB / 0.6006 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5192/0.6933, allocations: 127.4 MB / 0.7251 GB, free: 3.215 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001139/0.6946, allocations: 17.75 kB / 0.7251 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.6953, allocations: 69.25 kB / 0.7251 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/0.6979, allocations: 461.2 kB / 0.7256 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.7008, allocations: 0.599 MB / 0.7262 GB, free: 2.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002419/0.7033, allocations: 0.7281 MB / 0.7269 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00129/0.7046, allocations: 475.8 kB / 0.7273 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.7056, allocations: 295.1 kB / 0.7276 GB, free: 1.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.7066, allocations: 282.2 kB / 0.7279 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002305/0.7068, allocations: 20.34 kB / 0.7279 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001437/0.7083, allocations: 306 kB / 0.7282 GB, free: 1.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003507/0.7086, allocations: 161.4 kB / 0.7283 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.7091, allocations: 176.7 kB / 0.7285 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.7116, allocations: 1.149 MB / 0.7296 GB, free: 1.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7116, allocations: 0 / 0.7296 GB, free: 1.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.486e-06/0.7116, allocations: 0 / 0.7296 GB, free: 1.195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.295e-05/0.7117, allocations: 4 kB / 0.7296 GB, free: 1.191 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003594/0.7153, allocations: 1.122 MB / 0.7307 GB, free: 408 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.7153, allocations: 9.125 kB / 0.7307 GB, free: 408 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.7169, allocations: 186.2 kB / 0.7309 GB, free: 348 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.7188, allocations: 0.6776 MB / 0.7316 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.7189, allocations: 60.11 kB / 0.7316 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.7191, allocations: 74.47 kB / 0.7317 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/0.7213, allocations: 0.8506 MB / 0.7325 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/0.7214, allocations: 5.094 kB / 0.7325 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.7215, allocations: 35.25 kB / 0.7326 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.7215, allocations: 20.48 kB / 0.7326 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/0.7239, allocations: 1.06 MB / 0.7336 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005322/0.7292, allocations: 2.413 MB / 0.736 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00166/0.7309, allocations: 0.7994 MB / 0.7368 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.7311, allocations: 30.66 kB / 0.7368 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009772/0.732, allocations: 423.9 kB / 0.7372 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 3.496e-06/0.7321, allocations: 0 / 0.7372 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.003042/0.7351, allocations: 1.072 MB / 0.7382 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.7353, allocations: 188.5 kB / 0.7384 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008635/0.7361, allocations: 0.5846 MB / 0.739 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.7362, allocations: 37.7 kB / 0.739 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.7366, allocations: 375.7 kB / 0.7394 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.7368, allocations: 236.1 kB / 0.7396 GB, free: 9.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.7368, allocations: 16 kB / 0.7396 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.737, allocations: 381.2 kB / 0.74 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.7375, allocations: 213.2 kB / 0.7402 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005218/0.738, allocations: 314.5 kB / 0.7405 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.7385, allocations: 262.3 kB / 0.7407 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.7385, allocations: 0 / 0.7407 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001787/0.7403, allocations: 0.7123 MB / 0.7414 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.7404, allocations: 11.94 kB / 0.7415 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7404, allocations: 2.938 kB / 0.7415 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005935/0.741, allocations: 88.91 kB / 0.7415 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.7416, allocations: 131.8 kB / 0.7417 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002192/0.7438, allocations: 1.559 MB / 0.7432 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006795/0.7445, allocations: 72.83 kB / 0.7433 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.56e-05/0.7445, allocations: 31.98 kB / 0.7433 GB, free: 5.918 MB / 0.5606 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 (73): * Single equations (assignments): 72 * 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.0005014/0.745, allocations: 254.4 kB / 0.7435 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001834/0.7452, allocations: 71.16 kB / 0.7436 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/0.7474, allocations: 0.9824 MB / 0.7446 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.7475, allocations: 8 kB / 0.7446 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.7475, allocations: 4 kB / 0.7446 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7475, allocations: 3.984 kB / 0.7446 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.7508, allocations: 1.848 MB / 0.7464 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.7509, allocations: 0 / 0.7464 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/0.7514, allocations: 139.9 kB / 0.7465 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/0.7519, allocations: 88.7 kB / 0.7466 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.752, allocations: 19.98 kB / 0.7466 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.7539, allocations: 1.567 MB / 0.7481 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.7539, allocations: 0 / 0.7481 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.7557, allocations: 0.8985 MB / 0.749 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004384/0.7561, allocations: 267.8 kB / 0.7493 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.7563, allocations: 16 kB / 0.7493 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.7569, allocations: 70.58 kB / 0.7494 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.757, allocations: 56.92 kB / 0.7494 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.997e-05/0.7571, allocations: 27.98 kB / 0.7494 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006133/0.7577, allocations: 423 kB / 0.7498 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7577, allocations: 4 kB / 0.7499 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001098/0.7588, allocations: 287.2 kB / 0.7501 GB, free: 14.68 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 (81): * Single equations (assignments): 78 * 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.001743/0.7606, allocations: 0.599 MB / 0.7507 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001717/0.7623, allocations: 0.7198 MB / 0.7514 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7624, allocations: 0 / 0.7514 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.7632, allocations: 492.2 kB / 0.7519 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.7644, allocations: 250.2 kB / 0.7521 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.7687, allocations: 2.002 MB / 0.7541 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.7695, allocations: 1.007 MB / 0.7551 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009382/0.7705, allocations: 254 kB / 0.7553 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.7707, allocations: 95.39 kB / 0.7554 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.7707, allocations: 7.938 kB / 0.7554 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.02412/0.7949, allocations: 12.76 MB / 0.7679 GB, free: 12.8 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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_ZenithAngle -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.ZenithAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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_ZenithAngle -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.ZenithAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_functions.o] Error 1