Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 99.31 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.001344/0.001344, 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.484/1.484, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9852/0.9852, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003253/0.0003253, allocations: 8 kB / 0.5158 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2808, allocations: 83.41 MB / 0.5973 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.008134/0.289, allocations: 3.474 MB / 0.6007 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4886/0.7777, allocations: 127.4 MB / 0.7251 GB, free: 3.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.7783, allocations: 17.91 kB / 0.7251 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.7787, allocations: 69.69 kB / 0.7252 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.7801, allocations: 467.1 kB / 0.7257 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.7819, allocations: 0.6157 MB / 0.7263 GB, free: 2.484 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001108/0.783, allocations: 0.7434 MB / 0.727 GB, free: 2.082 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006857/0.7837, allocations: 456.8 kB / 0.7274 GB, free: 1.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005086/0.7842, allocations: 312.2 kB / 0.7277 GB, free: 1.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003669/0.7846, allocations: 294.6 kB / 0.728 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.284e-05/0.7846, allocations: 21.56 kB / 0.728 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.7854, allocations: 305.2 kB / 0.7283 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.7855, allocations: 165.6 kB / 0.7285 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.7857, allocations: 180.3 kB / 0.7286 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.7869, allocations: 1.135 MB / 0.7297 GB, free: 1.074 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.787, allocations: 4 kB / 0.7298 GB, free: 1.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.787, allocations: 3.938 kB / 0.7298 GB, free: 1.066 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.198e-05/0.787, allocations: 0 / 0.7298 GB, free: 1.066 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001888/0.7889, allocations: 1.146 MB / 0.7309 GB, free: 260 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.7889, allocations: 11.81 kB / 0.7309 GB, free: 260 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.7898, allocations: 185.9 kB / 0.7311 GB, free: 200 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.7908, allocations: 0.6819 MB / 0.7317 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.7909, allocations: 62.42 kB / 0.7318 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.791, allocations: 74.34 kB / 0.7319 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.7925, allocations: 0.8632 MB / 0.7327 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.7925, allocations: 1.938 kB / 0.7327 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.7926, allocations: 33.41 kB / 0.7327 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.7926, allocations: 18.38 kB / 0.7328 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.7943, allocations: 1.07 MB / 0.7338 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.7982, allocations: 2.415 MB / 0.7362 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.7995, allocations: 0.8013 MB / 0.7369 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.717e-05/0.7996, allocations: 30.7 kB / 0.737 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007532/0.8003, allocations: 428.5 kB / 0.7374 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.8004, allocations: 0 / 0.7374 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.002726/0.8031, allocations: 1.085 MB / 0.7384 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.8032, allocations: 198.3 kB / 0.7386 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007151/0.8039, allocations: 0.5816 MB / 0.7392 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.804, allocations: 41.7 kB / 0.7392 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.8043, allocations: 377.2 kB / 0.7396 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.8044, allocations: 236.8 kB / 0.7398 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.8045, allocations: 12 kB / 0.7398 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8047, allocations: 380.6 kB / 0.7402 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.8051, allocations: 221.1 kB / 0.7404 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/0.8056, allocations: 322.7 kB / 0.7407 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.8061, allocations: 267.5 kB / 0.741 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8061, allocations: 0 / 0.741 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00164/0.8077, allocations: 0.7339 MB / 0.7417 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.8078, allocations: 7.953 kB / 0.7417 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.8078, allocations: 0 / 0.7417 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.8084, allocations: 84.91 kB / 0.7418 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.809, allocations: 142.7 kB / 0.7419 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.8112, allocations: 1.54 MB / 0.7434 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007912/0.812, allocations: 79.39 kB / 0.7435 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/0.8121, allocations: 27.98 kB / 0.7435 GB, free: 5.648 MB / 0.5606 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 (77): * Single equations (assignments): 76 * 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.0005966/0.8127, allocations: 253.7 kB / 0.7438 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.8128, allocations: 83 kB / 0.7438 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002185/0.815, allocations: 1.016 MB / 0.7448 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.815, allocations: 11.98 kB / 0.7448 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.815, allocations: 0 / 0.7448 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.815, allocations: 3.984 kB / 0.7448 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.8182, allocations: 1.88 MB / 0.7467 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.8182, allocations: 0 / 0.7467 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.8188, allocations: 143.8 kB / 0.7468 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.8193, allocations: 88.73 kB / 0.7469 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.128e-05/0.8194, allocations: 23.98 kB / 0.7469 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.8212, allocations: 1.555 MB / 0.7484 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8212, allocations: 0 / 0.7484 GB, free: 392 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.823, allocations: 0.922 MB / 0.7493 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004185/0.8234, allocations: 280.5 kB / 0.7496 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.8235, allocations: 16 kB / 0.7496 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.8241, allocations: 70.03 kB / 0.7497 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.8242, allocations: 56.92 kB / 0.7497 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.467e-05/0.8243, allocations: 35.97 kB / 0.7498 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005251/0.8248, allocations: 423.1 kB / 0.7502 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8248, allocations: 0 / 0.7502 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009033/0.8257, allocations: 283.3 kB / 0.7505 GB, free: 14.29 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.001325/0.8271, allocations: 0.5948 MB / 0.751 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.8285, allocations: 0.7353 MB / 0.7518 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8285, allocations: 4 kB / 0.7518 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.8293, allocations: 496.4 kB / 0.7522 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.8304, allocations: 264.6 kB / 0.7525 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003857/0.8342, allocations: 2.04 MB / 0.7545 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/0.8348, allocations: 1.026 MB / 0.7555 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007744/0.8356, allocations: 246.8 kB / 0.7557 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.8359, allocations: 107.4 kB / 0.7558 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.8359, allocations: 3.938 kB / 0.7558 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of Templates: time 0.02053/0.8564, allocations: 12.92 MB / 0.7684 GB, free: 12.2 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile Environment - environmentSimulation: make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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_AltitudeAngle -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.AltitudeAngle.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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_AltitudeAngle -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.AltitudeAngle_functions.o BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c In file included from BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.c:7: ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_includes.h:6:10: fatal error: 'getTimeSpan.c' file not found #include ^~~~~~~~~~~~~~~ 1 error generated. make: *** [: BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_functions.o] Error 1