Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009168/0.0009165, allocations: 92.62 kB / 16.02 MB, free: 80 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.00115/0.001151, allocations: 175.8 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.843/1.843, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04415/0.04415, allocations: 9.071 MB / 280.5 MB, free: 12.15 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005186, allocations: 12.22 kB / 340.4 MB, free: 25.65 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1127, allocations: 49.2 MB / 389.6 MB, free: 8.418 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01908/0.1318, allocations: 17.85 MB / 407.4 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0178/0.1497, allocations: 17.81 MB / 425.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.15, allocations: 0 / 425.2 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008791/0.1509, allocations: 263.1 kB / 425.5 MB, free: 4.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006057/0.1515, allocations: 210.7 kB / 425.7 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2899/0.4414, allocations: 5.992 MB / 431.7 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007941/0.4422, allocations: 340 kB / 432 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.4423, allocations: 14.7 kB / 432 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000435/0.4427, allocations: 154.3 kB / 432.2 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002543/0.443, allocations: 97.12 kB / 432.3 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.443, allocations: 3.438 kB / 432.3 MB, free: 16.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02465/0.4677, allocations: 9.697 MB / 442 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.4679, allocations: 20.78 kB / 442 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.4683, allocations: 125.6 kB / 442.1 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00874/0.477, allocations: 2.598 MB / 444.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4771, allocations: 0.6875 kB / 444.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.4771, allocations: 1.094 kB / 444.7 MB, free: 15.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.4771, allocations: 1.531 kB / 444.7 MB, free: 15.63 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00369/0.4808, allocations: 1.091 MB / 445.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.4809, allocations: 7.344 kB / 445.8 MB, free: 14.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.4809, allocations: 16.44 kB / 445.8 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.4811, allocations: 201.3 kB / 446 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4811, allocations: 3.938 kB / 446 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4811, allocations: 4.219 kB / 446 MB, free: 14.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004007/0.4815, allocations: 182 kB / 446.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4815, allocations: 0 / 446.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4816, allocations: 3.625 kB / 446.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.4816, allocations: 9.953 kB / 446.2 MB, free: 14.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.482, allocations: 183.9 kB / 446.4 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.4823, allocations: 289.5 kB / 446.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.4827, allocations: 197.8 kB / 446.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.483, allocations: 178.6 kB / 447.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1533/0.6363, allocations: 91.74 MB / 0.5262 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.6364, allocations: 30.56 kB / 0.5262 GB, free: 9.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 4.729e-06/0.6365, allocations: 0 / 0.5262 GB, free: 9.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001335/0.6378, allocations: 0.5058 MB / 0.5267 GB, free: 9.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.6379, allocations: 51.41 kB / 0.5267 GB, free: 9.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.638, allocations: 147.4 kB / 0.5269 GB, free: 9.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.19e-05/0.638, allocations: 25.7 kB / 0.5269 GB, free: 9.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.6381, allocations: 100.4 kB / 0.527 GB, free: 9.199 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.6383, allocations: 150.5 kB / 0.5272 GB, free: 9.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.108e-05/0.6383, allocations: 36.75 kB / 0.5272 GB, free: 9.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.6385, allocations: 327.3 kB / 0.5275 GB, free: 8.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/0.6387, allocations: 132.1 kB / 0.5276 GB, free: 8.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.639, allocations: 133.2 kB / 0.5278 GB, free: 8.496 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006648/0.6397, allocations: 321.3 kB / 0.5281 GB, free: 8.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6397, allocations: 0 / 0.5281 GB, free: 8.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006746/0.6404, allocations: 357.1 kB / 0.5284 GB, free: 7.828 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.6405, allocations: 4 kB / 0.5284 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6405, allocations: 4 kB / 0.5284 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.6405, allocations: 0.9844 kB / 0.5284 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.6407, allocations: 31.97 kB / 0.5284 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.6407, allocations: 0 / 0.5284 GB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.6409, allocations: 41.8 kB / 0.5285 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.641, allocations: 4 kB / 0.5285 GB, free: 7.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.6411, allocations: 130.7 kB / 0.5286 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.819e-05/0.6412, allocations: 19.72 kB / 0.5286 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.642, allocations: 434.5 kB / 0.529 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.6421, allocations: 7.984 kB / 0.529 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6421, allocations: 0 / 0.529 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6421, allocations: 0 / 0.529 GB, free: 7.156 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003599/0.6425, allocations: 294.5 kB / 0.5293 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6425, allocations: 0 / 0.5293 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.6426, allocations: 34.14 kB / 0.5294 GB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.6426, allocations: 3.984 kB / 0.5294 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.6426, allocations: 0 / 0.5294 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.6426, allocations: 5.125 kB / 0.5294 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.6427, allocations: 0 / 0.5294 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.6434, allocations: 407.2 kB / 0.5298 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.6436, allocations: 112.7 kB / 0.5299 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.6436, allocations: 12 kB / 0.5299 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.6437, allocations: 19.97 kB / 0.5299 GB, free: 6.215 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6438, allocations: 13.52 kB / 0.5299 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6438, allocations: 4 kB / 0.5299 GB, free: 6.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.6439, allocations: 103.2 kB / 0.53 GB, free: 6.098 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6439, allocations: 0 / 0.53 GB, free: 6.098 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004232/0.6482, allocations: 1.122 MB / 0.5311 GB, free: 4.977 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (state.phase,state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008047/0.6562, allocations: 1.68 MB / 0.5327 GB, free: 3.469 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008878/0.6571, allocations: 322.1 kB / 0.5331 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6572, allocations: 0 / 0.5331 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003615/0.6575, allocations: 176.3 kB / 0.5332 GB, free: 2.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.6586, allocations: 164.1 kB / 0.5334 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/0.6597, allocations: 0.5361 MB / 0.5339 GB, free: 2.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.6601, allocations: 0.7371 MB / 0.5346 GB, free: 1.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.6602, allocations: 23.38 kB / 0.5346 GB, free: 1.461 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6602, allocations: 0 / 0.5346 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Templates: time 0.04125/0.7015, allocations: 20.91 MB / 0.5551 GB, free: 12.61 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_TrampCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_TrampCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_TrampCalcHelperMain.o] Error 1