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.001096/0.001096, allocations: 96.14 kB / 15.87 MB, free: 16 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.001017/0.001017, allocations: 191 kB / 16.79 MB, free: 6.812 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.507/1.507, allocations: 205.1 MB / 222.6 MB, free: 4.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04301/0.04301, allocations: 9.089 MB / 279.1 MB, free: 12.43 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.001244/0.001244, allocations: 59.92 kB / 338 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1045, allocations: 48.16 MB / 386.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_pramp_Tsine): time 0.01902/0.1236, allocations: 18.38 MB / 404.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.14, allocations: 17.98 MB / 422.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001589/0.1402, allocations: 0 / 422.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008398/0.1411, allocations: 267.1 kB / 422.8 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005557/0.1417, allocations: 206.8 kB / 423 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2433/0.385, allocations: 5.972 MB / 428.9 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005611/0.3856, allocations: 346.9 kB / 429.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.852e-05/0.3857, allocations: 18.95 kB / 429.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003259/0.386, allocations: 145.9 kB / 429.4 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001702/0.3862, allocations: 100.4 kB / 429.5 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3862, allocations: 5.516 kB / 429.5 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02137/0.4076, allocations: 9.695 MB / 439.2 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.004e-05/0.4077, allocations: 22.28 kB / 439.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.4081, allocations: 97 kB / 439.3 MB, free: 16.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00686/0.415, allocations: 2.615 MB / 442 MB, free: 16.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.415, allocations: 1.281 kB / 442 MB, free: 16.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.415, allocations: 1.312 kB / 442 MB, free: 16.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.415, allocations: 0 / 442 MB, free: 16.39 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.003048/0.4181, allocations: 1.088 MB / 443.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.4181, allocations: 10.56 kB / 443.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/0.4182, allocations: 25.28 kB / 443.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4183, allocations: 203.9 kB / 443.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.4183, allocations: 0 / 443.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.4184, allocations: 6.516 kB / 443.3 MB, free: 15.49 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.4187, allocations: 168.7 kB / 443.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4188, allocations: 1.875 kB / 443.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.4188, allocations: 3.375 kB / 443.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4188, allocations: 10.94 kB / 443.5 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003974/0.4192, allocations: 163.4 kB / 443.6 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/0.4198, allocations: 484.6 kB / 444.1 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.4201, allocations: 165.1 kB / 444.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.4203, allocations: 149 kB / 444.4 MB, free: 15.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1537/0.574, allocations: 93.62 MB / 0.5254 GB, free: 9.281 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.5741, allocations: 42.44 kB / 0.5255 GB, free: 9.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.444e-06/0.5741, allocations: 0 / 0.5255 GB, free: 9.234 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.001147/0.5752, allocations: 463.9 kB / 0.5259 GB, free: 8.836 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.5753, allocations: 55.41 kB / 0.526 GB, free: 8.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.5754, allocations: 142 kB / 0.5261 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.5755, allocations: 25.7 kB / 0.5261 GB, free: 8.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.905e-05/0.5756, allocations: 93.14 kB / 0.5262 GB, free: 8.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.5757, allocations: 143.1 kB / 0.5263 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.5758, allocations: 41.69 kB / 0.5264 GB, free: 8.312 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5759, allocations: 332.1 kB / 0.5267 GB, free: 7.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002502/0.5762, allocations: 123.1 kB / 0.5268 GB, free: 7.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.5764, allocations: 125.2 kB / 0.5269 GB, free: 7.742 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/0.5769, allocations: 279.7 kB / 0.5272 GB, free: 7.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5769, allocations: 4 kB / 0.5272 GB, free: 7.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005965/0.5775, allocations: 325.1 kB / 0.5275 GB, free: 7.141 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5776, allocations: 6.5 kB / 0.5275 GB, free: 7.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5776, allocations: 4 kB / 0.5275 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.5776, allocations: 1.078 kB / 0.5275 GB, free: 7.133 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.5778, allocations: 24.22 kB / 0.5275 GB, free: 7.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.5778, allocations: 8 kB / 0.5276 GB, free: 7.105 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.578, allocations: 30.52 kB / 0.5276 GB, free: 7.078 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.578, allocations: 7.984 kB / 0.5276 GB, free: 7.07 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.0001256/0.5782, allocations: 126.3 kB / 0.5277 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.5782, allocations: 19.47 kB / 0.5277 GB, free: 6.922 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/0.579, allocations: 411.5 kB / 0.5281 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.579, allocations: 3.984 kB / 0.5281 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5791, allocations: 0 / 0.5281 GB, free: 6.523 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5791, allocations: 4 kB / 0.5281 GB, free: 6.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.5794, allocations: 296.6 kB / 0.5284 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.5795, allocations: 0 / 0.5284 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.5796, allocations: 23.97 kB / 0.5284 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5796, allocations: 0 / 0.5284 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5796, allocations: 14.66 kB / 0.5284 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.5796, allocations: 1.531 kB / 0.5285 GB, free: 6.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.5796, allocations: 3.984 kB / 0.5285 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.5803, allocations: 443.7 kB / 0.5289 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5804, allocations: 115.3 kB / 0.529 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.5805, allocations: 0 / 0.529 GB, free: 5.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.5806, allocations: 15.98 kB / 0.529 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.5807, allocations: 11.97 kB / 0.529 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.5807, allocations: 4 kB / 0.529 GB, free: 5.543 MB / 414.1 MB Notification: Performance of sorting global known variables: time 8.894e-05/0.5808, allocations: 107 kB / 0.5291 GB, free: 5.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5808, allocations: 0 / 0.5291 GB, free: 5.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004058/0.5849, allocations: 1.124 MB / 0.5302 GB, free: 4.316 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.007181/0.5921, allocations: 1.664 MB / 0.5318 GB, free: 2.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.5928, allocations: 296 kB / 0.5321 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5928, allocations: 0 / 0.5321 GB, free: 2.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.5931, allocations: 165.7 kB / 0.5323 GB, free: 2.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.594, allocations: 151.7 kB / 0.5324 GB, free: 2.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.5948, allocations: 0.5077 MB / 0.5329 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.5951, allocations: 0.7292 MB / 0.5336 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.444e-05/0.5952, allocations: 23.44 kB / 0.5337 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.5952, allocations: 0 / 0.5337 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of Templates: time 0.03614/0.6313, allocations: 20.91 MB / 0.5541 GB, free: 12.07 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