Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004659/0.004659, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001071/0.001071, allocations: 192 kB / 16.79 MB, free: 5.809 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7471/0.7471, allocations: 132.2 MB / 422.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 67.7 kB / 0.5017 GB, free: 9.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1655, allocations: 80.21 MB / 0.58 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.00738/0.1729, allocations: 6.193 MB / 0.5861 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4621/0.6351, allocations: 150.9 MB / 0.7334 GB, free: 288 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.6364, allocations: 33.38 kB / 0.7334 GB, free: 276 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008289/0.6372, allocations: 245.3 kB / 0.7337 GB, free: 128 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.639, allocations: 0.5491 MB / 0.7342 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.6418, allocations: 1.157 MB / 0.7353 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002237/0.644, allocations: 2.159 MB / 0.7374 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.6453, allocations: 1.032 MB / 0.7385 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.6462, allocations: 0.665 MB / 0.7391 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.6468, allocations: 0.738 MB / 0.7398 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.647, allocations: 82.56 kB / 0.7399 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.6484, allocations: 0.8209 MB / 0.7407 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.6488, allocations: 394.9 kB / 0.7411 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006548/0.6495, allocations: 0.7924 MB / 0.7419 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.6512, allocations: 1.999 MB / 0.7438 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6512, allocations: 0 / 0.7438 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6512, allocations: 0 / 0.7438 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.001e-05/0.6512, allocations: 0 / 0.7438 GB, free: 10.18 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.003358/0.6546, allocations: 2.156 MB / 0.7459 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6546, allocations: 12.11 kB / 0.7459 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001862/0.6565, allocations: 360.8 kB / 0.7463 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.658, allocations: 1.197 MB / 0.7474 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.563e-05/0.6581, allocations: 106 kB / 0.7475 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.6583, allocations: 129.7 kB / 0.7477 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.6608, allocations: 1.526 MB / 0.7492 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.6609, allocations: 5.438 kB / 0.7492 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/0.661, allocations: 63.98 kB / 0.7492 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.661, allocations: 32 kB / 0.7492 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003135/0.6642, allocations: 2.039 MB / 0.7512 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006721/0.6709, allocations: 4.436 MB / 0.7556 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002756/0.6737, allocations: 1.423 MB / 0.757 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.6747, allocations: 0.536 MB / 0.7575 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/0.6748, allocations: 61.17 kB / 0.7575 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.6765, allocations: 0.7983 MB / 0.7583 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=136): time 3.076e-06/0.6765, allocations: 4 kB / 0.7583 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=136): time 0.00594/0.6825, allocations: 2.104 MB / 0.7604 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002224/0.6827, allocations: 355.3 kB / 0.7607 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.6843, allocations: 1.071 MB / 0.7618 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6844, allocations: 57.69 kB / 0.7618 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005539/0.6849, allocations: 0.6105 MB / 0.7624 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.6854, allocations: 449.5 kB / 0.7628 GB, free: 7.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000437/0.6858, allocations: 286.6 kB / 0.7631 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.686, allocations: 357.9 kB / 0.7635 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009855/0.687, allocations: 482.3 kB / 0.7639 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.6882, allocations: 0.6496 MB / 0.7646 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.6904, allocations: 1.124 MB / 0.7657 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6904, allocations: 0 / 0.7657 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003754/0.6942, allocations: 1.516 MB / 0.7671 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/0.6942, allocations: 11.94 kB / 0.7671 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6942, allocations: 4 kB / 0.7671 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.6954, allocations: 170.6 kB / 0.7673 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.6965, allocations: 291.5 kB / 0.7676 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004235/0.7008, allocations: 3.06 MB / 0.7706 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.7021, allocations: 165.1 kB / 0.7707 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.7022, allocations: 67.95 kB / 0.7708 GB, free: 15.23 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007046/0.7029, allocations: 386 kB / 0.7712 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/0.7032, allocations: 150.2 kB / 0.7713 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/0.7076, allocations: 1.969 MB / 0.7732 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.7077, allocations: 20 kB / 0.7733 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7077, allocations: 0 / 0.7733 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.7077, allocations: 7.969 kB / 0.7733 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.7093, allocations: 1.465 MB / 0.7747 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7093, allocations: 0 / 0.7747 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.7104, allocations: 283.6 kB / 0.775 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009815/0.7114, allocations: 173.5 kB / 0.7751 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.521e-05/0.7115, allocations: 43.97 kB / 0.7752 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.7149, allocations: 3.105 MB / 0.7782 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.7149, allocations: 0 / 0.7782 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.7185, allocations: 1.627 MB / 0.7798 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006618/0.7192, allocations: 430.6 kB / 0.7802 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.7195, allocations: 31.98 kB / 0.7802 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.7205, allocations: 116 kB / 0.7803 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002322/0.7208, allocations: 117.8 kB / 0.7805 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.7209, allocations: 63.95 kB / 0.7805 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001132/0.722, allocations: 0.7417 MB / 0.7812 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.722, allocations: 0 / 0.7812 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001445/0.7235, allocations: 474.9 kB / 0.7817 GB, free: 3.68 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001688/0.7252, allocations: 0.6379 MB / 0.7823 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003125/0.7283, allocations: 1.506 MB / 0.7838 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.7283, allocations: 0 / 0.7838 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.73, allocations: 0.9497 MB / 0.7847 GB, free: 0.7539 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.7321, allocations: 0.4959 MB / 0.7852 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007161/0.7393, allocations: 3.813 MB / 0.7889 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000944/0.7403, allocations: 1.282 MB / 0.7902 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005959/0.7409, allocations: 203.3 kB / 0.7904 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of SimCode: time 1.072e-06/0.7409, allocations: 4 kB / 0.7904 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.04855/0.7894, allocations: 36.92 MB / 0.8264 GB, free: 6.082 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.WeatherData.Examples.ReaderTMY3CalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.BoundaryConditions.WeatherData.Examples.ReaderTMY3CalcHelperMain.o] Error 1