Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001125, 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.000978/0.000978, allocations: 194.3 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.529/1.529, allocations: 205.1 MB / 222.6 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04438/0.04438, allocations: 9.081 MB / 279.1 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.001264/0.001264, allocations: 63.91 kB / 338 MB, free: 25.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1172, allocations: 48.17 MB / 386.2 MB, free: 9.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel): time 0.3769/0.4942, allocations: 129.3 MB / 0.5034 GB, free: 5.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.4441/0.9383, allocations: 111.3 MB / 0.6121 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.9391, allocations: 9.188 kB / 0.6121 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002538/0.9417, allocations: 0.8465 MB / 0.6129 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002589/0.9443, allocations: 0.9422 MB / 0.6138 GB, free: 1.137 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08157/1.026, allocations: 24.53 MB / 0.6378 GB, free: 428 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002614/1.029, allocations: 1.784 MB / 0.6395 GB, free: 124 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/1.029, allocations: 101.4 kB / 0.6396 GB, free: 100 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02096/1.05, allocations: 11.3 MB / 0.6507 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005142/1.05, allocations: 384.8 kB / 0.651 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/1.05, allocations: 20.28 kB / 0.6511 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0643/1.115, allocations: 29.54 MB / 0.6799 GB, free: 7.586 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002931/1.115, allocations: 103.3 kB / 0.68 GB, free: 7.516 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007351/1.116, allocations: 280.5 kB / 0.6803 GB, free: 7.301 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02413/1.14, allocations: 8.459 MB / 0.6885 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/1.14, allocations: 0 / 0.6885 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.445e-06/1.14, allocations: 0 / 0.6885 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/1.14, allocations: 0 / 0.6885 GB, free: 0.7617 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.007416/1.147, allocations: 2.567 MB / 0.691 GB, free: 14.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.148, allocations: 12.03 kB / 0.691 GB, free: 14.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006289/1.148, allocations: 83.39 kB / 0.6911 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/1.149, allocations: 342.1 kB / 0.6915 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/1.149, allocations: 31.03 kB / 0.6915 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/1.149, allocations: 31.06 kB / 0.6915 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.15, allocations: 0.6027 MB / 0.6921 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/1.15, allocations: 0 / 0.6921 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/1.15, allocations: 14.81 kB / 0.6921 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/1.15, allocations: 26.14 kB / 0.6921 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/1.151, allocations: 0.5443 MB / 0.6927 GB, free: 12.99 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002674/1.154, allocations: 2.551 MB / 0.6952 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/1.155, allocations: 0.499 MB / 0.6956 GB, free: 10.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/1.156, allocations: 342.8 kB / 0.696 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.481/1.637, allocations: 139 MB / 0.8317 GB, free: 287.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.912e-05/1.637, allocations: 33.91 kB / 0.8317 GB, free: 287.6 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 4.759e-06/1.637, allocations: 0 / 0.8317 GB, free: 287.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006892/1.644, allocations: 2.333 MB / 0.834 GB, free: 286.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/1.644, allocations: 59.28 kB / 0.8341 GB, free: 286.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/1.644, allocations: 250 kB / 0.8343 GB, free: 286.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/1.644, allocations: 33.7 kB / 0.8343 GB, free: 286.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/1.644, allocations: 180.3 kB / 0.8345 GB, free: 286.4 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/1.644, allocations: 279.7 kB / 0.8348 GB, free: 286.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/1.645, allocations: 92.61 kB / 0.8349 GB, free: 286.1 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/1.645, allocations: 357.5 kB / 0.8352 GB, free: 285.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004385/1.645, allocations: 269.8 kB / 0.8355 GB, free: 285.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/1.646, allocations: 392.5 kB / 0.8358 GB, free: 285.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009451/1.647, allocations: 0.6936 MB / 0.8365 GB, free: 284.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.647, allocations: 3.312 kB / 0.8365 GB, free: 284.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001276/1.648, allocations: 0.797 MB / 0.8373 GB, free: 284.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.648, allocations: 7.938 kB / 0.8373 GB, free: 284.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/1.648, allocations: 3.969 kB / 0.8373 GB, free: 284.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002551/1.648, allocations: 68.66 kB / 0.8374 GB, free: 284.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004154/1.649, allocations: 97.06 kB / 0.8375 GB, free: 284.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09014/1.739, allocations: 22.65 MB / 0.8596 GB, free: 266.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/1.739, allocations: 51.88 kB / 0.8596 GB, free: 266.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/1.739, allocations: 16 kB / 0.8596 GB, free: 266.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002965/1.74, allocations: 189.7 kB / 0.8598 GB, free: 266.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.845e-05/1.74, allocations: 44.52 kB / 0.8599 GB, free: 266.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/1.742, allocations: 1.552 MB / 0.8614 GB, free: 264.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.742, allocations: 7.828 kB / 0.8614 GB, free: 264.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.742, allocations: 0 / 0.8614 GB, free: 264.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.743, allocations: 1.148 MB / 0.8625 GB, free: 263.5 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/1.745, allocations: 1.582 MB / 0.8641 GB, free: 261.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/1.745, allocations: 0 / 0.8641 GB, free: 261.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/1.745, allocations: 83.88 kB / 0.8641 GB, free: 261.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.745, allocations: 48.73 kB / 0.8642 GB, free: 261.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/1.745, allocations: 15.94 kB / 0.8642 GB, free: 261.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007777/1.746, allocations: 1.324 MB / 0.8655 GB, free: 260.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.746, allocations: 0 / 0.8655 GB, free: 260.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/1.748, allocations: 1.191 MB / 0.8667 GB, free: 259 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.748, allocations: 108.7 kB / 0.8668 GB, free: 258.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.225e-05/1.748, allocations: 15.84 kB / 0.8668 GB, free: 258.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/1.748, allocations: 35.95 kB / 0.8668 GB, free: 258.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.748, allocations: 44 kB / 0.8669 GB, free: 258.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/1.748, allocations: 12 kB / 0.8669 GB, free: 258.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002025/1.749, allocations: 243 kB / 0.8671 GB, free: 258.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.749, allocations: 0 / 0.8671 GB, free: 258.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009347/1.758, allocations: 3.188 MB / 0.8702 GB, free: 255.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 9 ($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 (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.017/1.775, allocations: 4.128 MB / 0.8742 GB, free: 252.1 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001875/1.777, allocations: 0.9575 MB / 0.8752 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.777, allocations: 192 / 0.8752 GB, free: 251.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006924/1.778, allocations: 491.3 kB / 0.8756 GB, free: 250.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.78, allocations: 378.1 kB / 0.876 GB, free: 250.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/1.781, allocations: 1.39 MB / 0.8774 GB, free: 248.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.781, allocations: 0.8602 MB / 0.8782 GB, free: 248 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/1.782, allocations: 39.44 kB / 0.8782 GB, free: 247.9 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/1.782, allocations: 0 / 0.8782 GB, free: 247.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1022/1.884, allocations: 76.63 MB / 0.9531 GB, free: 171.2 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel.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.EthanolTestModelCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModelCalcHelperMain.o] Error 1