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.006377/0.006377, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001409/0.001409, allocations: 193.9 kB / 16.79 MB, free: 6.254 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.51/1.51, allocations: 205.1 MB / 222.6 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0483/0.0483, allocations: 9.083 MB / 279.1 MB, free: 12.25 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.001462/0.001462, allocations: 55.92 kB / 338 MB, free: 25.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1055, allocations: 48.18 MB / 386.2 MB, free: 9.66 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.02169/0.1272, allocations: 18.36 MB / 404.5 MB, free: 7.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01666/0.1439, allocations: 17.98 MB / 422.5 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.1442, allocations: 3.938 kB / 422.5 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009305/0.1452, allocations: 271 kB / 422.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005616/0.1458, allocations: 202.8 kB / 423 MB, free: 4.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2636/0.4094, allocations: 5.982 MB / 428.9 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.4101, allocations: 338.2 kB / 429.3 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.4102, allocations: 21.31 kB / 429.3 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003693/0.4106, allocations: 146.3 kB / 429.4 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000198/0.4108, allocations: 102.8 kB / 429.5 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.4109, allocations: 3.094 kB / 429.5 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02366/0.4345, allocations: 9.695 MB / 439.2 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.4346, allocations: 19.31 kB / 439.3 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.4349, allocations: 97.81 kB / 439.4 MB, free: 16.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.4406, allocations: 2.612 MB / 442 MB, free: 16.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4406, allocations: 3.094 kB / 442 MB, free: 16.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4406, allocations: 0 / 442 MB, free: 16.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.4407, allocations: 1.906 kB / 442 MB, free: 16.66 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.00247/0.4431, allocations: 1.099 MB / 443.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.4432, allocations: 12.22 kB / 443.1 MB, free: 15.97 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.4433, allocations: 25.25 kB / 443.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4434, allocations: 189.7 kB / 443.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4434, allocations: 0 / 443.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.4434, allocations: 11.84 kB / 443.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003484/0.4438, allocations: 166.8 kB / 443.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4438, allocations: 1.875 kB / 443.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.4438, allocations: 2.688 kB / 443.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.4438, allocations: 10.27 kB / 443.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.4443, allocations: 157 kB / 443.6 MB, free: 15.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.4446, allocations: 290.2 kB / 443.9 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/0.4449, allocations: 179.1 kB / 444.1 MB, free: 15.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.4451, allocations: 168.3 kB / 444.3 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1504/0.5955, allocations: 93.61 MB / 0.5253 GB, free: 9.477 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.5956, allocations: 37.28 kB / 0.5253 GB, free: 9.434 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.5956, allocations: 0 / 0.5253 GB, free: 9.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=48): time 0.001067/0.5967, allocations: 475.6 kB / 0.5257 GB, free: 8.965 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.5967, allocations: 55.41 kB / 0.5258 GB, free: 8.898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.5969, allocations: 141 kB / 0.5259 GB, free: 8.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.5969, allocations: 25.7 kB / 0.526 GB, free: 8.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.597, allocations: 95.88 kB / 0.5261 GB, free: 8.629 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.5971, allocations: 144.4 kB / 0.5262 GB, free: 8.488 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.5972, allocations: 49.59 kB / 0.5262 GB, free: 8.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.5973, allocations: 330.8 kB / 0.5266 GB, free: 8.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5975, allocations: 116.4 kB / 0.5267 GB, free: 7.988 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.5978, allocations: 122.1 kB / 0.5268 GB, free: 7.867 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/0.5983, allocations: 285.1 kB / 0.5271 GB, free: 7.586 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.5983, allocations: 4 kB / 0.5271 GB, free: 7.582 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005744/0.5989, allocations: 337.9 kB / 0.5274 GB, free: 7.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.5989, allocations: 8 kB / 0.5274 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5989, allocations: 0 / 0.5274 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.5989, allocations: 0 / 0.5274 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5991, allocations: 23.97 kB / 0.5274 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5991, allocations: 4 kB / 0.5274 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.5993, allocations: 37.2 kB / 0.5274 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.5993, allocations: 4 kB / 0.5275 GB, free: 7.18 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.0001126/0.5995, allocations: 124.8 kB / 0.5276 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.5995, allocations: 25.97 kB / 0.5276 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007379/0.6003, allocations: 404.3 kB / 0.528 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/0.6003, allocations: 11.98 kB / 0.528 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6003, allocations: 0 / 0.528 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6003, allocations: 1.078 kB / 0.528 GB, free: 6.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.6006, allocations: 295.6 kB / 0.5283 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6006, allocations: 0 / 0.5283 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.6008, allocations: 26.97 kB / 0.5283 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.6008, allocations: 0 / 0.5283 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.6008, allocations: 6.734 kB / 0.5283 GB, free: 6.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6008, allocations: 4 kB / 0.5283 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6008, allocations: 0 / 0.5283 GB, free: 6.262 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.6014, allocations: 373.3 kB / 0.5287 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.525e-05/0.6015, allocations: 120.7 kB / 0.5288 GB, free: 5.746 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.6016, allocations: 4 kB / 0.5288 GB, free: 5.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.6017, allocations: 11.98 kB / 0.5288 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.6018, allocations: 11.98 kB / 0.5288 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.6018, allocations: 11.58 kB / 0.5288 GB, free: 5.711 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.853e-05/0.6019, allocations: 107 kB / 0.5289 GB, free: 5.609 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6019, allocations: 0 / 0.5289 GB, free: 5.609 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004045/0.6059, allocations: 1.114 MB / 0.53 GB, free: 4.496 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.004805/0.6107, allocations: 1.682 MB / 0.5317 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006551/0.6114, allocations: 297.2 kB / 0.5319 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6114, allocations: 4 kB / 0.5319 GB, free: 2.695 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.6117, allocations: 166.1 kB / 0.5321 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.6125, allocations: 160.8 kB / 0.5323 GB, free: 2.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008659/0.6134, allocations: 0.5108 MB / 0.5328 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.6138, allocations: 0.7343 MB / 0.5335 GB, free: 1.082 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.6138, allocations: 19.44 kB / 0.5335 GB, free: 1.062 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6138, allocations: 0 / 0.5335 GB, free: 1.062 MB / 414.1 MB Notification: Performance of Templates: time 0.03686/0.6507, allocations: 20.93 MB / 0.5539 GB, free: 12.21 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