Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007923/0.0007922, allocations: 100.5 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.000873/0.000873, allocations: 174.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.546/1.546, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04306/0.04306, allocations: 9.059 MB / 280.1 MB, free: 12.27 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.0005063/0.0005064, allocations: 12 kB / 339.8 MB, free: 26 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09704, allocations: 49.19 MB / 388.9 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT): time 0.3527/0.4498, allocations: 132.4 MB / 0.5092 GB, free: 3.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.3819/0.8317, allocations: 91.39 MB / 0.5984 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006885/0.8325, allocations: 6 kB / 0.5984 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003254/0.8357, allocations: 1.071 MB / 0.5995 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003734/0.8395, allocations: 1.322 MB / 0.6008 GB, free: 10.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.06915/0.9086, allocations: 22.63 MB / 0.6229 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002423/0.9111, allocations: 1.581 MB / 0.6244 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.9113, allocations: 95.33 kB / 0.6245 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/0.9282, allocations: 9.775 MB / 0.634 GB, free: 8.977 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005089/0.9288, allocations: 364.8 kB / 0.6344 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.177e-05/0.9288, allocations: 19.28 kB / 0.6344 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.06095/0.9898, allocations: 28.63 MB / 0.6624 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.9902, allocations: 94.77 kB / 0.6625 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004654/0.9906, allocations: 148.3 kB / 0.6626 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02339/1.014, allocations: 8.905 MB / 0.6713 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.014, allocations: 1.969 kB / 0.6713 GB, free: 3.672 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.955e-06/1.014, allocations: 0 / 0.6713 GB, free: 3.672 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.405e-06/1.014, allocations: 0 / 0.6713 GB, free: 3.672 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.007728/1.022, allocations: 2.581 MB / 0.6738 GB, free: 1.148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/1.022, allocations: 12.03 kB / 0.6738 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005162/1.022, allocations: 80.19 kB / 0.6739 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/1.023, allocations: 320.6 kB / 0.6742 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/1.023, allocations: 34.22 kB / 0.6743 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.337e-05/1.023, allocations: 39.53 kB / 0.6743 GB, free: 0.707 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/1.024, allocations: 0.5852 MB / 0.6749 GB, free: 296 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/1.024, allocations: 4 kB / 0.6749 GB, free: 292 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/1.024, allocations: 14.75 kB / 0.6749 GB, free: 288 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.024, allocations: 20.41 kB / 0.6749 GB, free: 276 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/1.025, allocations: 0.5406 MB / 0.6754 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/1.028, allocations: 2.5 MB / 0.6779 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/1.029, allocations: 0.5028 MB / 0.6784 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/1.029, allocations: 345.1 kB / 0.6787 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.354/1.383, allocations: 111.4 MB / 0.7875 GB, free: 296.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/1.383, allocations: 37.3 kB / 0.7876 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 4.308e-06/1.383, allocations: 3.531 kB / 0.7876 GB, free: 296.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=83): time 0.007145/1.391, allocations: 2.5 MB / 0.79 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/1.391, allocations: 56.06 kB / 0.7901 GB, free: 296.1 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/1.391, allocations: 259.1 kB / 0.7903 GB, free: 296 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/1.391, allocations: 39.66 kB / 0.7903 GB, free: 296 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.391, allocations: 187.2 kB / 0.7905 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.391, allocations: 270.6 kB / 0.7908 GB, free: 295.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/1.391, allocations: 10.5 kB / 0.7908 GB, free: 295.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/1.391, allocations: 349.6 kB / 0.7911 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005069/1.392, allocations: 292.1 kB / 0.7914 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/1.393, allocations: 410.4 kB / 0.7918 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/1.393, allocations: 339.1 kB / 0.7921 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.393, allocations: 1.188 kB / 0.7921 GB, free: 295.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001512/1.395, allocations: 0.8371 MB / 0.7929 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.395, allocations: 6.406 kB / 0.7929 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.395, allocations: 3.562 kB / 0.7929 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/1.395, allocations: 80.58 kB / 0.793 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/1.395, allocations: 124.5 kB / 0.7931 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03983/1.435, allocations: 13.23 MB / 0.8061 GB, free: 289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006012/1.436, allocations: 50.28 kB / 0.8061 GB, free: 289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/1.436, allocations: 18.88 kB / 0.8061 GB, free: 289 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 (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003129/1.436, allocations: 190.2 kB / 0.8063 GB, free: 288.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/1.436, allocations: 51.2 kB / 0.8064 GB, free: 288.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/1.438, allocations: 1.746 MB / 0.8081 GB, free: 287.9 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/1.438, allocations: 18.27 kB / 0.8081 GB, free: 287.9 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.438, allocations: 0 / 0.8081 GB, free: 287.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001301/1.44, allocations: 1.295 MB / 0.8093 GB, free: 287 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/1.442, allocations: 1.777 MB / 0.8111 GB, free: 285.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/1.442, allocations: 0 / 0.8111 GB, free: 285.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/1.442, allocations: 85.88 kB / 0.8112 GB, free: 285.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/1.442, allocations: 122.5 kB / 0.8113 GB, free: 285.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.731e-05/1.443, allocations: 19.89 kB / 0.8113 GB, free: 285.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/1.444, allocations: 1.974 MB / 0.8132 GB, free: 283.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.444, allocations: 2.5 kB / 0.8132 GB, free: 283.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.445, allocations: 1.466 MB / 0.8147 GB, free: 282.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/1.446, allocations: 139.7 kB / 0.8148 GB, free: 282.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/1.446, allocations: 8 kB / 0.8148 GB, free: 282.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/1.446, allocations: 42.78 kB / 0.8148 GB, free: 282.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.446, allocations: 51.69 kB / 0.8149 GB, free: 282.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/1.446, allocations: 19.44 kB / 0.8149 GB, free: 282.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002019/1.446, allocations: 217.4 kB / 0.8151 GB, free: 282.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.8e-07/1.446, allocations: 0 / 0.8151 GB, free: 282.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.008647/1.455, allocations: 2.994 MB / 0.818 GB, free: 282.3 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.p,volume.medium.T) * Number of discrete variables: 10 ($cse11.phase,$cse12.phase,$cse14.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 (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01352/1.469, allocations: 3.839 MB / 0.8218 GB, free: 281.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001871/1.47, allocations: 1.071 MB / 0.8228 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.47, allocations: 3.219 kB / 0.8228 GB, free: 280.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/1.471, allocations: 0.5618 MB / 0.8234 GB, free: 279.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.473, allocations: 323.3 kB / 0.8237 GB, free: 279.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/1.474, allocations: 1.498 MB / 0.8252 GB, free: 277.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/1.475, allocations: 0.8567 MB / 0.826 GB, free: 276.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.46e-05/1.475, allocations: 43.42 kB / 0.826 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/1.475, allocations: 4 kB / 0.826 GB, free: 276.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.09016/1.565, allocations: 74.03 MB / 0.8983 GB, free: 202.9 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pT.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_pTCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_pTCalcHelperMain.o] Error 1