Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0008541/0.0008544, allocations: 95.69 kB / 16.33 MB, free: 6.012 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.0009859/0.0009861, allocations: 183.5 kB / 17.22 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.564/1.564, allocations: 223.2 MB / 241.2 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7929/0.7929, allocations: 114.4 MB / 406.7 MB, free: 3.969 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004245/0.0004246, allocations: 12 kB / 494.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 77.27 MB / 0.5583 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005413/0.2197, allocations: 3.807 MB / 0.562 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.6669/0.8867, allocations: 136.8 MB / 0.6956 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008832/0.8876, allocations: 19.88 kB / 0.6956 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006546/0.8883, allocations: 134.9 kB / 0.6958 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.8901, allocations: 431.1 kB / 0.6962 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.8922, allocations: 0.6423 MB / 0.6968 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001687/0.8939, allocations: 1.168 MB / 0.6979 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000879/0.8947, allocations: 484.1 kB / 0.6984 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000621/0.8954, allocations: 350.4 kB / 0.6987 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.8959, allocations: 374.1 kB / 0.6991 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.991e-05/0.896, allocations: 28 kB / 0.6991 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008838/0.8969, allocations: 339.6 kB / 0.6994 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.8971, allocations: 191.2 kB / 0.6996 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.8974, allocations: 201.1 kB / 0.6998 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.8989, allocations: 1.177 MB / 0.701 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8989, allocations: 0 / 0.701 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8989, allocations: 0 / 0.701 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.899, allocations: 4 kB / 0.701 GB, free: 7.547 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002408/0.9014, allocations: 1.25 MB / 0.7022 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.9014, allocations: 12.02 kB / 0.7022 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/0.9023, allocations: 198.4 kB / 0.7024 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.9036, allocations: 0.7233 MB / 0.7031 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.9037, allocations: 66 kB / 0.7032 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.9038, allocations: 91.94 kB / 0.7032 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/0.9055, allocations: 0.9495 MB / 0.7042 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.9055, allocations: 4 kB / 0.7042 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/0.9056, allocations: 36 kB / 0.7042 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.9056, allocations: 20 kB / 0.7042 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/0.9077, allocations: 1.128 MB / 0.7053 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004601/0.9123, allocations: 2.569 MB / 0.7078 GB, free: 308 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.914, allocations: 0.9189 MB / 0.7087 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.9146, allocations: 318.6 kB / 0.709 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 8.98e-05/0.9147, allocations: 36.67 kB / 0.7091 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009415/0.9157, allocations: 0.5215 MB / 0.7096 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=85): time 2.635e-06/0.9157, allocations: 0 / 0.7096 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85): time 0.003386/0.9191, allocations: 1.266 MB / 0.7108 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.9192, allocations: 196.9 kB / 0.711 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009152/0.9202, allocations: 0.6333 MB / 0.7116 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/0.9202, allocations: 41.7 kB / 0.7117 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.9207, allocations: 408.3 kB / 0.7121 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.9209, allocations: 268.1 kB / 0.7123 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.921, allocations: 16 kB / 0.7123 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002789/0.9213, allocations: 394.7 kB / 0.7127 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/0.9218, allocations: 273.8 kB / 0.713 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006174/0.9224, allocations: 384 kB / 0.7133 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000597/0.923, allocations: 318.9 kB / 0.7136 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.923, allocations: 0 / 0.7136 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001941/0.925, allocations: 0.8916 MB / 0.7145 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.925, allocations: 4 kB / 0.7145 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.925, allocations: 4 kB / 0.7145 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.9256, allocations: 80.91 kB / 0.7146 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.9263, allocations: 171.8 kB / 0.7148 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00224/0.9286, allocations: 1.528 MB / 0.7162 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007843/0.9294, allocations: 115.3 kB / 0.7164 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.624e-05/0.9295, allocations: 39.97 kB / 0.7164 GB, free: 7.227 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.decAng.tNext,decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0005359/0.93, allocations: 271.5 kB / 0.7167 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.9301, allocations: 90.92 kB / 0.7167 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/0.9327, allocations: 1.145 MB / 0.7179 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.9327, allocations: 8 kB / 0.7179 GB, free: 5.703 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.9328, allocations: 4 kB / 0.7179 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.9328, allocations: 3.984 kB / 0.7179 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.9363, allocations: 2.032 MB / 0.7199 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.9363, allocations: 0 / 0.7199 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.937, allocations: 159.7 kB / 0.72 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/0.9374, allocations: 88.73 kB / 0.7201 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/0.9375, allocations: 27.97 kB / 0.7201 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.9397, allocations: 1.54 MB / 0.7216 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.9397, allocations: 3.984 kB / 0.7216 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.9418, allocations: 1.051 MB / 0.7227 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.9424, allocations: 295.5 kB / 0.7229 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.9425, allocations: 27.94 kB / 0.723 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000642/0.9431, allocations: 86.36 kB / 0.723 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.9433, allocations: 88.81 kB / 0.7231 GB, free: 68 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/0.9434, allocations: 35.98 kB / 0.7232 GB, free: 32 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007383/0.9442, allocations: 455.1 kB / 0.7236 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9442, allocations: 0 / 0.7236 GB, free: 15.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001027/0.9452, allocations: 323.2 kB / 0.7239 GB, free: 15.27 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001536/0.9468, allocations: 0.5985 MB / 0.7245 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.9487, allocations: 0.8664 MB / 0.7253 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.9487, allocations: 0 / 0.7253 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/0.9497, allocations: 0.5395 MB / 0.7259 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.9509, allocations: 266.2 kB / 0.7261 GB, free: 13.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004522/0.9555, allocations: 2.294 MB / 0.7284 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007534/0.9562, allocations: 1.036 MB / 0.7294 GB, free: 9.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.9566, allocations: 127.3 kB / 0.7295 GB, free: 9.672 MB / 0.545 GB Notification: Performance of SimCode: time 1.302e-06/0.9566, allocations: 4 kB / 0.7295 GB, free: 9.668 MB / 0.545 GB Notification: Performance of Templates: time 0.0286/0.9852, allocations: 18.72 MB / 0.7478 GB, free: 7.008 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1