Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008217/0.0008215, allocations: 99.67 kB / 15.71 MB, free: 452 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.0009035/0.0009034, allocations: 176.9 kB / 16.58 MB, free: 6.422 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.4 MB / 222.8 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04638/0.04638, allocations: 9.066 MB / 280.1 MB, free: 12.25 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.0004727/0.0004728, allocations: 12 kB / 339.8 MB, free: 26.01 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09331/0.09381, allocations: 49.2 MB / 389 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3103/0.4041, allocations: 132.4 MB / 0.5092 GB, free: 3.762 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3822/0.7864, allocations: 91.38 MB / 0.5984 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007197/0.7872, allocations: 6.5 kB / 0.5984 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.7904, allocations: 1.073 MB / 0.5995 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003858/0.7943, allocations: 1.321 MB / 0.6008 GB, free: 10.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07644/0.8707, allocations: 22.63 MB / 0.6229 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003202/0.874, allocations: 1.584 MB / 0.6244 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.8743, allocations: 99.16 kB / 0.6245 GB, free: 9.941 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01693/0.8912, allocations: 9.773 MB / 0.6341 GB, free: 8.781 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004809/0.8917, allocations: 367.6 kB / 0.6344 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.365e-05/0.8918, allocations: 17.84 kB / 0.6344 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04611/0.9379, allocations: 23.77 MB / 0.6576 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003044/0.9382, allocations: 90.33 kB / 0.6577 GB, free: 14.19 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000434/0.9387, allocations: 145.9 kB / 0.6579 GB, free: 14.08 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0168/0.9555, allocations: 6.933 MB / 0.6646 GB, free: 8.523 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9556, allocations: 0 / 0.6646 GB, free: 8.523 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.9556, allocations: 0 / 0.6646 GB, free: 8.523 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.9556, allocations: 0 / 0.6646 GB, free: 8.523 MB / 462.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.006401/0.962, allocations: 2.074 MB / 0.6667 GB, free: 6.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.962, allocations: 8.031 kB / 0.6667 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004951/0.9625, allocations: 83.31 kB / 0.6667 GB, free: 6.402 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.963, allocations: 325.9 kB / 0.667 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/0.963, allocations: 29.91 kB / 0.6671 GB, free: 6.078 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.9631, allocations: 34.16 kB / 0.6671 GB, free: 6.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.9642, allocations: 0.5935 MB / 0.6677 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.9643, allocations: 0 / 0.6677 GB, free: 5.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.9643, allocations: 14.06 kB / 0.6677 GB, free: 5.629 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.9643, allocations: 20.42 kB / 0.6677 GB, free: 5.613 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.9654, allocations: 0.535 MB / 0.6682 GB, free: 5.242 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002513/0.968, allocations: 2.503 MB / 0.6707 GB, free: 2.926 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.9689, allocations: 0.4989 MB / 0.6712 GB, free: 2.605 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004646/0.9694, allocations: 339.1 kB / 0.6715 GB, free: 2.414 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1508/1.12, allocations: 111 MB / 0.7799 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/1.12, allocations: 34.95 kB / 0.78 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 3.807e-06/1.12, allocations: 0 / 0.78 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.00625/1.127, allocations: 2.703 MB / 0.7826 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.127, allocations: 59.39 kB / 0.7826 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/1.127, allocations: 254.7 kB / 0.7829 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/1.127, allocations: 29.02 kB / 0.7829 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/1.127, allocations: 189.5 kB / 0.7831 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/1.127, allocations: 270 kB / 0.7834 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/1.127, allocations: 3.625 kB / 0.7834 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001766/1.128, allocations: 355.2 kB / 0.7837 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005075/1.128, allocations: 290.8 kB / 0.784 GB, free: 348 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005706/1.129, allocations: 416.1 kB / 0.7844 GB, free: 12 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2267/1.355, allocations: 336.1 kB / 0.7847 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.355, allocations: 3.781 kB / 0.7847 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001566/1.357, allocations: 0.8356 MB / 0.7855 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.357, allocations: 7.391 kB / 0.7855 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/1.357, allocations: 2.75 kB / 0.7855 GB, free: 304.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007906/1.358, allocations: 157.3 kB / 0.7857 GB, free: 304.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/1.358, allocations: 128.2 kB / 0.7858 GB, free: 304.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/1.36, allocations: 3.644 MB / 0.7894 GB, free: 300.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/1.36, allocations: 52.72 kB / 0.7894 GB, free: 300.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/1.36, allocations: 23.72 kB / 0.7894 GB, free: 300.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 (ambient.medium.state.phase,ambient.medium.sat.liq.phase,ambient.medium.sat.vap.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002715/1.361, allocations: 185.9 kB / 0.7896 GB, free: 300.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/1.361, allocations: 46.08 kB / 0.7896 GB, free: 300.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/1.363, allocations: 1.698 MB / 0.7913 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.182e-05/1.363, allocations: 16.48 kB / 0.7913 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.363, allocations: 1.578 kB / 0.7913 GB, free: 300.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/1.365, allocations: 1.269 MB / 0.7926 GB, free: 299.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/1.367, allocations: 1.75 MB / 0.7943 GB, free: 299 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/1.367, allocations: 5.391 kB / 0.7943 GB, free: 299 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/1.367, allocations: 78.02 kB / 0.7943 GB, free: 299 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006973/1.368, allocations: 273.5 kB / 0.7946 GB, free: 298.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.368, allocations: 8.109 kB / 0.7946 GB, free: 298.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008005/1.369, allocations: 1.773 MB / 0.7963 GB, free: 297.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.369, allocations: 0.6094 kB / 0.7963 GB, free: 297.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/1.371, allocations: 1.492 MB / 0.7978 GB, free: 296.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/1.371, allocations: 139.5 kB / 0.7979 GB, free: 296.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/1.371, allocations: 9.797 kB / 0.7979 GB, free: 296.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/1.372, allocations: 47.36 kB / 0.798 GB, free: 296.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/1.372, allocations: 46.7 kB / 0.798 GB, free: 296.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/1.372, allocations: 15.27 kB / 0.7981 GB, free: 296.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002204/1.372, allocations: 218.9 kB / 0.7983 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.372, allocations: 0 / 0.7983 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006593/1.379, allocations: 1.98 MB / 0.8002 GB, free: 296.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.d,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse2.phase,$cse3.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 (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 2,1 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01052/1.389, allocations: 2.81 MB / 0.8029 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002065/1.391, allocations: 0.8987 MB / 0.8038 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.391, allocations: 0 / 0.8038 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006871/1.392, allocations: 432.5 kB / 0.8042 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/1.394, allocations: 323.1 kB / 0.8045 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/1.395, allocations: 1.465 MB / 0.806 GB, free: 294.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/1.396, allocations: 0.846 MB / 0.8068 GB, free: 293.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.504e-05/1.396, allocations: 38.16 kB / 0.8068 GB, free: 293.6 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/1.396, allocations: 0 / 0.8068 GB, free: 293.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.0673/1.463, allocations: 54.13 MB / 0.8597 GB, free: 245.2 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dTCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dTCalcHelperMain.o] Error 1