Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.0009508, allocations: 99.03 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.001287/0.001287, allocations: 182.6 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.788/1.788, allocations: 205.4 MB / 223.1 MB, free: 5.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04369/0.04369, allocations: 9.063 MB / 280.5 MB, free: 12.38 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.0005275/0.0005275, allocations: 16.2 kB / 340.4 MB, free: 25.67 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1238, allocations: 49.2 MB / 389.6 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.4274/0.5512, allocations: 142.3 MB / 0.5194 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4552/1.006, allocations: 98.1 MB / 0.6152 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007901/1.007, allocations: 5.875 kB / 0.6152 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003641/1.011, allocations: 1.173 MB / 0.6163 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004797/1.016, allocations: 1.472 MB / 0.6178 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.09125/1.107, allocations: 25.16 MB / 0.6423 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004291/1.111, allocations: 1.829 MB / 0.6441 GB, free: 204 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004355/1.112, allocations: 104.3 kB / 0.6442 GB, free: 176 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01986/1.132, allocations: 9.386 MB / 0.6534 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00058/1.132, allocations: 381.5 kB / 0.6538 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.838e-05/1.132, allocations: 21.39 kB / 0.6538 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06161/1.194, allocations: 26.56 MB / 0.6797 GB, free: 14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/1.194, allocations: 95.45 kB / 0.6798 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007196/1.195, allocations: 307.3 kB / 0.6801 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02024/1.215, allocations: 6.915 MB / 0.6869 GB, free: 8.238 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.215, allocations: 4 kB / 0.6869 GB, free: 8.234 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.667e-06/1.215, allocations: 0 / 0.6869 GB, free: 8.234 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/1.215, allocations: 0 / 0.6869 GB, free: 8.234 MB / 478.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.007147/1.223, allocations: 2.058 MB / 0.6889 GB, free: 6.219 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.223, allocations: 12.03 kB / 0.6889 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/1.223, allocations: 79.31 kB / 0.689 GB, free: 6.129 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/1.224, allocations: 338.6 kB / 0.6893 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.453e-05/1.224, allocations: 24.41 kB / 0.6893 GB, free: 5.797 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/1.224, allocations: 38.3 kB / 0.6893 GB, free: 5.773 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.225, allocations: 0.5973 MB / 0.6899 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/1.225, allocations: 1.812 kB / 0.6899 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/1.225, allocations: 15.12 kB / 0.6899 GB, free: 5.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/1.225, allocations: 19.44 kB / 0.69 GB, free: 5.328 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.226, allocations: 0.5412 MB / 0.6905 GB, free: 4.949 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002724/1.229, allocations: 2.492 MB / 0.6929 GB, free: 2.648 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.23, allocations: 0.5107 MB / 0.6934 GB, free: 2.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005456/1.231, allocations: 343 kB / 0.6937 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4528/1.683, allocations: 111 MB / 0.8021 GB, free: 293 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.889e-05/1.684, allocations: 40.77 kB / 0.8022 GB, free: 293 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.999e-06/1.684, allocations: 0 / 0.8022 GB, free: 293 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.00774/1.691, allocations: 2.705 MB / 0.8048 GB, free: 292.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/1.691, allocations: 55.55 kB / 0.8049 GB, free: 292.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/1.692, allocations: 258.1 kB / 0.8051 GB, free: 292.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.654e-05/1.692, allocations: 33.14 kB / 0.8052 GB, free: 292.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/1.692, allocations: 187.9 kB / 0.8053 GB, free: 292.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/1.692, allocations: 277.1 kB / 0.8056 GB, free: 291.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.293e-05/1.692, allocations: 64.83 kB / 0.8057 GB, free: 291.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001248/1.693, allocations: 352.6 kB / 0.806 GB, free: 291.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006562/1.693, allocations: 297.1 kB / 0.8063 GB, free: 291.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/1.694, allocations: 410.5 kB / 0.8067 GB, free: 291.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/1.695, allocations: 0.734 MB / 0.8074 GB, free: 291 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.695, allocations: 0 / 0.8074 GB, free: 291 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001867/1.697, allocations: 0.8441 MB / 0.8082 GB, free: 290.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.781e-05/1.697, allocations: 10.22 kB / 0.8082 GB, free: 290.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/1.697, allocations: 5.188 kB / 0.8082 GB, free: 290.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.698, allocations: 157.7 kB / 0.8084 GB, free: 290.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/1.699, allocations: 130.8 kB / 0.8085 GB, free: 290.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/1.701, allocations: 3.644 MB / 0.8121 GB, free: 286.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/1.701, allocations: 50.39 kB / 0.8121 GB, free: 286.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-05/1.701, allocations: 24.28 kB / 0.8121 GB, free: 286.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003347/1.702, allocations: 185.8 kB / 0.8123 GB, free: 286.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-05/1.702, allocations: 45.5 kB / 0.8124 GB, free: 286.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/1.705, allocations: 1.704 MB / 0.814 GB, free: 285.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/1.705, allocations: 16.3 kB / 0.814 GB, free: 285.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/1.705, allocations: 3.688 kB / 0.814 GB, free: 285.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001773/1.706, allocations: 1.272 MB / 0.8153 GB, free: 285 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/1.709, allocations: 1.759 MB / 0.817 GB, free: 284.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/1.709, allocations: 0 / 0.817 GB, free: 284.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003611/1.709, allocations: 79.44 kB / 0.8171 GB, free: 284.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007838/1.71, allocations: 264.5 kB / 0.8173 GB, free: 284 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.843e-05/1.71, allocations: 12.06 kB / 0.8173 GB, free: 284 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009348/1.711, allocations: 1.773 MB / 0.8191 GB, free: 282.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.711, allocations: 0 / 0.8191 GB, free: 282.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/1.713, allocations: 1.5 MB / 0.8205 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/1.714, allocations: 139.4 kB / 0.8207 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/1.714, allocations: 11.91 kB / 0.8207 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/1.714, allocations: 50.08 kB / 0.8207 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/1.714, allocations: 39.52 kB / 0.8208 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-05/1.714, allocations: 19.66 kB / 0.8208 GB, free: 281.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002285/1.714, allocations: 218.6 kB / 0.821 GB, free: 281.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.714, allocations: 6.375 kB / 0.821 GB, free: 281.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006291/1.721, allocations: 1.969 MB / 0.8229 GB, free: 281.2 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.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009471/1.73, allocations: 2.811 MB / 0.8257 GB, free: 280.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002102/1.732, allocations: 0.888 MB / 0.8265 GB, free: 280.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.732, allocations: 3.188 kB / 0.8265 GB, free: 280.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007312/1.733, allocations: 445.5 kB / 0.827 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/1.735, allocations: 379.3 kB / 0.8273 GB, free: 280 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/1.737, allocations: 1.491 MB / 0.8288 GB, free: 279 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.738, allocations: 0.8492 MB / 0.8296 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.738, allocations: 42.62 kB / 0.8296 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of SimCode: time 6.31e-07/1.738, allocations: 3.938 kB / 0.8296 GB, free: 278.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.07284/1.811, allocations: 54.6 MB / 0.883 GB, free: 225.3 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.MediaTestModels.ButaneTestModel_dTCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dTCalcHelperMain.o] Error 1