Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007656/0.0007658, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009317/0.0009316, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.399/1.399, allocations: 223.2 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.3 MB / 424.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 12.72 kB / 0.5046 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5581/0.5585, allocations: 81.58 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004466/0.563, allocations: 3.751 MB / 0.588 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1641/0.7271, allocations: 146.6 MB / 0.7311 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000641/0.7278, allocations: 15.94 kB / 0.7311 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.7283, allocations: 131 kB / 0.7312 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.7295, allocations: 405 kB / 0.7316 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.7312, allocations: 0.6902 MB / 0.7323 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.7322, allocations: 1.109 MB / 0.7334 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007546/0.733, allocations: 0.5708 MB / 0.7339 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.7334, allocations: 306.4 kB / 0.7342 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003814/0.7338, allocations: 334.1 kB / 0.7345 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.7338, allocations: 27.94 kB / 0.7346 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.7345, allocations: 363.7 kB / 0.7349 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.7347, allocations: 167.2 kB / 0.7351 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003172/0.735, allocations: 415.1 kB / 0.7355 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.736, allocations: 1.068 MB / 0.7365 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.736, allocations: 0 / 0.7365 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.784e-06/0.736, allocations: 0 / 0.7365 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.736, allocations: 0 / 0.7365 GB, free: 3.98 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001835/0.7379, allocations: 1.136 MB / 0.7376 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.7379, allocations: 12.03 kB / 0.7376 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008537/0.7388, allocations: 191.5 kB / 0.7378 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008878/0.7397, allocations: 0.7033 MB / 0.7385 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.7397, allocations: 62 kB / 0.7385 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.716e-05/0.7398, allocations: 72 kB / 0.7386 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.7413, allocations: 0.8755 MB / 0.7395 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.7413, allocations: 0 / 0.7395 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.7414, allocations: 32 kB / 0.7395 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.7414, allocations: 20 kB / 0.7395 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.743, allocations: 1.077 MB / 0.7406 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003437/0.7464, allocations: 2.414 MB / 0.7429 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.7477, allocations: 0.8124 MB / 0.7437 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/0.7482, allocations: 278.7 kB / 0.744 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.7483, allocations: 32.67 kB / 0.744 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007169/0.749, allocations: 439.1 kB / 0.7444 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=73): time 1.814e-06/0.749, allocations: 3.938 kB / 0.7444 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=73): time 0.002772/0.7518, allocations: 1.092 MB / 0.7455 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.067e-05/0.7519, allocations: 192.5 kB / 0.7457 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.7525, allocations: 0.59 MB / 0.7463 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.695e-05/0.7526, allocations: 37.7 kB / 0.7463 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.7529, allocations: 372.3 kB / 0.7467 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.7531, allocations: 252.4 kB / 0.7469 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.731e-05/0.7531, allocations: 65.62 kB / 0.747 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7533, allocations: 378.8 kB / 0.7473 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.7538, allocations: 241.9 kB / 0.7476 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.7543, allocations: 336 kB / 0.7479 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009601/0.7553, allocations: 0.5768 MB / 0.7484 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7553, allocations: 0 / 0.7484 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001701/0.757, allocations: 0.7942 MB / 0.7492 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.757, allocations: 4 kB / 0.7492 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.757, allocations: 8.062 kB / 0.7492 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005879/0.7576, allocations: 80.91 kB / 0.7493 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.7583, allocations: 147.8 kB / 0.7494 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.7602, allocations: 1.528 MB / 0.7509 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006324/0.7608, allocations: 83.39 kB / 0.751 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.924e-05/0.7609, allocations: 31.97 kB / 0.751 GB, free: 4.539 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: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003954/0.7613, allocations: 261.7 kB / 0.7513 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.7614, allocations: 75.25 kB / 0.7514 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/0.7635, allocations: 1.002 MB / 0.7523 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.7636, allocations: 15.98 kB / 0.7524 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.7636, allocations: 0 / 0.7524 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-06/0.7636, allocations: 3.984 kB / 0.7524 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.7665, allocations: 1.866 MB / 0.7542 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7665, allocations: 3.938 kB / 0.7542 GB, free: 1.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.7671, allocations: 151.8 kB / 0.7543 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/0.7676, allocations: 88.7 kB / 0.7544 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.636e-05/0.7677, allocations: 23.98 kB / 0.7544 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.7694, allocations: 1.548 MB / 0.756 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.7694, allocations: 7.969 kB / 0.756 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.7711, allocations: 0.9219 MB / 0.7569 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.7715, allocations: 271.7 kB / 0.7571 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.263e-05/0.7716, allocations: 23.94 kB / 0.7571 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/0.7721, allocations: 63.95 kB / 0.7572 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.7723, allocations: 64.84 kB / 0.7573 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.7723, allocations: 35.98 kB / 0.7573 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004942/0.7728, allocations: 427 kB / 0.7577 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7728, allocations: 0 / 0.7577 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008696/0.7737, allocations: 287.4 kB / 0.758 GB, free: 13.18 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.775, allocations: 0.6051 MB / 0.7586 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001441/0.7764, allocations: 0.7648 MB / 0.7593 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7764, allocations: 0 / 0.7593 GB, free: 12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008009/0.7772, allocations: 0.5004 MB / 0.7598 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.7784, allocations: 252.6 kB / 0.7601 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.7822, allocations: 2.161 MB / 0.7622 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.7827, allocations: 1 MB / 0.7631 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/0.783, allocations: 107.4 kB / 0.7632 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/0.783, allocations: 4 kB / 0.7632 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of Templates: time 0.01987/0.8029, allocations: 16.97 MB / 0.7798 GB, free: 7.008 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/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/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngleCalcHelperMain.o] Error 1