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.001007/0.001007, allocations: 98.88 kB / 16.02 MB, free: 72 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.001328/0.001328, allocations: 181.3 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.816/1.816, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04877/0.04877, allocations: 9.066 MB / 280.5 MB, free: 12.14 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.0005732/0.0005734, allocations: 16.78 kB / 340.4 MB, free: 25.64 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1215, allocations: 49.21 MB / 389.6 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.4411/0.5627, allocations: 128.6 MB / 0.5061 GB, free: 7.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4672/1.03, allocations: 111.5 MB / 0.6149 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000853/1.031, allocations: 6.188 kB / 0.6149 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003847/1.035, allocations: 1.176 MB / 0.6161 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004637/1.039, allocations: 1.468 MB / 0.6175 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08725/1.127, allocations: 24.85 MB / 0.6418 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/1.129, allocations: 1.822 MB / 0.6436 GB, free: 44 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/1.13, allocations: 96.33 kB / 0.6437 GB, free: 20 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02019/1.15, allocations: 9.724 MB / 0.6532 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006301/1.151, allocations: 386 kB / 0.6535 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/1.151, allocations: 22.19 kB / 0.6535 GB, free: 12.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06999/1.221, allocations: 30.64 MB / 0.6835 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003146/1.221, allocations: 99.28 kB / 0.6836 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/1.222, allocations: 310.9 kB / 0.6839 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.023/1.245, allocations: 8.318 MB / 0.692 GB, free: 4.754 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.245, allocations: 2.25 kB / 0.692 GB, free: 4.754 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.657e-06/1.245, allocations: 0 / 0.692 GB, free: 4.754 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/1.245, allocations: 0 / 0.692 GB, free: 4.754 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.008409/1.253, allocations: 2.492 MB / 0.6944 GB, free: 2.312 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.253, allocations: 12.03 kB / 0.6944 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005996/1.254, allocations: 88.36 kB / 0.6945 GB, free: 2.215 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/1.254, allocations: 335.3 kB / 0.6948 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/1.254, allocations: 31.34 kB / 0.6949 GB, free: 1.883 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.471e-05/1.254, allocations: 31.69 kB / 0.6949 GB, free: 1.859 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/1.256, allocations: 0.6111 MB / 0.6955 GB, free: 1.418 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/1.256, allocations: 3.938 kB / 0.6955 GB, free: 1.414 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.46e-05/1.256, allocations: 20.81 kB / 0.6955 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/1.256, allocations: 8 kB / 0.6955 GB, free: 1.398 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/1.257, allocations: 0.5693 MB / 0.6961 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/1.26, allocations: 2.48 MB / 0.6985 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.261, allocations: 0.4946 MB / 0.699 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/1.261, allocations: 350.2 kB / 0.6993 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5297/1.791, allocations: 135.8 MB / 0.8319 GB, free: 263.8 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.462e-05/1.791, allocations: 36.06 kB / 0.832 GB, free: 263.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=77): time 4.709e-06/1.791, allocations: 0 / 0.832 GB, free: 263.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=81): time 0.006811/1.798, allocations: 2.417 MB / 0.8343 GB, free: 262.7 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/1.798, allocations: 55.38 kB / 0.8344 GB, free: 262.6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/1.798, allocations: 261.7 kB / 0.8346 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/1.798, allocations: 33.7 kB / 0.8347 GB, free: 262.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/1.799, allocations: 193.1 kB / 0.8349 GB, free: 262.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/1.799, allocations: 264.3 kB / 0.8351 GB, free: 262 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.549e-05/1.799, allocations: 61.45 kB / 0.8352 GB, free: 261.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.946e-05/1.799, allocations: 350.7 kB / 0.8355 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/1.8, allocations: 293 kB / 0.8358 GB, free: 261.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/1.8, allocations: 402.3 kB / 0.8362 GB, free: 261.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/1.801, allocations: 0.7155 MB / 0.8369 GB, free: 260.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.801, allocations: 3.562 kB / 0.8369 GB, free: 260.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001546/1.803, allocations: 0.835 MB / 0.8377 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.803, allocations: 10.59 kB / 0.8377 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/1.803, allocations: 6.969 kB / 0.8377 GB, free: 260.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/1.803, allocations: 61.3 kB / 0.8378 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/1.804, allocations: 156.3 kB / 0.8379 GB, free: 260.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09524/1.899, allocations: 23.84 MB / 0.8612 GB, free: 241.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/1.9, allocations: 62.09 kB / 0.8612 GB, free: 241.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/1.9, allocations: 19.98 kB / 0.8613 GB, free: 241.6 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.0005714/1.901, allocations: 185.9 kB / 0.8614 GB, free: 241.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/1.901, allocations: 43.47 kB / 0.8615 GB, free: 241.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002546/1.903, allocations: 1.74 MB / 0.8632 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.232e-05/1.903, allocations: 11.98 kB / 0.8632 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/1.903, allocations: 0 / 0.8632 GB, free: 239.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001647/1.905, allocations: 1.329 MB / 0.8645 GB, free: 238.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/1.908, allocations: 1.774 MB / 0.8662 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.908, allocations: 0 / 0.8662 GB, free: 236.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/1.908, allocations: 78.23 kB / 0.8663 GB, free: 236.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004172/1.909, allocations: 182.2 kB / 0.8665 GB, free: 236 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.618e-05/1.909, allocations: 12 kB / 0.8665 GB, free: 236 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/1.91, allocations: 2.476 MB / 0.8689 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/1.91, allocations: 0 / 0.8689 GB, free: 233.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/1.912, allocations: 1.412 MB / 0.8703 GB, free: 231.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/1.912, allocations: 140.5 kB / 0.8704 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/1.912, allocations: 18.45 kB / 0.8704 GB, free: 231.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/1.913, allocations: 43.81 kB / 0.8705 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/1.913, allocations: 47.92 kB / 0.8705 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.913, allocations: 12 kB / 0.8705 GB, free: 231.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002592/1.913, allocations: 227.1 kB / 0.8707 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.913, allocations: 0 / 0.8707 GB, free: 231.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01087/1.924, allocations: 3.185 MB / 0.8739 GB, free: 228.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.01929/1.943, allocations: 4.024 MB / 0.8778 GB, free: 225.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002233/1.946, allocations: 1.038 MB / 0.8788 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.946, allocations: 1.203 kB / 0.8788 GB, free: 224 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/1.946, allocations: 0.5189 MB / 0.8793 GB, free: 223.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/1.949, allocations: 409.8 kB / 0.8797 GB, free: 223.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/1.951, allocations: 1.493 MB / 0.8812 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/1.951, allocations: 0.8527 MB / 0.882 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/1.951, allocations: 43.44 kB / 0.882 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of SimCode: time 2.054e-06/1.951, allocations: 0 / 0.882 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.1192/2.07, allocations: 82.45 MB / 0.9625 GB, free: 138.1 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