Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 100.3 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.001368/0.001368, 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.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.075/1.075, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003522, allocations: 12 kB / 0.5158 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1895, allocations: 83.39 MB / 0.5973 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.005137/0.1947, allocations: 3.506 MB / 0.6007 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4686/0.6634, allocations: 127.6 MB / 0.7253 GB, free: 3.207 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008638/0.6643, allocations: 18.38 kB / 0.7253 GB, free: 3.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003898/0.6647, allocations: 71.38 kB / 0.7254 GB, free: 3.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001694/0.6664, allocations: 474.9 kB / 0.7258 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002152/0.6685, allocations: 0.5981 MB / 0.7264 GB, free: 2.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.67, allocations: 0.7604 MB / 0.7272 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007754/0.6708, allocations: 480.8 kB / 0.7276 GB, free: 1.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005678/0.6714, allocations: 320.7 kB / 0.7279 GB, free: 1.824 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.6718, allocations: 300.3 kB / 0.7282 GB, free: 1.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.66e-05/0.6719, allocations: 26.84 kB / 0.7282 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008802/0.6728, allocations: 310.8 kB / 0.7285 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.673, allocations: 164.1 kB / 0.7287 GB, free: 1.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.6732, allocations: 178.9 kB / 0.7289 GB, free: 1.402 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.6747, allocations: 1.149 MB / 0.73 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.6747, allocations: 0 / 0.73 GB, free: 1.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6747, allocations: 0 / 0.73 GB, free: 1.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.6748, allocations: 0 / 0.73 GB, free: 1.117 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002467/0.6772, allocations: 1.164 MB / 0.7311 GB, free: 304 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.6773, allocations: 9.062 kB / 0.7311 GB, free: 304 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009962/0.6783, allocations: 187.6 kB / 0.7313 GB, free: 244 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/0.6795, allocations: 0.6895 MB / 0.732 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-05/0.6796, allocations: 59.73 kB / 0.732 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6797, allocations: 80.88 kB / 0.7321 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/0.6814, allocations: 0.8784 MB / 0.733 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.271e-05/0.6814, allocations: 4.297 kB / 0.733 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.6815, allocations: 32.19 kB / 0.733 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6816, allocations: 19.72 kB / 0.733 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.6836, allocations: 1.103 MB / 0.7341 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004744/0.6884, allocations: 2.53 MB / 0.7366 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.6898, allocations: 0.7417 MB / 0.7373 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/0.6899, allocations: 36.22 kB / 0.7373 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.6908, allocations: 444.8 kB / 0.7378 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.394e-06/0.6908, allocations: 0 / 0.7378 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002948/0.6937, allocations: 1.126 MB / 0.7389 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.6938, allocations: 189.6 kB / 0.739 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.6946, allocations: 0.5931 MB / 0.7396 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.6947, allocations: 41.7 kB / 0.7397 GB, free: 9.91 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.695, allocations: 380 kB / 0.74 GB, free: 9.566 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.6953, allocations: 250.1 kB / 0.7403 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.6953, allocations: 16 kB / 0.7403 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6955, allocations: 384.8 kB / 0.7406 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004444/0.6959, allocations: 229.9 kB / 0.7409 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005345/0.6965, allocations: 338.2 kB / 0.7412 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005258/0.697, allocations: 279.2 kB / 0.7414 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.697, allocations: 4 kB / 0.7415 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001661/0.6987, allocations: 0.7704 MB / 0.7422 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6987, allocations: 8 kB / 0.7422 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.6987, allocations: 0 / 0.7422 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005842/0.6993, allocations: 84.83 kB / 0.7423 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.7, allocations: 147.8 kB / 0.7424 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/0.7019, allocations: 1.538 MB / 0.7439 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006602/0.7026, allocations: 91.39 kB / 0.744 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/0.7027, allocations: 27.98 kB / 0.744 GB, free: 5.27 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 (81): * Single equations (assignments): 80 * 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.0004309/0.7031, allocations: 254.4 kB / 0.7443 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/0.7032, allocations: 82.98 kB / 0.7444 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/0.7056, allocations: 1.038 MB / 0.7454 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.7056, allocations: 16.5 kB / 0.7454 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.7056, allocations: 0 / 0.7454 GB, free: 3.867 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.7056, allocations: 7.938 kB / 0.7454 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.7089, allocations: 1.884 MB / 0.7472 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.7089, allocations: 0.6875 kB / 0.7472 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.7095, allocations: 155.8 kB / 0.7474 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005427/0.7101, allocations: 84.77 kB / 0.7475 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.514e-05/0.7102, allocations: 27.98 kB / 0.7475 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.712, allocations: 1.559 MB / 0.749 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.712, allocations: 0 / 0.749 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.7139, allocations: 0.9375 MB / 0.7499 GB, free: 15 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004327/0.7144, allocations: 275.7 kB / 0.7502 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.7145, allocations: 16 kB / 0.7502 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006104/0.7151, allocations: 68.94 kB / 0.7503 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.7153, allocations: 60.91 kB / 0.7503 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.289e-05/0.7153, allocations: 31.98 kB / 0.7504 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006028/0.7159, allocations: 443 kB / 0.7508 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.61e-07/0.716, allocations: 0 / 0.7508 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000993/0.717, allocations: 287.3 kB / 0.7511 GB, free: 13.83 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 (87): * Single equations (assignments): 84 * 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.001416/0.7184, allocations: 0.6105 MB / 0.7517 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00159/0.72, allocations: 0.751 MB / 0.7524 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.72, allocations: 4.062 kB / 0.7524 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.7209, allocations: 496.3 kB / 0.7529 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.722, allocations: 254.1 kB / 0.7531 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/0.7258, allocations: 2.069 MB / 0.7551 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.7264, allocations: 1.022 MB / 0.7561 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008992/0.7273, allocations: 262.2 kB / 0.7564 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002457/0.7276, allocations: 103.4 kB / 0.7565 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of SimCode: time 2.174e-06/0.7276, allocations: 4 kB / 0.7565 GB, free: 8.418 MB / 0.5762 GB Notification: Performance of Templates: time 0.0245/0.7521, allocations: 13.21 MB / 0.7694 GB, free: 11.4 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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_IncidenceAngle -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.IncidenceAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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_IncidenceAngle -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.IncidenceAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_functions.o] Error 1