Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=4,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008567, allocations: 99.27 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.0009397/0.0009395, allocations: 181.2 kB / 16.92 MB, free: 6.918 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.833/1.833, allocations: 205.4 MB / 223.1 MB, free: 5.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04839/0.04839, allocations: 9.075 MB / 280.5 MB, free: 12.39 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.0005549/0.000555, allocations: 16.22 kB / 340.4 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1164, allocations: 49.2 MB / 389.6 MB, free: 8.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.02176/0.1382, allocations: 18.1 MB / 407.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01706/0.1553, allocations: 16.66 MB / 424.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1556, allocations: 0 / 424.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009129/0.1565, allocations: 267.1 kB / 424.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1568, allocations: 99.41 kB / 424.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3028/0.4596, allocations: 5.774 MB / 430.5 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004217/0.46, allocations: 238.8 kB / 430.7 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.202e-05/0.4601, allocations: 6.625 kB / 430.7 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.4603, allocations: 104.9 kB / 430.8 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.4604, allocations: 54.47 kB / 430.9 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.4604, allocations: 4.625 kB / 430.9 MB, free: 17.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02073/0.4812, allocations: 9.144 MB / 440 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.4812, allocations: 10.05 kB / 440 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002801/0.4815, allocations: 92.41 kB / 440.1 MB, free: 17.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007818/0.4894, allocations: 2.474 MB / 442.6 MB, free: 17.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4894, allocations: 2.438 kB / 442.6 MB, free: 17.6 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4894, allocations: 0 / 442.6 MB, free: 17.6 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.4894, allocations: 0 / 442.6 MB, free: 17.6 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.004166/0.4936, allocations: 0.9443 MB / 443.5 MB, free: 16.96 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.4937, allocations: 8.875 kB / 443.6 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.4937, allocations: 16.62 kB / 443.6 MB, free: 16.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.4939, allocations: 179.3 kB / 443.7 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4939, allocations: 5.375 kB / 443.7 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.494, allocations: 5.844 kB / 443.8 MB, free: 16.74 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002133/0.4942, allocations: 109.5 kB / 443.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.4942, allocations: 2.094 kB / 443.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4942, allocations: 1.875 kB / 443.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.701e-05/0.4942, allocations: 10.39 kB / 443.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.4943, allocations: 76.42 kB / 443.9 MB, free: 16.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.4946, allocations: 247.6 kB / 444.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.4948, allocations: 124.2 kB / 444.3 MB, free: 16.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4949, allocations: 106.2 kB / 444.4 MB, free: 16.47 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1478/0.6427, allocations: 91.21 MB / 0.5231 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.6428, allocations: 34.55 kB / 0.5231 GB, free: 13.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.136e-06/0.6428, allocations: 4 kB / 0.5231 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0006381/0.6435, allocations: 338.5 kB / 0.5234 GB, free: 13.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.6436, allocations: 51.41 kB / 0.5235 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.6437, allocations: 101.8 kB / 0.5236 GB, free: 13.57 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.6437, allocations: 27.23 kB / 0.5236 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.6438, allocations: 81.14 kB / 0.5237 GB, free: 13.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.6439, allocations: 128.4 kB / 0.5238 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.644, allocations: 33.62 kB / 0.5238 GB, free: 13.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6441, allocations: 326.8 kB / 0.5241 GB, free: 12.99 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-05/0.6442, allocations: 77.03 kB / 0.5242 GB, free: 12.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.595e-05/0.6443, allocations: 76.97 kB / 0.5243 GB, free: 12.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002025/0.6445, allocations: 195.7 kB / 0.5245 GB, free: 12.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6446, allocations: 0 / 0.5245 GB, free: 12.78 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000296/0.6449, allocations: 235.2 kB / 0.5247 GB, free: 12.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.6449, allocations: 10.5 kB / 0.5247 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.6449, allocations: 3.984 kB / 0.5247 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.6449, allocations: 0 / 0.5247 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.6449, allocations: 0 / 0.5247 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.6449, allocations: 0 / 0.5247 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.6451, allocations: 19.75 kB / 0.5247 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.6451, allocations: 0 / 0.5247 GB, free: 12.58 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 (6): * Single equations (assignments): 0 * 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.0001218/0.6452, allocations: 124 kB / 0.5249 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.6452, allocations: 7.906 kB / 0.5249 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.6458, allocations: 392.1 kB / 0.5252 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/0.6458, allocations: 7.984 kB / 0.5252 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.6458, allocations: 0 / 0.5252 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6458, allocations: 0 / 0.5252 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002847/0.6461, allocations: 240.6 kB / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6461, allocations: 0 / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-06/0.6461, allocations: 0 / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6462, allocations: 0 / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.6462, allocations: 3.984 kB / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.6462, allocations: 4 kB / 0.5255 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.6462, allocations: 7.812 kB / 0.5255 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.6465, allocations: 223.9 kB / 0.5257 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.6466, allocations: 100.7 kB / 0.5258 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.6466, allocations: 4 kB / 0.5258 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.966e-05/0.6467, allocations: 3.984 kB / 0.5258 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.6467, allocations: 7.875 kB / 0.5258 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.6467, allocations: 0 / 0.5258 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.967e-05/0.6468, allocations: 99.14 kB / 0.5259 GB, free: 11.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6468, allocations: 4 kB / 0.5259 GB, free: 11.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004683/0.6515, allocations: 1.078 MB / 0.527 GB, free: 10.42 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: 5 (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 (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.007621/0.6591, allocations: 1.619 MB / 0.5285 GB, free: 9.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003562/0.6595, allocations: 178.3 kB / 0.5287 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.6595, allocations: 0 / 0.5287 GB, free: 8.867 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.6596, allocations: 87.91 kB / 0.5288 GB, free: 8.781 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6606, allocations: 151.6 kB / 0.5289 GB, free: 8.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.6614, allocations: 391.9 kB / 0.5293 GB, free: 8.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.6618, allocations: 0.7131 MB / 0.53 GB, free: 7.48 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.6619, allocations: 15.44 kB / 0.53 GB, free: 7.465 MB / 414.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6619, allocations: 0 / 0.53 GB, free: 7.465 MB / 414.1 MB Notification: Performance of Templates: time 0.0392/0.7011, allocations: 20.1 MB / 0.5497 GB, free: 3.41 MB / 430.1 MB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.Parameter.SinglePhase_setStateCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setStateCalcHelperMain.o] Error 1