Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008994/0.0008994, allocations: 98.88 kB / 16.02 MB, free: 76 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.0008885/0.0008885, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.3 MB / 424.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003467, allocations: 12.5 kB / 0.5046 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5022, allocations: 81.58 MB / 0.5843 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006534/0.5088, allocations: 4.49 MB / 0.5887 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1834/0.6922, allocations: 146.9 MB / 0.7321 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6934, allocations: 19.94 kB / 0.7321 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.694, allocations: 150.8 kB / 0.7323 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.696, allocations: 480.7 kB / 0.7327 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.6983, allocations: 0.8127 MB / 0.7335 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.7002, allocations: 1.432 MB / 0.7349 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.7017, allocations: 1.097 MB / 0.736 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.7025, allocations: 437.5 kB / 0.7364 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.7031, allocations: 484.9 kB / 0.7369 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.7032, allocations: 31.98 kB / 0.7369 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000941/0.7041, allocations: 367.6 kB / 0.7372 GB, free: 3.191 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000251/0.7044, allocations: 238.7 kB / 0.7375 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005846/0.705, allocations: 0.6031 MB / 0.7381 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.7068, allocations: 1.691 MB / 0.7397 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7068, allocations: 0 / 0.7397 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/0.7068, allocations: 0 / 0.7397 GB, free: 0.6484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.7068, allocations: 0 / 0.7397 GB, free: 0.6484 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: 376 * Number of variables: 376 Notification: Performance of Generate backend data structure: time 0.003008/0.7099, allocations: 1.487 MB / 0.7412 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.7099, allocations: 8.031 kB / 0.7412 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.711, allocations: 246.8 kB / 0.7414 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.7123, allocations: 0.8994 MB / 0.7423 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.7124, allocations: 140.7 kB / 0.7424 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.7126, allocations: 144 kB / 0.7426 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.7152, allocations: 1.473 MB / 0.744 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.7152, allocations: 4 kB / 0.744 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.7154, allocations: 60 kB / 0.7441 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/0.7154, allocations: 36 kB / 0.7441 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.7178, allocations: 1.494 MB / 0.7455 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006225/0.724, allocations: 3.996 MB / 0.7495 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.7256, allocations: 0.9154 MB / 0.7503 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/0.7263, allocations: 367.7 kB / 0.7507 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.16e-05/0.7264, allocations: 45.08 kB / 0.7507 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009959/0.7274, allocations: 0.5475 MB / 0.7513 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=93): time 2.414e-06/0.7274, allocations: 0 / 0.7513 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of matching and sorting (n=93): time 0.003314/0.7307, allocations: 1.395 MB / 0.7526 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7308, allocations: 188.9 kB / 0.7528 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.7318, allocations: 0.7667 MB / 0.7536 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.63e-05/0.7319, allocations: 41.7 kB / 0.7536 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004593/0.7324, allocations: 0.5735 MB / 0.7542 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002443/0.7327, allocations: 315.5 kB / 0.7545 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.7328, allocations: 77.67 kB / 0.7545 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.7329, allocations: 341.9 kB / 0.7549 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006226/0.7336, allocations: 329.8 kB / 0.7552 GB, free: 436 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007112/0.7343, allocations: 440 kB / 0.7556 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.7356, allocations: 0.7773 MB / 0.7564 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.7356, allocations: 0 / 0.7564 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.002146/0.7378, allocations: 1.032 MB / 0.7574 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.7378, allocations: 7.938 kB / 0.7574 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7378, allocations: 8 kB / 0.7574 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.7384, allocations: 84.77 kB / 0.7575 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008041/0.7392, allocations: 203.7 kB / 0.7577 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/0.7413, allocations: 1.536 MB / 0.7592 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007877/0.7421, allocations: 111.1 kB / 0.7593 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.169e-05/0.7422, allocations: 43.97 kB / 0.7593 GB, free: 12.02 MB / 0.5919 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 (111): * Single equations (assignments): 110 * 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.0006212/0.7428, allocations: 331 kB / 0.7596 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.743, allocations: 98.78 kB / 0.7597 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/0.7458, allocations: 1.294 MB / 0.761 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.7459, allocations: 12 kB / 0.761 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.7459, allocations: 0 / 0.761 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/0.7459, allocations: 7.922 kB / 0.761 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003997/0.7499, allocations: 2.498 MB / 0.7634 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.7499, allocations: 4 kB / 0.7634 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000702/0.7506, allocations: 183.7 kB / 0.7636 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004952/0.7511, allocations: 88.77 kB / 0.7637 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-05/0.7512, allocations: 27.98 kB / 0.7637 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001796/0.753, allocations: 1.548 MB / 0.7652 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.753, allocations: 4.062 kB / 0.7652 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002129/0.7551, allocations: 1.125 MB / 0.7663 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.7557, allocations: 343.4 kB / 0.7667 GB, free: 4.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.7558, allocations: 19.98 kB / 0.7667 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007134/0.7565, allocations: 79.94 kB / 0.7668 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.7567, allocations: 76.88 kB / 0.7668 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.095e-05/0.7568, allocations: 35.98 kB / 0.7669 GB, free: 4.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008409/0.7576, allocations: 0.5576 MB / 0.7674 GB, free: 3.449 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7577, allocations: 4 kB / 0.7674 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001319/0.759, allocations: 402.4 kB / 0.7678 GB, free: 3.055 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 (107): * Single equations (assignments): 104 * 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.001636/0.7606, allocations: 0.6054 MB / 0.7684 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002077/0.7627, allocations: 0.9719 MB / 0.7693 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7627, allocations: 0 / 0.7693 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.7637, allocations: 0.5823 MB / 0.7699 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00138/0.7651, allocations: 280.2 kB / 0.7702 GB, free: 0.8125 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005805/0.771, allocations: 3.098 MB / 0.7732 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.772, allocations: 1.166 MB / 0.7743 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005204/0.7725, allocations: 143.4 kB / 0.7745 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/0.7725, allocations: 0 / 0.7745 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of Templates: time 0.03447/0.807, allocations: 23.71 MB / 0.7976 GB, free: 4.699 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurfaceCalcHelperMain.o] Error 1