Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008032/0.0008034, allocations: 100.5 kB / 15.71 MB, free: 452 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.0009904/0.0009905, allocations: 178.1 kB / 16.58 MB, free: 6.879 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.552/1.552, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04704/0.04704, allocations: 9.073 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.0005261/0.0005262, allocations: 16 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09691, allocations: 49.19 MB / 389 MB, free: 8.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3512/0.4482, allocations: 118.7 MB / 0.4958 GB, free: 1.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3899/0.8381, allocations: 102.3 MB / 0.5957 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007543/0.8389, allocations: 8.562 kB / 0.5957 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.8411, allocations: 0.7716 MB / 0.5965 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.8434, allocations: 0.8422 MB / 0.5973 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07671/0.9202, allocations: 22.32 MB / 0.6191 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.9225, allocations: 1.546 MB / 0.6206 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002327/0.9228, allocations: 95.05 kB / 0.6207 GB, free: 10.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01964/0.9424, allocations: 11.89 MB / 0.6323 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004709/0.943, allocations: 359.2 kB / 0.6327 GB, free: 8.633 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.308e-05/0.943, allocations: 27.59 kB / 0.6327 GB, free: 8.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0551/0.9981, allocations: 26.33 MB / 0.6584 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.9984, allocations: 96.69 kB / 0.6585 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004137/0.9989, allocations: 145.3 kB / 0.6586 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02101/1.02, allocations: 8.585 MB / 0.667 GB, free: 5.113 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.02, allocations: 0 / 0.667 GB, free: 5.113 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.535e-06/1.02, allocations: 0 / 0.667 GB, free: 5.113 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/1.02, allocations: 0 / 0.667 GB, free: 5.113 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.006766/1.027, allocations: 2.491 MB / 0.6694 GB, free: 2.668 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.027, allocations: 8.031 kB / 0.6695 GB, free: 2.66 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005523/1.027, allocations: 91.3 kB / 0.6695 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/1.028, allocations: 329.8 kB / 0.6699 GB, free: 2.262 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/1.028, allocations: 26.84 kB / 0.6699 GB, free: 2.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/1.028, allocations: 37.09 kB / 0.6699 GB, free: 2.223 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/1.029, allocations: 0.6127 MB / 0.6705 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.029, allocations: 4 kB / 0.6705 GB, free: 1.773 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/1.029, allocations: 15.33 kB / 0.6705 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/1.029, allocations: 14.69 kB / 0.6705 GB, free: 1.762 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/1.03, allocations: 0.5795 MB / 0.6711 GB, free: 1.348 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/1.033, allocations: 2.548 MB / 0.6736 GB, free: 14.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/1.034, allocations: 0.5168 MB / 0.6741 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005043/1.034, allocations: 355.8 kB / 0.6744 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4212/1.456, allocations: 135.8 MB / 0.8071 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.793e-05/1.456, allocations: 40.06 kB / 0.8071 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=79): time 3.446e-06/1.456, allocations: 0.5625 kB / 0.8071 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.006175/1.462, allocations: 2.398 MB / 0.8094 GB, free: 277.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/1.462, allocations: 56.12 kB / 0.8095 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/1.462, allocations: 252.8 kB / 0.8097 GB, free: 277.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/1.462, allocations: 38.05 kB / 0.8098 GB, free: 277.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/1.462, allocations: 182.7 kB / 0.81 GB, free: 277.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/1.463, allocations: 272 kB / 0.8102 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/1.463, allocations: 8.812 kB / 0.8102 GB, free: 277.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000111/1.463, allocations: 352.4 kB / 0.8106 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/1.463, allocations: 282.8 kB / 0.8108 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/1.464, allocations: 405.9 kB / 0.8112 GB, free: 276.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/1.464, allocations: 334.1 kB / 0.8115 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.464, allocations: 1.406 kB / 0.8115 GB, free: 276.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001359/1.466, allocations: 0.8096 MB / 0.8123 GB, free: 276 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/1.466, allocations: 7.5 kB / 0.8123 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.466, allocations: 2.312 kB / 0.8123 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002525/1.466, allocations: 67.58 kB / 0.8124 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004136/1.466, allocations: 105.1 kB / 0.8125 GB, free: 276 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0782/1.545, allocations: 22.61 MB / 0.8346 GB, free: 260.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/1.545, allocations: 63.86 kB / 0.8346 GB, free: 260.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/1.545, allocations: 16 kB / 0.8347 GB, free: 260.8 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002558/1.546, allocations: 189.8 kB / 0.8348 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/1.546, allocations: 47.39 kB / 0.8349 GB, free: 260.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001539/1.547, allocations: 1.578 MB / 0.8364 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/1.547, allocations: 15.59 kB / 0.8364 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/1.547, allocations: 0 / 0.8364 GB, free: 258.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/1.548, allocations: 1.158 MB / 0.8376 GB, free: 257.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/1.55, allocations: 1.618 MB / 0.8391 GB, free: 256 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.55, allocations: 0 / 0.8391 GB, free: 256 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002869/1.55, allocations: 91.92 kB / 0.8392 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002034/1.55, allocations: 44.8 kB / 0.8393 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/1.551, allocations: 19.94 kB / 0.8393 GB, free: 255.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006832/1.551, allocations: 1.329 MB / 0.8406 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.551, allocations: 0 / 0.8406 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/1.553, allocations: 1.213 MB / 0.8418 GB, free: 253.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/1.553, allocations: 145.1 kB / 0.8419 GB, free: 253 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/1.553, allocations: 20.02 kB / 0.8419 GB, free: 253 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/1.553, allocations: 43.86 kB / 0.842 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/1.553, allocations: 51.92 kB / 0.842 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/1.553, allocations: 8 kB / 0.842 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001848/1.553, allocations: 239 kB / 0.8423 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/1.553, allocations: 0 / 0.8423 GB, free: 252.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0084/1.562, allocations: 3.188 MB / 0.8454 GB, free: 249.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($cse8.phase,$cse9.phase,volume.medium.state.phase,volume.medium.sat.liq.phase,volume.medium.sat.vap.phase,fixedMassFlowRate.medium.state.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.sat.vap.phase,ambient.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01471/1.577, allocations: 4.125 MB / 0.8494 GB, free: 246.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001646/1.578, allocations: 0.9497 MB / 0.8503 GB, free: 245.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.578, allocations: 1.969 kB / 0.8503 GB, free: 245.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005834/1.579, allocations: 499.1 kB / 0.8508 GB, free: 244.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/1.58, allocations: 324.9 kB / 0.8511 GB, free: 244.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/1.582, allocations: 1.422 MB / 0.8525 GB, free: 243 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/1.582, allocations: 0.8525 MB / 0.8533 GB, free: 242.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/1.582, allocations: 39.44 kB / 0.8534 GB, free: 242.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/1.582, allocations: 0 / 0.8534 GB, free: 242.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.09077/1.673, allocations: 76.13 MB / 0.9277 GB, free: 165.9 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.MediaTestModels.EthanolTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.o] Error 1