Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, 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.001249/0.001249, allocations: 192.2 kB / 16.79 MB, free: 6.812 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.548/1.548, allocations: 205.1 MB / 222.6 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04408/0.04408, allocations: 9.085 MB / 279.1 MB, free: 12.43 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.001473/0.001474, allocations: 59.91 kB / 338 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1042, allocations: 48.16 MB / 386.1 MB, free: 9.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3747/0.4789, allocations: 130.3 MB / 0.5044 GB, free: 4.227 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4414/0.9204, allocations: 112.8 MB / 0.6145 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006732/0.9211, allocations: 7.75 kB / 0.6145 GB, free: 1.102 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.9242, allocations: 1.177 MB / 0.6157 GB, free: 1.098 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00467/0.9289, allocations: 1.465 MB / 0.6171 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07812/1.007, allocations: 24.79 MB / 0.6413 GB, free: 0 / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003514/1.011, allocations: 1.895 MB / 0.6432 GB, free: 15.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/1.011, allocations: 98.22 kB / 0.6433 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01862/1.03, allocations: 9.733 MB / 0.6528 GB, free: 12.74 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000568/1.03, allocations: 391.5 kB / 0.6531 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.194e-05/1.03, allocations: 22.59 kB / 0.6532 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.064/1.094, allocations: 30.64 MB / 0.6831 GB, free: 7.836 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003216/1.095, allocations: 103 kB / 0.6832 GB, free: 7.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000798/1.095, allocations: 287.5 kB / 0.6835 GB, free: 7.551 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02237/1.118, allocations: 8.365 MB / 0.6916 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.118, allocations: 0 / 0.6916 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.903e-06/1.118, allocations: 0 / 0.6916 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/1.118, allocations: 4 kB / 0.6916 GB, free: 0.5508 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.008259/1.126, allocations: 2.572 MB / 0.6941 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.126, allocations: 12.03 kB / 0.6942 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006207/1.127, allocations: 91.33 kB / 0.6942 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004635/1.127, allocations: 337.9 kB / 0.6946 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.497e-05/1.127, allocations: 32.66 kB / 0.6946 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.717e-05/1.127, allocations: 28 kB / 0.6946 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/1.129, allocations: 0.6068 MB / 0.6952 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/1.129, allocations: 0 / 0.6952 GB, free: 12.8 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/1.129, allocations: 16 kB / 0.6952 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/1.129, allocations: 14.97 kB / 0.6952 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/1.13, allocations: 0.5558 MB / 0.6958 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002702/1.133, allocations: 2.462 MB / 0.6982 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.134, allocations: 498.2 kB / 0.6987 GB, free: 9.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/1.134, allocations: 337.9 kB / 0.699 GB, free: 8.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4802/1.615, allocations: 139 MB / 0.8347 GB, free: 258.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/1.615, allocations: 37.86 kB / 0.8347 GB, free: 258.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 3.837e-06/1.615, allocations: 3.969 kB / 0.8347 GB, free: 258.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.005811/1.62, allocations: 2.341 MB / 0.837 GB, free: 256.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/1.621, allocations: 58.84 kB / 0.8371 GB, free: 256.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/1.621, allocations: 256.7 kB / 0.8373 GB, free: 256.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.808e-05/1.621, allocations: 29.7 kB / 0.8374 GB, free: 256.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/1.621, allocations: 189 kB / 0.8375 GB, free: 256.4 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/1.621, allocations: 270.8 kB / 0.8378 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/1.621, allocations: 96.8 kB / 0.8379 GB, free: 256.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.482e-05/1.621, allocations: 356.9 kB / 0.8382 GB, free: 255.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004452/1.622, allocations: 274.2 kB / 0.8385 GB, free: 255.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004847/1.622, allocations: 396.2 kB / 0.8389 GB, free: 255.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009186/1.623, allocations: 0.6904 MB / 0.8395 GB, free: 255 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.623, allocations: 3.75 kB / 0.8395 GB, free: 255 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001283/1.625, allocations: 0.8035 MB / 0.8403 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/1.625, allocations: 3.938 kB / 0.8403 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/1.625, allocations: 3.938 kB / 0.8403 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/1.625, allocations: 63.64 kB / 0.8404 GB, free: 254.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006536/1.625, allocations: 141.6 kB / 0.8405 GB, free: 254.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08913/1.715, allocations: 23.88 MB / 0.8638 GB, free: 232.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005835/1.715, allocations: 47.91 kB / 0.8639 GB, free: 232.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/1.715, allocations: 27.92 kB / 0.8639 GB, free: 232.5 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.0003536/1.716, allocations: 188.5 kB / 0.8641 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/1.716, allocations: 39.53 kB / 0.8641 GB, free: 232.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001896/1.718, allocations: 1.719 MB / 0.8658 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.718, allocations: 14.89 kB / 0.8658 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.718, allocations: 0 / 0.8658 GB, free: 230.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/1.719, allocations: 1.3 MB / 0.8671 GB, free: 229.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/1.721, allocations: 1.742 MB / 0.8688 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/1.721, allocations: 3.938 kB / 0.8688 GB, free: 227.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003154/1.722, allocations: 79.83 kB / 0.8689 GB, free: 227.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003451/1.722, allocations: 176.8 kB / 0.869 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/1.722, allocations: 8 kB / 0.8691 GB, free: 227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/1.723, allocations: 2.477 MB / 0.8715 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.723, allocations: 0 / 0.8715 GB, free: 224.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/1.725, allocations: 1.393 MB / 0.8728 GB, free: 223 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/1.725, allocations: 120.5 kB / 0.873 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/1.726, allocations: 9.438 kB / 0.873 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000395/1.726, allocations: 35.95 kB / 0.873 GB, free: 222.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.726, allocations: 44 kB / 0.873 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/1.726, allocations: 15.98 kB / 0.8731 GB, free: 222.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002091/1.726, allocations: 219.1 kB / 0.8733 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.726, allocations: 0 / 0.8733 GB, free: 222.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01028/1.737, allocations: 3.186 MB / 0.8764 GB, free: 219.7 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.01983/1.756, allocations: 4.042 MB / 0.8803 GB, free: 216.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002377/1.759, allocations: 1.024 MB / 0.8813 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/1.759, allocations: 0 / 0.8813 GB, free: 215.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008426/1.76, allocations: 0.507 MB / 0.8818 GB, free: 214.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.762, allocations: 405.8 kB / 0.8822 GB, free: 214.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/1.764, allocations: 1.448 MB / 0.8836 GB, free: 212.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/1.764, allocations: 0.8605 MB / 0.8845 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/1.765, allocations: 39.44 kB / 0.8845 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of SimCode: time 6.71e-07/1.765, allocations: 0 / 0.8845 GB, free: 211.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1071/1.872, allocations: 82.45 MB / 0.965 GB, free: 129.3 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModelCalcHelperMain.o] Error 1