Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009147, 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.001036/0.001036, 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.358/1.358, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.05/1.05, allocations: 143.3 MB / 434.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12 kB / 0.5158 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 83.41 MB / 0.5973 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006075/0.167, allocations: 5.089 MB / 0.6022 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4511/0.6181, allocations: 128.4 MB / 0.7276 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009999/0.6192, allocations: 24.31 kB / 0.7276 GB, free: 1.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.6196, allocations: 120.5 kB / 0.7278 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00205/0.6217, allocations: 0.5865 MB / 0.7283 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.6244, allocations: 0.9339 MB / 0.7292 GB, free: 284 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.6269, allocations: 1.371 MB / 0.7306 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.6283, allocations: 1.182 MB / 0.7317 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.6294, allocations: 0.7002 MB / 0.7324 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.6304, allocations: 0.7635 MB / 0.7332 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.6305, allocations: 56.38 kB / 0.7332 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.6315, allocations: 365 kB / 0.7336 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.6319, allocations: 343.9 kB / 0.7339 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003105/0.6322, allocations: 359.6 kB / 0.7342 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.635, allocations: 2.606 MB / 0.7368 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.635, allocations: 4 kB / 0.7368 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.6351, allocations: 3.938 kB / 0.7368 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.232e-05/0.6351, allocations: 0 / 0.7368 GB, free: 12.64 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004623/0.6397, allocations: 2.126 MB / 0.7389 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.6398, allocations: 12.03 kB / 0.7389 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0145/0.6543, allocations: 2.281 MB / 0.7411 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.6572, allocations: 1.157 MB / 0.7422 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.6574, allocations: 168.3 kB / 0.7424 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004064/0.6578, allocations: 209 kB / 0.7426 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008827/0.6666, allocations: 3.197 MB / 0.7457 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.6667, allocations: 0 / 0.7457 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.667, allocations: 95.95 kB / 0.7458 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-05/0.667, allocations: 52 kB / 0.7459 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.6792, allocations: 4.224 MB / 0.75 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01588/0.6952, allocations: 7.055 MB / 0.7569 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007988/0.7032, allocations: 2.699 MB / 0.7595 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/0.704, allocations: 0.5035 MB / 0.76 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004488/0.7085, allocations: 1.695 MB / 0.7617 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.557e-06/0.7085, allocations: 0 / 0.7617 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01334/0.7219, allocations: 4.214 MB / 0.7658 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.722, allocations: 209.9 kB / 0.766 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.7233, allocations: 0.858 MB / 0.7668 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.7235, allocations: 57.7 kB / 0.7669 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006543/0.7242, allocations: 0.6996 MB / 0.7676 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/0.7248, allocations: 0.6352 MB / 0.7682 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001473/0.7249, allocations: 32.11 kB / 0.7682 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.7251, allocations: 377.8 kB / 0.7686 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003714/0.7288, allocations: 1.171 MB / 0.7697 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/0.7327, allocations: 1.352 MB / 0.771 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003793/0.7365, allocations: 1.22 MB / 0.7722 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7365, allocations: 0 / 0.7722 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.009123/0.7456, allocations: 2.917 MB / 0.7751 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.7457, allocations: 4 kB / 0.7751 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.7457, allocations: 4 kB / 0.7751 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006024/0.7463, allocations: 92.73 kB / 0.7752 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003451/0.7498, allocations: 0.5617 MB / 0.7757 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002103/0.7519, allocations: 1.54 MB / 0.7772 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003113/0.755, allocations: 350.2 kB / 0.7776 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.7553, allocations: 91.89 kB / 0.7776 GB, free: 2.188 MB / 0.5919 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 (207): * Single equations (assignments): 206 * 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.001241/0.7565, allocations: 393.5 kB / 0.778 GB, free: 1.793 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.7569, allocations: 138.3 kB / 0.7781 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.7676, allocations: 3.527 MB / 0.7816 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.7677, allocations: 24 kB / 0.7816 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.7677, allocations: 0 / 0.7816 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.7677, allocations: 15.94 kB / 0.7816 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01346/0.7812, allocations: 5.77 MB / 0.7873 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.7812, allocations: 4 kB / 0.7873 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003482/0.7847, allocations: 0.5461 MB / 0.7878 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005328/0.7853, allocations: 88.77 kB / 0.7879 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00023/0.7855, allocations: 67.92 kB / 0.7879 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.7875, allocations: 1.559 MB / 0.7895 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.7875, allocations: 4.688 kB / 0.7895 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009845/0.7974, allocations: 3.067 MB / 0.7925 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/0.7988, allocations: 0.5373 MB / 0.793 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/0.7993, allocations: 40 kB / 0.793 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/0.8022, allocations: 268.2 kB / 0.7933 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.8025, allocations: 129.8 kB / 0.7934 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000226/0.8027, allocations: 83.92 kB / 0.7935 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001193/0.8039, allocations: 0.631 MB / 0.7941 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.804, allocations: 0 / 0.7941 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002124/0.8061, allocations: 0.5957 MB / 0.7947 GB, free: 452 kB / 0.6075 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 (210): * Single equations (assignments): 207 * 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.001763/0.8079, allocations: 0.6366 MB / 0.7953 GB, free: 4 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009662/0.8175, allocations: 2.968 MB / 0.7982 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.8176, allocations: 0 / 0.7982 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004989/0.8226, allocations: 1.665 MB / 0.7998 GB, free: 11.35 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.8244, allocations: 303 kB / 0.8001 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.8361, allocations: 4.783 MB / 0.8048 GB, free: 6.25 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.8376, allocations: 1.412 MB / 0.8062 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004523/0.8421, allocations: 0.5506 MB / 0.8067 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001437/0.8436, allocations: 215.2 kB / 0.8069 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of SimCode: time 1.533e-06/0.8436, allocations: 0 / 0.8069 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of Templates: time 0.04875/0.8923, allocations: 26.05 MB / 0.8324 GB, free: 10.16 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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_DiffusePerez -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.DiffusePerez.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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_DiffusePerez -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.DiffusePerez_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_functions.o] Error 1