Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, 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.001052/0.001052, 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.395/1.395, 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.002/1.002, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003162, allocations: 16 kB / 0.5158 GB, free: 11.39 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1744, allocations: 83.41 MB / 0.5973 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004096/0.1785, allocations: 3.393 MB / 0.6006 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.499/0.6775, allocations: 127.4 MB / 0.725 GB, free: 3.258 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.6783, allocations: 17.75 kB / 0.725 GB, free: 3.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003992/0.6787, allocations: 69.55 kB / 0.7251 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002093/0.6808, allocations: 460.5 kB / 0.7255 GB, free: 2.941 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.6834, allocations: 0.5905 MB / 0.7261 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.6848, allocations: 0.7249 MB / 0.7268 GB, free: 2.254 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008265/0.6857, allocations: 451.8 kB / 0.7273 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005756/0.6863, allocations: 290 kB / 0.7275 GB, free: 1.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.6867, allocations: 282.5 kB / 0.7278 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.647e-05/0.6868, allocations: 20.75 kB / 0.7278 GB, free: 1.816 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.6878, allocations: 306.6 kB / 0.7281 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.688, allocations: 160.7 kB / 0.7283 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.6882, allocations: 173.4 kB / 0.7284 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.6901, allocations: 1.111 MB / 0.7295 GB, free: 1.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6901, allocations: 0.9375 kB / 0.7295 GB, free: 1.27 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6901, allocations: 0 / 0.7295 GB, free: 1.27 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.266e-05/0.6901, allocations: 4 kB / 0.7295 GB, free: 1.266 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002564/0.6927, allocations: 1.123 MB / 0.7306 GB, free: 484 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.6928, allocations: 10.5 kB / 0.7306 GB, free: 484 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009573/0.6937, allocations: 185.8 kB / 0.7308 GB, free: 424 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.695, allocations: 0.6726 MB / 0.7315 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.545e-05/0.6951, allocations: 61.25 kB / 0.7315 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6952, allocations: 75.31 kB / 0.7316 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.6969, allocations: 0.8295 MB / 0.7324 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.6969, allocations: 0.5 kB / 0.7324 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.697, allocations: 36.56 kB / 0.7324 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.697, allocations: 19.25 kB / 0.7325 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.699, allocations: 1.048 MB / 0.7335 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004203/0.7032, allocations: 2.369 MB / 0.7358 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.7046, allocations: 0.7788 MB / 0.7366 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.705e-05/0.7047, allocations: 30.52 kB / 0.7366 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008205/0.7055, allocations: 419.8 kB / 0.737 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 2.605e-06/0.7056, allocations: 0 / 0.737 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002914/0.7085, allocations: 1.051 MB / 0.738 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001652/0.7087, allocations: 192.4 kB / 0.7382 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.7096, allocations: 0.5785 MB / 0.7388 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.7096, allocations: 37.7 kB / 0.7388 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/0.71, allocations: 371 kB / 0.7391 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7102, allocations: 235.2 kB / 0.7394 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.7103, allocations: 12 kB / 0.7394 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.7105, allocations: 381.3 kB / 0.7397 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.711, allocations: 208.8 kB / 0.7399 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.7115, allocations: 311.9 kB / 0.7402 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/0.712, allocations: 258.4 kB / 0.7405 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.712, allocations: 0 / 0.7405 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001625/0.7136, allocations: 0.6987 MB / 0.7412 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7136, allocations: 8 kB / 0.7412 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.7137, allocations: 0.5625 kB / 0.7412 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005897/0.7143, allocations: 87.42 kB / 0.7413 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/0.7148, allocations: 129.2 kB / 0.7414 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.7168, allocations: 1.538 MB / 0.7429 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.7175, allocations: 87.42 kB / 0.743 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.144e-05/0.7175, allocations: 23.98 kB / 0.743 GB, free: 6.281 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.0004757/0.718, allocations: 246.3 kB / 0.7432 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.7181, allocations: 71.16 kB / 0.7433 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.7202, allocations: 0.9699 MB / 0.7442 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.7202, allocations: 8 kB / 0.7443 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-06/0.7202, allocations: 3.938 kB / 0.7443 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.7203, allocations: 7.984 kB / 0.7443 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/0.7233, allocations: 1.8 MB / 0.746 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.7234, allocations: 3.312 kB / 0.746 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.7239, allocations: 139.8 kB / 0.7462 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.7244, allocations: 80.78 kB / 0.7462 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.7244, allocations: 19.98 kB / 0.7463 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00182/0.7263, allocations: 1.563 MB / 0.7478 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7263, allocations: 0 / 0.7478 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.728, allocations: 0.879 MB / 0.7486 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/0.7284, allocations: 271.8 kB / 0.7489 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.7285, allocations: 20 kB / 0.7489 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.7291, allocations: 71.61 kB / 0.749 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.7292, allocations: 60.91 kB / 0.749 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.7293, allocations: 27.98 kB / 0.7491 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005569/0.7299, allocations: 419.1 kB / 0.7495 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7299, allocations: 0 / 0.7495 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009331/0.7308, allocations: 283.2 kB / 0.7497 GB, free: 15.12 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.001402/0.7322, allocations: 0.5981 MB / 0.7503 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001436/0.7337, allocations: 0.7156 MB / 0.751 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7337, allocations: 0 / 0.751 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.7345, allocations: 480.5 kB / 0.7515 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.7356, allocations: 243.6 kB / 0.7517 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.7395, allocations: 1.974 MB / 0.7536 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/0.7401, allocations: 1.011 MB / 0.7546 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008193/0.7409, allocations: 254 kB / 0.7549 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.7411, allocations: 99.33 kB / 0.755 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.7411, allocations: 0 / 0.755 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of Templates: time 0.02134/0.7625, allocations: 12.62 MB / 0.7673 GB, free: 13.48 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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_BaseClasses_Examples_SolarHourAngle -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.BaseClasses.Examples.SolarHourAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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_BaseClasses_Examples_SolarHourAngle -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.BaseClasses.Examples.SolarHourAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_functions.o] Error 1