Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 99.34 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.001809/0.001809, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.797/1.797, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04591/0.04591, allocations: 9.069 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.0005382/0.0005383, allocations: 16.69 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 49.19 MB / 389.6 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.02064/0.1455, allocations: 17.85 MB / 407.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01814/0.1637, allocations: 17.79 MB / 425.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.1641, allocations: 4 kB / 425.2 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008524/0.1649, allocations: 271 kB / 425.5 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005919/0.1655, allocations: 210.8 kB / 425.7 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.294/0.4596, allocations: 5.981 MB / 431.7 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006417/0.4602, allocations: 342.6 kB / 432 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.4603, allocations: 18.56 kB / 432 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.4607, allocations: 148.3 kB / 432.2 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.4609, allocations: 98.22 kB / 432.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4609, allocations: 4.438 kB / 432.3 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02303/0.4839, allocations: 9.695 MB / 442 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.4841, allocations: 20.7 kB / 442 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003532/0.4844, allocations: 126.4 kB / 442.1 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.492, allocations: 2.601 MB / 444.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4921, allocations: 1.094 kB / 444.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.4921, allocations: 1.281 kB / 444.7 MB, free: 15.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.4921, allocations: 0 / 444.7 MB, free: 15.47 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.004099/0.4962, allocations: 1.087 MB / 445.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.4963, allocations: 14 kB / 445.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.155e-05/0.4963, allocations: 19.91 kB / 445.8 MB, free: 14.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.4965, allocations: 198.9 kB / 446 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.4965, allocations: 3 kB / 446 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.4965, allocations: 4.781 kB / 446 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.497, allocations: 181.6 kB / 446.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.497, allocations: 2.406 kB / 446.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.497, allocations: 0 / 446.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.497, allocations: 11.67 kB / 446.2 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.4975, allocations: 182.9 kB / 446.4 MB, free: 14.37 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.4981, allocations: 491 kB / 446.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.4984, allocations: 182.6 kB / 447.1 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.4987, allocations: 163.7 kB / 447.2 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1413/0.64, allocations: 91.75 MB / 0.5263 GB, free: 9.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/0.6401, allocations: 30.56 kB / 0.5264 GB, free: 9.641 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 4.829e-06/0.6401, allocations: 4 kB / 0.5264 GB, free: 9.637 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001253/0.6413, allocations: 0.496 MB / 0.5269 GB, free: 9.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.6414, allocations: 55.41 kB / 0.5269 GB, free: 9.191 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.6415, allocations: 143.7 kB / 0.527 GB, free: 9.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.6416, allocations: 25.7 kB / 0.5271 GB, free: 9.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.6416, allocations: 92.83 kB / 0.5272 GB, free: 8.941 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.6417, allocations: 145.6 kB / 0.5273 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.6418, allocations: 33.58 kB / 0.5273 GB, free: 8.785 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6419, allocations: 334.3 kB / 0.5276 GB, free: 8.457 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.6422, allocations: 136.4 kB / 0.5278 GB, free: 8.363 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.6425, allocations: 129.2 kB / 0.5279 GB, free: 8.27 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005458/0.643, allocations: 311.7 kB / 0.5282 GB, free: 7.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.643, allocations: 0 / 0.5282 GB, free: 7.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006235/0.6437, allocations: 353.1 kB / 0.5285 GB, free: 7.617 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.6437, allocations: 10.5 kB / 0.5285 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.6437, allocations: 0 / 0.5285 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.6437, allocations: 0 / 0.5285 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.6439, allocations: 31.97 kB / 0.5286 GB, free: 7.578 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.6439, allocations: 3.938 kB / 0.5286 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.6441, allocations: 35.73 kB / 0.5286 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.6442, allocations: 4 kB / 0.5286 GB, free: 7.535 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 (11): * Single equations (assignments): 5 * 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.0001201/0.6443, allocations: 136.4 kB / 0.5287 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.6443, allocations: 19.75 kB / 0.5288 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008144/0.6451, allocations: 438 kB / 0.5292 GB, free: 6.953 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.6452, allocations: 7.984 kB / 0.5292 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6452, allocations: 0 / 0.5292 GB, free: 6.945 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6452, allocations: 4 kB / 0.5292 GB, free: 6.941 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.6455, allocations: 286.4 kB / 0.5295 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6455, allocations: 0 / 0.5295 GB, free: 6.613 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.6456, allocations: 31.97 kB / 0.5295 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6457, allocations: 4 kB / 0.5295 GB, free: 6.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6457, allocations: 4 kB / 0.5295 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6457, allocations: 0 / 0.5295 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6457, allocations: 1.812 kB / 0.5295 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006679/0.6464, allocations: 476.9 kB / 0.53 GB, free: 6.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.278e-05/0.6465, allocations: 116.4 kB / 0.5301 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.6465, allocations: 4 kB / 0.5301 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.6467, allocations: 19.98 kB / 0.5301 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.6467, allocations: 14.72 kB / 0.5301 GB, free: 5.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.6467, allocations: 4 kB / 0.5301 GB, free: 5.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.911e-05/0.6468, allocations: 111.2 kB / 0.5302 GB, free: 5.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6468, allocations: 0 / 0.5302 GB, free: 5.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00399/0.6508, allocations: 1.113 MB / 0.5313 GB, free: 4.707 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 (11): * Single equations (assignments): 5 * 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.005766/0.6566, allocations: 1.673 MB / 0.5329 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.6574, allocations: 317.4 kB / 0.5332 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.6574, allocations: 0 / 0.5332 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.6577, allocations: 176.3 kB / 0.5334 GB, free: 2.715 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009818/0.6587, allocations: 152.4 kB / 0.5336 GB, free: 2.566 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.6594, allocations: 0.5155 MB / 0.5341 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.6597, allocations: 0.737 MB / 0.5348 GB, free: 1.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.6598, allocations: 19.44 kB / 0.5348 GB, free: 1.23 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.6598, allocations: 0 / 0.5348 GB, free: 1.23 MB / 414.1 MB Notification: Performance of Templates: time 0.03899/0.6988, allocations: 20.91 MB / 0.5552 GB, free: 12.39 MB / 446.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine.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_pramp_TsineCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_TsineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_TsineCalcHelperMain.o] Error 1