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.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.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.001082/0.001082, allocations: 99.94 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.001066/0.001065, 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.39/1.39, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003607/0.0003609, allocations: 11.98 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005187/0.1956, allocations: 3.778 MB / 0.601 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5257/0.7214, allocations: 127.6 MB / 0.7256 GB, free: 2.852 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007082/0.7221, allocations: 18.69 kB / 0.7256 GB, free: 2.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003688/0.7225, allocations: 73.98 kB / 0.7256 GB, free: 2.805 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.724, allocations: 482.1 kB / 0.7261 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001866/0.7258, allocations: 0.6204 MB / 0.7267 GB, free: 2.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.7271, allocations: 0.8213 MB / 0.7275 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009488/0.7281, allocations: 0.6869 MB / 0.7282 GB, free: 1.441 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000574/0.7286, allocations: 340.9 kB / 0.7285 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.7291, allocations: 348.3 kB / 0.7288 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.597e-05/0.7292, allocations: 23.44 kB / 0.7289 GB, free: 1.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007642/0.7299, allocations: 308.6 kB / 0.7292 GB, free: 1.035 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.7302, allocations: 196 kB / 0.7293 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.7303, allocations: 220.2 kB / 0.7296 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.7321, allocations: 1.415 MB / 0.7309 GB, free: 456 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7321, allocations: 0 / 0.7309 GB, free: 456 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7321, allocations: 0 / 0.7309 GB, free: 456 kB / 0.545 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.7321, allocations: 1.906 kB / 0.7309 GB, free: 456 kB / 0.545 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.002382/0.7345, allocations: 1.355 MB / 0.7323 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7345, allocations: 9.484 kB / 0.7323 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009938/0.7355, allocations: 222.2 kB / 0.7325 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7368, allocations: 0.7884 MB / 0.7332 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.581e-05/0.7369, allocations: 87.67 kB / 0.7333 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7371, allocations: 110.2 kB / 0.7334 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.739, allocations: 1.122 MB / 0.7345 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.7391, allocations: 0 / 0.7345 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.7392, allocations: 49.03 kB / 0.7346 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.7392, allocations: 28.5 kB / 0.7346 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002038/0.7413, allocations: 1.237 MB / 0.7358 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004739/0.746, allocations: 3.041 MB / 0.7388 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.7473, allocations: 0.7777 MB / 0.7395 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.331e-05/0.7474, allocations: 32.66 kB / 0.7396 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007828/0.7482, allocations: 451.8 kB / 0.74 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.455e-06/0.7482, allocations: 0 / 0.74 GB, free: 9.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002863/0.7511, allocations: 1.145 MB / 0.7411 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/0.7512, allocations: 188.6 kB / 0.7413 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008857/0.7521, allocations: 0.6766 MB / 0.742 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.7522, allocations: 49.64 kB / 0.742 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003815/0.7526, allocations: 0.5034 MB / 0.7425 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.7528, allocations: 252.3 kB / 0.7427 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.7529, allocations: 12 kB / 0.7428 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.753, allocations: 337.9 kB / 0.7431 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/0.7535, allocations: 245.8 kB / 0.7433 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/0.754, allocations: 342.6 kB / 0.7436 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.7546, allocations: 286.9 kB / 0.7439 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.7546, allocations: 0 / 0.7439 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001699/0.7563, allocations: 0.7979 MB / 0.7447 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.7563, allocations: 4 kB / 0.7447 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7563, allocations: 0 / 0.7447 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/0.7569, allocations: 88.86 kB / 0.7448 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006248/0.7576, allocations: 147.8 kB / 0.7449 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.7596, allocations: 1.543 MB / 0.7464 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006597/0.7602, allocations: 92.84 kB / 0.7465 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/0.7603, allocations: 27.98 kB / 0.7465 GB, free: 2.441 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 (84): * Single equations (assignments): 83 * 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.0005118/0.7608, allocations: 278.2 kB / 0.7468 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.761, allocations: 91.2 kB / 0.7469 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.7632, allocations: 1.047 MB / 0.7479 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.7632, allocations: 8 kB / 0.7479 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7632, allocations: 0 / 0.7479 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.7633, allocations: 3.984 kB / 0.7479 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.7646, allocations: 0.9826 MB / 0.7489 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.7646, allocations: 3.953 kB / 0.7489 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.7652, allocations: 155.8 kB / 0.749 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005145/0.7657, allocations: 81.66 kB / 0.7491 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-05/0.7658, allocations: 23.98 kB / 0.7491 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.7677, allocations: 1.558 MB / 0.7507 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7677, allocations: 0 / 0.7507 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.7695, allocations: 0.8925 MB / 0.7515 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004154/0.7699, allocations: 291.6 kB / 0.7518 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.77, allocations: 23.94 kB / 0.7518 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000562/0.7706, allocations: 73.41 kB / 0.7519 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.7707, allocations: 64.91 kB / 0.752 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.7708, allocations: 27.98 kB / 0.752 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006494/0.7714, allocations: 495 kB / 0.7525 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7715, allocations: 0 / 0.7525 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009023/0.7724, allocations: 330.9 kB / 0.7528 GB, free: 11.81 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.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 (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.001228/0.7736, allocations: 0.5859 MB / 0.7534 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.7751, allocations: 0.7724 MB / 0.7541 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7751, allocations: 0 / 0.7541 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.7759, allocations: 0.5081 MB / 0.7546 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.777, allocations: 264.3 kB / 0.7549 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/0.7812, allocations: 2.45 MB / 0.7573 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006411/0.7818, allocations: 1.106 MB / 0.7583 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008441/0.7827, allocations: 266.9 kB / 0.7586 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.7829, allocations: 103.4 kB / 0.7587 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of SimCode: time 5.11e-07/0.783, allocations: 4 kB / 0.7587 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of Templates: time 0.02229/0.8052, allocations: 13.59 MB / 0.772 GB, free: 8.473 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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_DiffuseIsotropic -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.DiffuseIsotropic.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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_DiffuseIsotropic -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.DiffuseIsotropic_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_functions.o] Error 1