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.0008093/0.0008096, allocations: 102.7 kB / 15.71 MB, free: 460 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.0009521/0.0009522, allocations: 176 kB / 16.58 MB, free: 6.863 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.586/1.586, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04398/0.04398, allocations: 9.07 MB / 280.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.0005065/0.0005065, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09862, allocations: 49.18 MB / 388.9 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_setState_psine_Tramp): time 0.01731/0.116, allocations: 16.76 MB / 405.7 MB, free: 7.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01493/0.1309, allocations: 16.46 MB / 422.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002152/0.1312, allocations: 4 kB / 422.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006864/0.1319, allocations: 254.9 kB / 422.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.1324, allocations: 186.8 kB / 422.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01635/0.1488, allocations: 5.686 MB / 428.3 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004308/0.1492, allocations: 326.2 kB / 428.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.45e-05/0.1493, allocations: 20.58 kB / 428.6 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1496, allocations: 151.2 kB / 428.8 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1497, allocations: 87.64 kB / 428.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.1498, allocations: 4 kB / 428.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2292/0.3789, allocations: 8.593 MB / 437.5 MB, free: 19.44 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.379, allocations: 17.95 kB / 437.5 MB, free: 19.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001486/0.3792, allocations: 63.48 kB / 437.5 MB, free: 19.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006801/0.386, allocations: 2.672 MB / 440.2 MB, free: 19.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.386, allocations: 1.281 kB / 440.2 MB, free: 19.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.386, allocations: 0 / 440.2 MB, free: 19.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.386, allocations: 0 / 440.2 MB, free: 19.3 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.00381/0.3898, allocations: 1.08 MB / 441.3 MB, free: 18.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3899, allocations: 9.656 kB / 441.3 MB, free: 18.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.39, allocations: 17.84 kB / 441.3 MB, free: 18.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3901, allocations: 199.4 kB / 441.5 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.3901, allocations: 5.375 kB / 441.5 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.3901, allocations: 2.812 kB / 441.5 MB, free: 18.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004172/0.3906, allocations: 185.5 kB / 441.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3906, allocations: 1.281 kB / 441.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.3906, allocations: 0 / 441.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.3906, allocations: 9.359 kB / 441.7 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004331/0.3911, allocations: 185.1 kB / 441.9 MB, free: 18.36 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.3914, allocations: 283.2 kB / 442.2 MB, free: 18.15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.3917, allocations: 194.5 kB / 442.4 MB, free: 18.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.392, allocations: 172.5 kB / 442.5 MB, free: 18.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1252/0.5172, allocations: 91.75 MB / 0.5218 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/0.5173, allocations: 39.17 kB / 0.5218 GB, free: 8 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 3.136e-06/0.5173, allocations: 2.25 kB / 0.5218 GB, free: 8 kB / 398.1 MB Notification: Performance of matching and sorting (n=48): time 0.001047/0.5184, allocations: 0.4975 MB / 0.5223 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.5184, allocations: 55.41 kB / 0.5223 GB, free: 15.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5186, allocations: 142.7 kB / 0.5225 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.5186, allocations: 31.12 kB / 0.5225 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.5187, allocations: 91.52 kB / 0.5226 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.5188, allocations: 152.1 kB / 0.5227 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.5188, allocations: 0 / 0.5227 GB, free: 15.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.519, allocations: 333.3 kB / 0.523 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002913/0.5193, allocations: 135.4 kB / 0.5232 GB, free: 14.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.5195, allocations: 128.2 kB / 0.5233 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/0.5197, allocations: 145.8 kB / 0.5234 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5197, allocations: 0 / 0.5234 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005771/0.5203, allocations: 352.4 kB / 0.5238 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5204, allocations: 7.406 kB / 0.5238 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.5204, allocations: 11.94 kB / 0.5238 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.5204, allocations: 0 / 0.5238 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.5205, allocations: 29.98 kB / 0.5238 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.5205, allocations: 4 kB / 0.5238 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/0.5207, allocations: 35.72 kB / 0.5239 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.5208, allocations: 13.47 kB / 0.5239 GB, free: 14.21 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.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 initialization (12): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001511/0.5209, allocations: 116.9 kB / 0.524 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.521, allocations: 23.72 kB / 0.524 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/0.5217, allocations: 428 kB / 0.5244 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.5217, allocations: 19.12 kB / 0.5244 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5217, allocations: 0 / 0.5244 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.5218, allocations: 4.641 kB / 0.5244 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.522, allocations: 289 kB / 0.5247 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.522, allocations: 0 / 0.5247 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.5221, allocations: 32.34 kB / 0.5247 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.5222, allocations: 7.953 kB / 0.5247 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.5222, allocations: 0 / 0.5247 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.5222, allocations: 0 / 0.5247 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.5222, allocations: 0 / 0.5247 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005793/0.5228, allocations: 402.6 kB / 0.5251 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.011e-05/0.5229, allocations: 112.1 kB / 0.5252 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.5229, allocations: 12.88 kB / 0.5253 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.523, allocations: 19.98 kB / 0.5253 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.5231, allocations: 17.02 kB / 0.5253 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.5231, allocations: 4 kB / 0.5253 GB, free: 12.94 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.5232, allocations: 105.4 kB / 0.5254 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5232, allocations: 4 kB / 0.5254 GB, free: 12.84 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00364/0.5268, allocations: 1.114 MB / 0.5265 GB, free: 11.76 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004753/0.5316, allocations: 1.666 MB / 0.5281 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006329/0.5322, allocations: 326.6 kB / 0.5284 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5322, allocations: 0 / 0.5284 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.5325, allocations: 184.2 kB / 0.5286 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007598/0.5333, allocations: 154.4 kB / 0.5287 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.5341, allocations: 0.5247 MB / 0.5293 GB, free: 9.344 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.5344, allocations: 0.7332 MB / 0.53 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.153e-05/0.5344, allocations: 27.42 kB / 0.53 GB, free: 8.555 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5344, allocations: 0 / 0.53 GB, free: 8.555 MB / 414.1 MB Notification: Performance of Templates: time 0.03411/0.5686, allocations: 20.92 MB / 0.5504 GB, free: 3.777 MB / 430.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++ NOTFOUND -Winvalid-pch -O0 -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/c/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