Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 96.14 kB / 15.87 MB, free: 16 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.00239/0.00239, allocations: 198.4 kB / 16.79 MB, free: 6.828 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.547/1.547, allocations: 205.1 MB / 222.6 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04301/0.04301, allocations: 9.085 MB / 279.1 MB, free: 12.65 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.001232/0.001232, allocations: 67.91 kB / 338 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1035, allocations: 48.17 MB / 386.2 MB, free: 9.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.3691/0.4726, allocations: 130.6 MB / 0.5046 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4501/0.9227, allocations: 112.8 MB / 0.6148 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007639/0.9236, allocations: 3.781 kB / 0.6148 GB, free: 1.141 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003374/0.927, allocations: 1.176 MB / 0.6159 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003844/0.9309, allocations: 1.47 MB / 0.6173 GB, free: 1.121 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07951/1.01, allocations: 25.11 MB / 0.6419 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/1.013, allocations: 1.822 MB / 0.6436 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/1.013, allocations: 94.05 kB / 0.6437 GB, free: 15.61 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01569/1.028, allocations: 9.351 MB / 0.6529 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004743/1.029, allocations: 393.5 kB / 0.6532 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/1.029, allocations: 21.78 kB / 0.6533 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06514/1.094, allocations: 31.45 MB / 0.684 GB, free: 6.484 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003867/1.095, allocations: 94.17 kB / 0.6841 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001022/1.096, allocations: 293.8 kB / 0.6843 GB, free: 6.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02354/1.119, allocations: 8.485 MB / 0.6926 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.119, allocations: 0 / 0.6926 GB, free: 15.57 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.874e-06/1.119, allocations: 4 kB / 0.6926 GB, free: 15.57 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/1.119, allocations: 0 / 0.6926 GB, free: 15.57 MB / 494.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.007748/1.127, allocations: 2.565 MB / 0.6951 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.127, allocations: 11.97 kB / 0.6952 GB, free: 12.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/1.128, allocations: 95.33 kB / 0.6952 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/1.128, allocations: 332.7 kB / 0.6956 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/1.128, allocations: 32.66 kB / 0.6956 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/1.128, allocations: 28 kB / 0.6956 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/1.13, allocations: 0.6002 MB / 0.6962 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/1.13, allocations: 4 kB / 0.6962 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/1.13, allocations: 16 kB / 0.6962 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/1.13, allocations: 14.64 kB / 0.6962 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.131, allocations: 0.552 MB / 0.6968 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002718/1.134, allocations: 2.465 MB / 0.6992 GB, free: 8.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/1.135, allocations: 491.9 kB / 0.6997 GB, free: 8.094 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/1.135, allocations: 344.3 kB / 0.7 GB, free: 7.754 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4885/1.624, allocations: 139 MB / 0.8357 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.624, allocations: 36.34 kB / 0.8357 GB, free: 256.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 6.051e-06/1.624, allocations: 3.969 kB / 0.8357 GB, free: 256.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006007/1.63, allocations: 2.346 MB / 0.838 GB, free: 255.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/1.63, allocations: 53.94 kB / 0.8381 GB, free: 255.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/1.63, allocations: 266.6 kB / 0.8383 GB, free: 255 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/1.63, allocations: 33.61 kB / 0.8384 GB, free: 255 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.63, allocations: 190.5 kB / 0.8385 GB, free: 254.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/1.631, allocations: 259.6 kB / 0.8388 GB, free: 254.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/1.631, allocations: 101.2 kB / 0.8389 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.157e-05/1.631, allocations: 350.3 kB / 0.8392 GB, free: 254.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/1.631, allocations: 283.2 kB / 0.8395 GB, free: 254 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005312/1.632, allocations: 400.5 kB / 0.8399 GB, free: 253.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009723/1.633, allocations: 0.6941 MB / 0.8406 GB, free: 253.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.633, allocations: 0 / 0.8406 GB, free: 253.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001325/1.634, allocations: 0.7992 MB / 0.8413 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.634, allocations: 7.938 kB / 0.8413 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.634, allocations: 3.969 kB / 0.8413 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002434/1.634, allocations: 63.92 kB / 0.8414 GB, free: 252.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.635, allocations: 139.6 kB / 0.8415 GB, free: 252.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09015/1.725, allocations: 25.11 MB / 0.8661 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006755/1.726, allocations: 55.86 kB / 0.8661 GB, free: 229.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.006e-05/1.726, allocations: 16.56 kB / 0.8661 GB, free: 229.7 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (48): * Single equations (assignments): 40 * 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, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004525/1.727, allocations: 193.7 kB / 0.8663 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.727, allocations: 39.53 kB / 0.8664 GB, free: 229.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/1.729, allocations: 1.71 MB / 0.868 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.406e-05/1.729, allocations: 15.98 kB / 0.868 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.729, allocations: 2.125 kB / 0.868 GB, free: 227.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/1.73, allocations: 1.3 MB / 0.8693 GB, free: 226.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00217/1.732, allocations: 1.755 MB / 0.871 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.732, allocations: 4 kB / 0.871 GB, free: 224.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/1.733, allocations: 71.88 kB / 0.8711 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/1.733, allocations: 177.4 kB / 0.8713 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.169e-05/1.733, allocations: 12 kB / 0.8713 GB, free: 224.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/1.734, allocations: 2.477 MB / 0.8737 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.734, allocations: 2.188 kB / 0.8737 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.736, allocations: 1.377 MB / 0.875 GB, free: 220.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/1.736, allocations: 124.4 kB / 0.8752 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/1.736, allocations: 8 kB / 0.8752 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/1.737, allocations: 36.03 kB / 0.8752 GB, free: 220 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/1.737, allocations: 39.94 kB / 0.8752 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/1.737, allocations: 15.98 kB / 0.8753 GB, free: 219.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002084/1.737, allocations: 223.1 kB / 0.8755 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/1.737, allocations: 0 / 0.8755 GB, free: 219.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.009424/1.746, allocations: 3.182 MB / 0.8786 GB, free: 217 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 10 ($cse7.phase,$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 (37): * Single equations (assignments): 31 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01912/1.766, allocations: 4.157 MB / 0.8826 GB, free: 213.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002266/1.768, allocations: 1.029 MB / 0.8836 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.768, allocations: 0 / 0.8836 GB, free: 212.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008013/1.769, allocations: 0.5149 MB / 0.8841 GB, free: 211.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/1.771, allocations: 405 kB / 0.8845 GB, free: 211.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/1.773, allocations: 1.442 MB / 0.8859 GB, free: 209.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/1.773, allocations: 0.8527 MB / 0.8868 GB, free: 209 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/1.773, allocations: 43.44 kB / 0.8868 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/1.773, allocations: 0 / 0.8868 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1078/1.881, allocations: 82.54 MB / 0.9674 GB, free: 126.3 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModelCalcHelperMain.o] Error 1