Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008778, 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.0008595/0.0008595, allocations: 173.1 kB / 16.58 MB, free: 6.035 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.278/1.278, allocations: 223.3 MB / 240.6 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8633/0.8633, allocations: 135.3 MB / 427 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003465/0.0003465, allocations: 8 kB / 0.5076 GB, free: 5.121 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1543, allocations: 82.32 MB / 0.588 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005752/0.1601, allocations: 5.198 MB / 0.5931 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4218/0.582, allocations: 137.6 MB / 0.7274 GB, free: 5.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.5832, allocations: 23.59 kB / 0.7275 GB, free: 5.48 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.5839, allocations: 172.1 kB / 0.7276 GB, free: 5.379 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001991/0.5859, allocations: 0.4986 MB / 0.7281 GB, free: 5.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.5889, allocations: 0.9319 MB / 0.729 GB, free: 4.617 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003139/0.592, allocations: 2.044 MB / 0.731 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001728/0.5938, allocations: 1.186 MB / 0.7322 GB, free: 3.066 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.5952, allocations: 0.6718 MB / 0.7328 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.5964, allocations: 0.7919 MB / 0.7336 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.5966, allocations: 55.5 kB / 0.7337 GB, free: 2.441 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.5976, allocations: 387.1 kB / 0.734 GB, free: 2.348 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.598, allocations: 347.2 kB / 0.7344 GB, free: 2.184 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003699/0.5984, allocations: 364.7 kB / 0.7347 GB, free: 1.934 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.6007, allocations: 2.388 MB / 0.737 GB, free: 1.062 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6007, allocations: 1.375 kB / 0.737 GB, free: 1.062 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.206e-06/0.6007, allocations: 0 / 0.737 GB, free: 1.062 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.533e-05/0.6008, allocations: 7.938 kB / 0.7371 GB, free: 1.055 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004482/0.6052, allocations: 2.12 MB / 0.7391 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6053, allocations: 9.781 kB / 0.7391 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01297/0.6183, allocations: 2.277 MB / 0.7414 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.6205, allocations: 1.16 MB / 0.7425 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6207, allocations: 166.4 kB / 0.7427 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.621, allocations: 210.3 kB / 0.7429 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007281/0.6283, allocations: 3.209 MB / 0.746 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.6283, allocations: 4 kB / 0.746 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.6286, allocations: 92 kB / 0.7461 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.6286, allocations: 52 kB / 0.7461 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.6395, allocations: 4.232 MB / 0.7503 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.6535, allocations: 7.041 MB / 0.7571 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007346/0.6609, allocations: 2.702 MB / 0.7598 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.6647, allocations: 1.434 MB / 0.7612 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007239/0.6654, allocations: 0.4993 MB / 0.7617 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004255/0.6697, allocations: 1.703 MB / 0.7633 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.296e-06/0.6697, allocations: 0 / 0.7633 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01239/0.6821, allocations: 4.224 MB / 0.7674 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.6823, allocations: 201.9 kB / 0.7676 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.6835, allocations: 0.8503 MB / 0.7685 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.6837, allocations: 65.64 kB / 0.7685 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.6843, allocations: 0.6995 MB / 0.7692 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.6848, allocations: 0.6391 MB / 0.7698 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.685, allocations: 32 kB / 0.7699 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.6851, allocations: 369.9 kB / 0.7702 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003488/0.6886, allocations: 1.191 MB / 0.7714 GB, free: 220 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003759/0.6924, allocations: 1.367 MB / 0.7727 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003635/0.6961, allocations: 1.232 MB / 0.7739 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6961, allocations: 0 / 0.7739 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008256/0.7043, allocations: 2.968 MB / 0.7768 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.7044, allocations: 7.953 kB / 0.7768 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.7044, allocations: 3.938 kB / 0.7768 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000533/0.7049, allocations: 92.83 kB / 0.7769 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00319/0.7081, allocations: 0.5734 MB / 0.7775 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.71, allocations: 1.516 MB / 0.779 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.7126, allocations: 354.7 kB / 0.7793 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002256/0.7128, allocations: 91.89 kB / 0.7794 GB, free: 7.848 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.0009226/0.7138, allocations: 409.6 kB / 0.7798 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.714, allocations: 150.2 kB / 0.7799 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009857/0.7239, allocations: 3.513 MB / 0.7834 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.724, allocations: 20 kB / 0.7834 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.724, allocations: 4 kB / 0.7834 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.139e-05/0.724, allocations: 11.95 kB / 0.7834 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/0.7361, allocations: 5.776 MB / 0.789 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.7362, allocations: 0 / 0.789 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/0.7393, allocations: 0.5499 MB / 0.7896 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004662/0.7398, allocations: 88.77 kB / 0.7897 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/0.74, allocations: 67.92 kB / 0.7897 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001762/0.7418, allocations: 1.544 MB / 0.7912 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.7418, allocations: 3.953 kB / 0.7912 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00833/0.7501, allocations: 3.063 MB / 0.7942 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009696/0.7511, allocations: 0.5334 MB / 0.7947 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003837/0.7515, allocations: 43.95 kB / 0.7948 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/0.7539, allocations: 266 kB / 0.795 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.7542, allocations: 125.8 kB / 0.7952 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/0.7544, allocations: 83.92 kB / 0.7952 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00101/0.7554, allocations: 0.6309 MB / 0.7959 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7554, allocations: 7.938 kB / 0.7959 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001749/0.7571, allocations: 0.5959 MB / 0.7964 GB, free: 6.109 MB / 0.6075 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 (210): * Single equations (assignments): 207 * 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.001331/0.7585, allocations: 0.6253 MB / 0.7971 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.008128/0.7666, allocations: 2.999 MB / 0.8 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/0.7667, allocations: 4 kB / 0.8 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004171/0.7708, allocations: 1.661 MB / 0.8016 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.7724, allocations: 320 kB / 0.8019 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00874/0.7811, allocations: 4.863 MB / 0.8067 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008728/0.782, allocations: 1.365 MB / 0.808 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/0.7833, allocations: 263.2 kB / 0.8082 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of SimCode: time 5.11e-07/0.7833, allocations: 0 / 0.8082 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of Templates: time 0.04601/0.8294, allocations: 38.6 MB / 0.8459 GB, free: 3.551 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerezCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1