Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009826/0.0009826, allocations: 100.5 kB / 15.71 MB, free: 452 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.001309/0.001309, allocations: 179.2 kB / 16.58 MB, free: 6.422 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.42/1.42, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.3 MB / 424 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003285/0.0003285, allocations: 8 kB / 0.504 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5368/0.5371, allocations: 81.58 MB / 0.5837 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006256/0.5434, allocations: 5.2 MB / 0.5887 GB, free: 208 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1844/0.7278, allocations: 137.6 MB / 0.7231 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.7298, allocations: 19.94 kB / 0.7232 GB, free: 1.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006919/0.7305, allocations: 178.4 kB / 0.7233 GB, free: 1.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.7327, allocations: 0.4961 MB / 0.7238 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7355, allocations: 0.9269 MB / 0.7247 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002689/0.7382, allocations: 2.048 MB / 0.7267 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.7399, allocations: 1.199 MB / 0.7279 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.7411, allocations: 0.6727 MB / 0.7285 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009992/0.7421, allocations: 0.7889 MB / 0.7293 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.7423, allocations: 56 kB / 0.7294 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.7434, allocations: 387.7 kB / 0.7297 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003506/0.7438, allocations: 354.4 kB / 0.7301 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003681/0.7442, allocations: 360.5 kB / 0.7304 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002453/0.7466, allocations: 2.389 MB / 0.7328 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7467, allocations: 0 / 0.7328 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7467, allocations: 0 / 0.7328 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.389e-05/0.7467, allocations: 0 / 0.7328 GB, free: 7.488 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004696/0.7514, allocations: 2.124 MB / 0.7348 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7515, allocations: 8.031 kB / 0.7348 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.77, allocations: 2.279 MB / 0.7371 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003307/0.7733, allocations: 1.161 MB / 0.7382 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.7735, allocations: 160.4 kB / 0.7383 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004084/0.7739, allocations: 219.9 kB / 0.7386 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.7849, allocations: 3.209 MB / 0.7417 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/0.785, allocations: 0 / 0.7417 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003769/0.7854, allocations: 92 kB / 0.7418 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/0.7854, allocations: 52 kB / 0.7418 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01722/0.8027, allocations: 4.224 MB / 0.746 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0169/0.8196, allocations: 7.045 MB / 0.7528 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008406/0.8281, allocations: 2.702 MB / 0.7555 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/0.8322, allocations: 1.434 MB / 0.7569 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008394/0.8331, allocations: 0.5035 MB / 0.7574 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004844/0.838, allocations: 1.699 MB / 0.759 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 7.605e-06/0.838, allocations: 4 kB / 0.759 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01373/0.8517, allocations: 4.216 MB / 0.7631 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002083/0.852, allocations: 201.9 kB / 0.7633 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.8537, allocations: 0.8579 MB / 0.7642 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/0.854, allocations: 57.7 kB / 0.7642 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007043/0.8547, allocations: 0.6956 MB / 0.7649 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007949/0.8555, allocations: 0.6352 MB / 0.7655 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.8557, allocations: 36 kB / 0.7656 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.8559, allocations: 369.9 kB / 0.7659 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003747/0.8597, allocations: 1.195 MB / 0.7671 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003897/0.8636, allocations: 1.371 MB / 0.7684 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.8674, allocations: 1.224 MB / 0.7696 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.8674, allocations: 8 kB / 0.7696 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.00906/0.8765, allocations: 2.964 MB / 0.7725 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.8766, allocations: 8 kB / 0.7725 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.8766, allocations: 64 / 0.7725 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005459/0.8771, allocations: 96.7 kB / 0.7726 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003374/0.8805, allocations: 0.5773 MB / 0.7732 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/0.8827, allocations: 1.524 MB / 0.7747 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/0.8855, allocations: 353.7 kB / 0.775 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/0.8859, allocations: 91.89 kB / 0.7751 GB, free: 11.39 MB / 0.6075 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.001202/0.8871, allocations: 414.9 kB / 0.7755 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.8876, allocations: 146.2 kB / 0.7756 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.8983, allocations: 3.507 MB / 0.7791 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/0.8983, allocations: 23.94 kB / 0.7791 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.8984, allocations: 0 / 0.7791 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.8984, allocations: 11.95 kB / 0.7791 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/0.9118, allocations: 5.781 MB / 0.7847 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9119, allocations: 0 / 0.7847 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003445/0.9153, allocations: 0.5461 MB / 0.7853 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005106/0.9159, allocations: 88.77 kB / 0.7854 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/0.9162, allocations: 67.91 kB / 0.7854 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.9182, allocations: 1.544 MB / 0.7869 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.9183, allocations: 0 / 0.7869 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009513/0.9278, allocations: 3.07 MB / 0.7899 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.929, allocations: 0.5334 MB / 0.7904 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004316/0.9294, allocations: 39.98 kB / 0.7905 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002531/0.932, allocations: 263.7 kB / 0.7907 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.9322, allocations: 125.8 kB / 0.7909 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/0.9325, allocations: 83.92 kB / 0.7909 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001108/0.9336, allocations: 0.627 MB / 0.7915 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9336, allocations: 0 / 0.7915 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002091/0.9357, allocations: 0.5959 MB / 0.7921 GB, free: 9.652 MB / 0.6231 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.001641/0.9374, allocations: 0.6434 MB / 0.7928 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008803/0.9462, allocations: 2.999 MB / 0.7957 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.9462, allocations: 0 / 0.7957 GB, free: 6.207 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/0.9509, allocations: 1.669 MB / 0.7973 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.953, allocations: 317.8 kB / 0.7976 GB, free: 4.219 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.9637, allocations: 4.843 MB / 0.8023 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/0.965, allocations: 1.366 MB / 0.8037 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.9668, allocations: 271.1 kB / 0.8039 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of SimCode: time 1.382e-06/0.9669, allocations: 0 / 0.8039 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of Templates: time 0.3886/1.355, allocations: 38.59 MB / 0.8416 GB, free: 202.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile make -j1 -f IDEAS_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/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/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerezCalcHelperMain.o] Error 1