Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007728/0.000773, allocations: 103 kB / 15.71 MB, free: 460 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.0007998/0.0007999, allocations: 177.3 kB / 16.58 MB, free: 6.402 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.248/1.248, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8747/0.8747, allocations: 135.3 MB / 427 MB, free: 14.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002918/0.0002918, allocations: 8 kB / 0.5076 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 82.32 MB / 0.588 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005101/0.159, allocations: 4.231 MB / 0.5921 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4284/0.5874, allocations: 137 MB / 0.7259 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.5885, allocations: 16.56 kB / 0.7259 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007619/0.5893, allocations: 141.2 kB / 0.726 GB, free: 6.934 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.5913, allocations: 465.3 kB / 0.7265 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002408/0.5937, allocations: 0.6983 MB / 0.7272 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.5957, allocations: 1.339 MB / 0.7285 GB, free: 5.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.5972, allocations: 0.9242 MB / 0.7294 GB, free: 5.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009051/0.5981, allocations: 423.9 kB / 0.7298 GB, free: 5.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008931/0.599, allocations: 456.3 kB / 0.7302 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002508/0.5993, allocations: 28.56 kB / 0.7303 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.6004, allocations: 344.1 kB / 0.7306 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.6006, allocations: 225.4 kB / 0.7308 GB, free: 4.629 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.6009, allocations: 265.6 kB / 0.731 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.6029, allocations: 1.69 MB / 0.7327 GB, free: 4.012 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6029, allocations: 0 / 0.7327 GB, free: 4.012 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.603, allocations: 0 / 0.7327 GB, free: 4.012 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.603, allocations: 0.8438 kB / 0.7327 GB, free: 4.012 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.002502/0.6055, allocations: 1.502 MB / 0.7342 GB, free: 3.012 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6055, allocations: 10.12 kB / 0.7342 GB, free: 3.012 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/0.6064, allocations: 250.3 kB / 0.7344 GB, free: 2.922 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.6076, allocations: 0.8703 MB / 0.7353 GB, free: 2.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.6077, allocations: 144 kB / 0.7354 GB, free: 2.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.6079, allocations: 138.1 kB / 0.7355 GB, free: 2.227 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.6104, allocations: 1.469 MB / 0.737 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.6105, allocations: 1.375 kB / 0.737 GB, free: 1.566 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.6106, allocations: 61.31 kB / 0.737 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.6106, allocations: 35.97 kB / 0.7371 GB, free: 1.52 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.6129, allocations: 1.495 MB / 0.7385 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005576/0.6185, allocations: 3.963 MB / 0.7424 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.6198, allocations: 0.9044 MB / 0.7433 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.6204, allocations: 370.9 kB / 0.7436 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.025e-05/0.6205, allocations: 46.31 kB / 0.7437 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009151/0.6214, allocations: 0.5461 MB / 0.7442 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=93): time 2.485e-06/0.6214, allocations: 7.938 kB / 0.7442 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of matching and sorting (n=93): time 0.002921/0.6243, allocations: 1.376 MB / 0.7456 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.6244, allocations: 188.9 kB / 0.7457 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009224/0.6254, allocations: 0.7589 MB / 0.7465 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.6254, allocations: 45.7 kB / 0.7465 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.6259, allocations: 0.5812 MB / 0.7471 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002242/0.6261, allocations: 303.5 kB / 0.7474 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/0.6261, allocations: 23.94 kB / 0.7474 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.6263, allocations: 337.9 kB / 0.7477 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005547/0.6268, allocations: 325.8 kB / 0.748 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000648/0.6275, allocations: 439.9 kB / 0.7485 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006539/0.6281, allocations: 386.9 kB / 0.7488 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.6282, allocations: 0 / 0.7488 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001948/0.6301, allocations: 1.028 MB / 0.7498 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.6301, allocations: 8 kB / 0.7498 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.6302, allocations: 0 / 0.7498 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.6307, allocations: 88.83 kB / 0.7499 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007636/0.6314, allocations: 199.7 kB / 0.7501 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.6333, allocations: 1.543 MB / 0.7516 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/0.634, allocations: 111.1 kB / 0.7517 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.732e-05/0.6341, allocations: 48.02 kB / 0.7518 GB, free: 4.684 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.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 (111): * Single equations (assignments): 110 * 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.0005708/0.6347, allocations: 321.6 kB / 0.7521 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6348, allocations: 94.78 kB / 0.7522 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.6374, allocations: 1.303 MB / 0.7534 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.6374, allocations: 12 kB / 0.7535 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.6374, allocations: 4 kB / 0.7535 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6375, allocations: 7.969 kB / 0.7535 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/0.6411, allocations: 2.498 MB / 0.7559 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.6411, allocations: 0 / 0.7559 GB, free: 376 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.6417, allocations: 175.8 kB / 0.7561 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004194/0.6422, allocations: 92.77 kB / 0.7562 GB, free: 104 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.413e-05/0.6422, allocations: 23.98 kB / 0.7562 GB, free: 80 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.6439, allocations: 1.559 MB / 0.7577 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6439, allocations: 3.203 kB / 0.7577 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.6458, allocations: 1.113 MB / 0.7588 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/0.6462, allocations: 347.3 kB / 0.7591 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.6464, allocations: 16 kB / 0.7591 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006226/0.647, allocations: 83.88 kB / 0.7592 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/0.6471, allocations: 72.89 kB / 0.7593 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/0.6472, allocations: 39.97 kB / 0.7593 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007126/0.6479, allocations: 0.5536 MB / 0.7599 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.648, allocations: 0 / 0.7599 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001113/0.6491, allocations: 402.5 kB / 0.7603 GB, free: 11.73 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 (107): * Single equations (assignments): 104 * 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.001262/0.6503, allocations: 0.591 MB / 0.7608 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001694/0.652, allocations: 0.9676 MB / 0.7618 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6521, allocations: 256 / 0.7618 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009003/0.653, allocations: 0.5783 MB / 0.7623 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.6541, allocations: 267.6 kB / 0.7626 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004734/0.6589, allocations: 2.991 MB / 0.7655 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.6596, allocations: 1.163 MB / 0.7667 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003719/0.66, allocations: 135.4 kB / 0.7668 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.66, allocations: 0 / 0.7668 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of Templates: time 0.02852/0.6885, allocations: 23.78 MB / 0.79 GB, free: 13.44 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/IDEAS 3.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/IDEAS 3.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1