Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005415/0.005421, allocations: 101.5 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 195.7 kB / 16.79 MB, free: 6.254 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.559/1.559, allocations: 205.1 MB / 222.6 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04661/0.04661, allocations: 9.087 MB / 279.1 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.001273/0.001273, allocations: 68.38 kB / 338 MB, free: 25.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09644/0.09772, allocations: 48.17 MB / 386.2 MB, free: 9.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4005/0.4983, allocations: 198.8 MB / 0.5712 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.4761/0.9744, allocations: 143.9 MB / 0.7118 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/0.9757, allocations: 6.812 kB / 0.7118 GB, free: 12.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.9792, allocations: 1.15 MB / 0.7129 GB, free: 11.39 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004458/0.9837, allocations: 1.417 MB / 0.7143 GB, free: 10.19 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1239/1.108, allocations: 32.68 MB / 0.7462 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003652/1.111, allocations: 2.573 MB / 0.7487 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003475/1.112, allocations: 151.9 kB / 0.7488 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/1.113, allocations: 0.7164 MB / 0.7495 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007462/1.114, allocations: 0.5369 MB / 0.7501 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.39e-05/1.114, allocations: 32 kB / 0.7501 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08316/1.197, allocations: 39.37 MB / 0.7885 GB, free: 14.04 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000393/1.198, allocations: 135.4 kB / 0.7887 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009688/1.199, allocations: 402.3 kB / 0.7891 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02985/1.229, allocations: 11.28 MB / 0.8001 GB, free: 2.211 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.229, allocations: 3.938 kB / 0.8001 GB, free: 2.207 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/1.229, allocations: 0 / 0.8001 GB, free: 2.207 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.229, allocations: 0 / 0.8001 GB, free: 2.207 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.2256/1.454, allocations: 3.347 MB / 0.8033 GB, free: 266.6 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.454, allocations: 9.25 kB / 0.8033 GB, free: 266.6 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/1.455, allocations: 120.3 kB / 0.8035 GB, free: 266.6 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/1.456, allocations: 398.2 kB / 0.8038 GB, free: 266.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/1.456, allocations: 42.91 kB / 0.8039 GB, free: 266.4 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-05/1.456, allocations: 50.94 kB / 0.8039 GB, free: 266.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.458, allocations: 0.8188 MB / 0.8047 GB, free: 266.1 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.458, allocations: 2.156 kB / 0.8047 GB, free: 266.1 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/1.458, allocations: 26.08 kB / 0.8048 GB, free: 266.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.09e-05/1.458, allocations: 23.11 kB / 0.8048 GB, free: 266.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/1.46, allocations: 0.754 MB / 0.8055 GB, free: 265.9 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003201/1.463, allocations: 3.414 MB / 0.8088 GB, free: 263 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/1.465, allocations: 0.6895 MB / 0.8095 GB, free: 262.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007667/1.465, allocations: 487.5 kB / 0.81 GB, free: 262.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2908/1.756, allocations: 185.3 MB / 0.9909 GB, free: 63.03 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.441e-05/1.756, allocations: 46.94 kB / 0.991 GB, free: 62.97 MB / 0.545 GB Notification: Performance of pre-optimization done (n=109): time 4.579e-06/1.756, allocations: 0 / 0.991 GB, free: 62.97 MB / 0.545 GB Notification: Performance of matching and sorting (n=117): time 0.0107/1.767, allocations: 3.417 MB / 0.9943 GB, free: 59.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/1.767, allocations: 55.97 kB / 0.9944 GB, free: 59.42 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003959/1.768, allocations: 312.4 kB / 0.9947 GB, free: 59.11 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/1.768, allocations: 33.7 kB / 0.9947 GB, free: 59.07 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/1.768, allocations: 228.8 kB / 0.9949 GB, free: 58.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003204/1.768, allocations: 385.7 kB / 0.9953 GB, free: 58.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/1.768, allocations: 138.2 kB / 0.9954 GB, free: 58.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001251/1.769, allocations: 374.7 kB / 0.9958 GB, free: 57.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007226/1.769, allocations: 393.7 kB / 0.9962 GB, free: 57.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/1.77, allocations: 0.5366 MB / 0.9967 GB, free: 56.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/1.772, allocations: 0.9747 MB / 0.9976 GB, free: 55.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.772, allocations: 0 / 0.9976 GB, free: 55.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002201/1.774, allocations: 1.132 MB / 0.9987 GB, free: 54.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.774, allocations: 4 kB / 0.9987 GB, free: 54.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/1.774, allocations: 4 kB / 0.9987 GB, free: 54.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/1.774, allocations: 98.5 kB / 0.9988 GB, free: 54.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/1.775, allocations: 211.5 kB / 0.999 GB, free: 54.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1757/1.951, allocations: 46.42 MB / 1.044 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007432/1.952, allocations: 67.86 kB / 1.044 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.28e-05/1.952, allocations: 23.98 kB / 1.044 GB, free: 6.035 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,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 (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * 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): 4 systems {1, 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003353/1.952, allocations: 223 kB / 1.045 GB, free: 5.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/1.952, allocations: 67.12 kB / 1.045 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/1.955, allocations: 2.394 MB / 1.047 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.955, allocations: 19.11 kB / 1.047 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.955, allocations: 0 / 1.047 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001764/1.957, allocations: 1.654 MB / 1.049 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2339/2.19, allocations: 2.455 MB / 1.051 GB, free: 255.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/2.19, allocations: 0 / 1.051 GB, free: 255.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/2.191, allocations: 120 kB / 1.051 GB, free: 255.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005663/2.192, allocations: 218 kB / 1.051 GB, free: 255.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/2.192, allocations: 14.83 kB / 1.051 GB, free: 255.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001937/2.194, allocations: 3.783 MB / 1.055 GB, free: 252.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/2.194, allocations: 0 / 1.055 GB, free: 252.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/2.197, allocations: 1.971 MB / 1.057 GB, free: 251.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/2.197, allocations: 136.5 kB / 1.057 GB, free: 251.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.098e-05/2.197, allocations: 15.34 kB / 1.057 GB, free: 251.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004973/2.198, allocations: 56.48 kB / 1.057 GB, free: 251.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/2.198, allocations: 63.98 kB / 1.057 GB, free: 251.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/2.198, allocations: 20.81 kB / 1.057 GB, free: 251.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002967/2.198, allocations: 258.6 kB / 1.058 GB, free: 251.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/2.198, allocations: 0 / 1.058 GB, free: 251.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01821/2.216, allocations: 4.824 MB / 1.062 GB, free: 251.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 14 ($cse13.phase,$cse16.phase,$cse17.phase,$cse18.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,volume1.medium.state.phase,volume1.medium.sat.liq.phase,volume1.medium.sat.vap.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.02721/2.244, allocations: 5.979 MB / 1.068 GB, free: 250.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002978/2.247, allocations: 1.511 MB / 1.07 GB, free: 249.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/2.247, allocations: 7.938 kB / 1.07 GB, free: 249.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/2.248, allocations: 0.8295 MB / 1.07 GB, free: 249 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/2.25, allocations: 0.5119 MB / 1.071 GB, free: 248.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/2.253, allocations: 2.065 MB / 1.073 GB, free: 247.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/2.253, allocations: 0.9369 MB / 1.074 GB, free: 247 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/2.253, allocations: 50.16 kB / 1.074 GB, free: 247 MB / 0.545 GB Notification: Performance of SimCode: time 1.783e-06/2.253, allocations: 0 / 1.074 GB, free: 247 MB / 0.545 GB Notification: Performance of Templates: time 0.1597/2.413, allocations: 129.7 MB / 1.201 GB, free: 131.2 MB / 0.545 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.EthanolTestModel2CalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2CalcHelperMain.o] Error 1