Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 99.7 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.001402/0.001403, 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.437/1.437, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.009/1.009, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 83.41 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005406/0.1992, allocations: 4.129 MB / 0.6013 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4924/0.6916, allocations: 127.8 MB / 0.7261 GB, free: 2.246 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.6927, allocations: 16.38 kB / 0.7261 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.6932, allocations: 81.53 kB / 0.7262 GB, free: 2.199 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.695, allocations: 0.5359 MB / 0.7267 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.6974, allocations: 0.7047 MB / 0.7274 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001783/0.6992, allocations: 0.9454 MB / 0.7283 GB, free: 1 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.7005, allocations: 0.9161 MB / 0.7292 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000964/0.7015, allocations: 436.7 kB / 0.7296 GB, free: 404 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006398/0.7022, allocations: 440.5 kB / 0.73 GB, free: 180 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.064e-05/0.7023, allocations: 28 kB / 0.7301 GB, free: 180 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.7034, allocations: 307.5 kB / 0.7304 GB, free: 104 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003188/0.7037, allocations: 231.9 kB / 0.7306 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002439/0.704, allocations: 263.9 kB / 0.7308 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.7067, allocations: 1.828 MB / 0.7326 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7067, allocations: 0 / 0.7326 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.949e-06/0.7067, allocations: 0.5625 kB / 0.7326 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.151e-05/0.7068, allocations: 0 / 0.7326 GB, free: 15.38 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003298/0.7101, allocations: 1.505 MB / 0.7341 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.7101, allocations: 10.84 kB / 0.7341 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.7112, allocations: 251.1 kB / 0.7343 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.7127, allocations: 0.8739 MB / 0.7352 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.7129, allocations: 144.1 kB / 0.7353 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.7131, allocations: 140 kB / 0.7355 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.7159, allocations: 1.455 MB / 0.7369 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.716, allocations: 4 kB / 0.7369 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.7161, allocations: 60.7 kB / 0.7369 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/0.7162, allocations: 37.53 kB / 0.737 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.7187, allocations: 1.49 MB / 0.7384 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006651/0.7253, allocations: 3.969 MB / 0.7423 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.7269, allocations: 0.9124 MB / 0.7432 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001/0.727, allocations: 46.39 kB / 0.7432 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009838/0.728, allocations: 0.5436 MB / 0.7438 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.425e-06/0.728, allocations: 0 / 0.7438 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.003289/0.7313, allocations: 1.378 MB / 0.7451 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.7314, allocations: 192.9 kB / 0.7453 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.7324, allocations: 0.759 MB / 0.746 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.7325, allocations: 41.7 kB / 0.7461 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004865/0.733, allocations: 0.5775 MB / 0.7466 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002673/0.7333, allocations: 315.4 kB / 0.7469 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.7333, allocations: 20 kB / 0.747 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7335, allocations: 334 kB / 0.7473 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005549/0.7341, allocations: 305.8 kB / 0.7476 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.7348, allocations: 431.3 kB / 0.748 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006554/0.7354, allocations: 370.9 kB / 0.7483 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.7354, allocations: 0.5625 kB / 0.7483 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001967/0.7374, allocations: 0.9775 MB / 0.7493 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7374, allocations: 8.781 kB / 0.7493 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.7375, allocations: 3.953 kB / 0.7493 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.738, allocations: 85.33 kB / 0.7494 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.7389, allocations: 191.7 kB / 0.7496 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.7412, allocations: 1.542 MB / 0.7511 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008881/0.7421, allocations: 113.3 kB / 0.7512 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.7422, allocations: 35.97 kB / 0.7512 GB, free: 13.59 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (103): * Single equations (assignments): 102 * 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.0008128/0.743, allocations: 315.7 kB / 0.7515 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.7432, allocations: 102.8 kB / 0.7516 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/0.7459, allocations: 1.314 MB / 0.7529 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.746, allocations: 15.94 kB / 0.7529 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.746, allocations: 0 / 0.7529 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.587e-05/0.746, allocations: 7.969 kB / 0.7529 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004238/0.7503, allocations: 2.496 MB / 0.7554 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7503, allocations: 3.188 kB / 0.7554 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007549/0.751, allocations: 187.7 kB / 0.7555 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005167/0.7516, allocations: 92.7 kB / 0.7556 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.7516, allocations: 27.98 kB / 0.7557 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/0.7536, allocations: 1.563 MB / 0.7572 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.7536, allocations: 0 / 0.7572 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.7558, allocations: 1.121 MB / 0.7583 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005928/0.7564, allocations: 347.3 kB / 0.7586 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.7566, allocations: 16 kB / 0.7586 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.7573, allocations: 80.28 kB / 0.7587 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.7575, allocations: 76.83 kB / 0.7588 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.186e-05/0.7576, allocations: 43.97 kB / 0.7588 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000966/0.7586, allocations: 0.5498 MB / 0.7594 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7586, allocations: 4 kB / 0.7594 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001488/0.7601, allocations: 394.6 kB / 0.7597 GB, free: 4.625 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 (107): * Single equations (assignments): 104 * 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.00168/0.7618, allocations: 0.6043 MB / 0.7603 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.7639, allocations: 0.9273 MB / 0.7612 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7639, allocations: 0 / 0.7612 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.7649, allocations: 0.59 MB / 0.7618 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.7662, allocations: 268.6 kB / 0.7621 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.7717, allocations: 2.92 MB / 0.7649 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008569/0.7725, allocations: 1.193 MB / 0.7661 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001069/0.7736, allocations: 307.2 kB / 0.7664 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.7739, allocations: 123.4 kB / 0.7665 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of SimCode: time 3.116e-06/0.7739, allocations: 0 / 0.7665 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.03026/0.8042, allocations: 16.06 MB / 0.7822 GB, free: 13.95 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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_DirectTiltedSurface -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.DirectTiltedSurface.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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_DirectTiltedSurface -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.DirectTiltedSurface_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_functions.o] Error 1