Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004717/0.004717, allocations: 96.91 kB / 15.87 MB, free: 6.297 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.001142/0.001142, allocations: 196.5 kB / 16.79 MB, free: 6.223 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.284/1.284, allocations: 222.9 MB / 240.5 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7774/0.7774, allocations: 132.2 MB / 422.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 58.34 kB / 0.5017 GB, free: 9.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1541, allocations: 80.2 MB / 0.58 GB, free: 9.215 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005013/0.1592, allocations: 4.072 MB / 0.584 GB, free: 5.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4615/0.6207, allocations: 148.1 MB / 0.7287 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007133/0.6215, allocations: 14.84 kB / 0.7287 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005864/0.6221, allocations: 138.4 kB / 0.7288 GB, free: 3.375 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.6236, allocations: 388.6 kB / 0.7292 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.6254, allocations: 0.6822 MB / 0.7298 GB, free: 2.801 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.6266, allocations: 1.07 MB / 0.7309 GB, free: 2.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007891/0.6274, allocations: 0.5801 MB / 0.7314 GB, free: 1.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000477/0.6278, allocations: 359.2 kB / 0.7318 GB, free: 1.82 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.6283, allocations: 405.7 kB / 0.7322 GB, free: 1.617 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.6284, allocations: 54.44 kB / 0.7322 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000805/0.6292, allocations: 390.2 kB / 0.7326 GB, free: 1.512 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.6294, allocations: 211.3 kB / 0.7328 GB, free: 1.398 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004116/0.6299, allocations: 437.4 kB / 0.7332 GB, free: 1.117 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.631, allocations: 1.069 MB / 0.7343 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.631, allocations: 0 / 0.7343 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.631, allocations: 0 / 0.7343 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.6311, allocations: 4 kB / 0.7343 GB, free: 0.7383 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002259/0.6333, allocations: 1.307 MB / 0.7355 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6334, allocations: 9.219 kB / 0.7356 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.6343, allocations: 176.1 kB / 0.7357 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000921/0.6352, allocations: 0.6997 MB / 0.7364 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.6353, allocations: 57.56 kB / 0.7365 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.6354, allocations: 73.66 kB / 0.7365 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.6367, allocations: 0.8401 MB / 0.7373 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.6367, allocations: 0 / 0.7373 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.188e-05/0.6368, allocations: 35.98 kB / 0.7374 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.6368, allocations: 19.19 kB / 0.7374 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/0.6383, allocations: 1.041 MB / 0.7384 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003513/0.6418, allocations: 2.337 MB / 0.7407 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.6432, allocations: 0.775 MB / 0.7415 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.6436, allocations: 269.3 kB / 0.7417 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.6437, allocations: 27.73 kB / 0.7417 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007917/0.6445, allocations: 422.2 kB / 0.7421 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=70): time 1.974e-06/0.6445, allocations: 0 / 0.7421 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=70): time 0.002788/0.6473, allocations: 1.052 MB / 0.7432 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.6474, allocations: 191.9 kB / 0.7434 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006634/0.6481, allocations: 0.5857 MB / 0.7439 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.6482, allocations: 35.67 kB / 0.744 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/0.6484, allocations: 365.2 kB / 0.7443 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.6486, allocations: 229.5 kB / 0.7445 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.6488, allocations: 146.8 kB / 0.7447 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.649, allocations: 382.5 kB / 0.745 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004125/0.6494, allocations: 229.2 kB / 0.7453 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005137/0.65, allocations: 318.8 kB / 0.7456 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009291/0.6509, allocations: 0.537 MB / 0.7461 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6509, allocations: 0 / 0.7461 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001727/0.6526, allocations: 0.7514 MB / 0.7468 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6527, allocations: 8 kB / 0.7468 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6527, allocations: 3.25 kB / 0.7468 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006177/0.6533, allocations: 84.86 kB / 0.7469 GB, free: 7.996 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.6539, allocations: 139.8 kB / 0.747 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002027/0.656, allocations: 1.516 MB / 0.7485 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/0.6566, allocations: 79.31 kB / 0.7486 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.155e-05/0.6567, allocations: 35.97 kB / 0.7486 GB, free: 6.09 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: 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 (81): * Single equations (assignments): 80 * 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.000451/0.6572, allocations: 249.8 kB / 0.7489 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.6573, allocations: 78.94 kB / 0.7489 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.6595, allocations: 0.9525 MB / 0.7499 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6595, allocations: 8 kB / 0.7499 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.6595, allocations: 4 kB / 0.7499 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.6595, allocations: 9.094 kB / 0.7499 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002931/0.6624, allocations: 1.789 MB / 0.7516 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6625, allocations: 0 / 0.7516 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005317/0.663, allocations: 135.8 kB / 0.7518 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005014/0.6635, allocations: 84.72 kB / 0.7518 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.6636, allocations: 19.98 kB / 0.7519 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001808/0.6654, allocations: 1.544 MB / 0.7534 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6654, allocations: 3.984 kB / 0.7534 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6672, allocations: 0.8868 MB / 0.7542 GB, free: 112 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003545/0.6676, allocations: 247.8 kB / 0.7545 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6677, allocations: 16 kB / 0.7545 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.6682, allocations: 55.94 kB / 0.7546 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.6684, allocations: 57.86 kB / 0.7546 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.6684, allocations: 27.98 kB / 0.7546 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005328/0.669, allocations: 423 kB / 0.755 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.669, allocations: 0 / 0.755 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008931/0.6699, allocations: 283.4 kB / 0.7553 GB, free: 15.01 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 (81): * Single equations (assignments): 78 * 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.001311/0.6712, allocations: 0.6085 MB / 0.7559 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.6726, allocations: 0.7309 MB / 0.7566 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.6727, allocations: 4.188 kB / 0.7566 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.6734, allocations: 484.7 kB / 0.7571 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.6746, allocations: 261.2 kB / 0.7573 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.6782, allocations: 2.032 MB / 0.7593 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005611/0.6788, allocations: 0.9886 MB / 0.7603 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002787/0.6791, allocations: 107.4 kB / 0.7604 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6791, allocations: 0 / 0.7604 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of Templates: time 0.02016/0.6993, allocations: 16.72 MB / 0.7767 GB, free: 9.312 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngleCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngleCalcHelperMain.o] Error 1