Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008145/0.0008144, allocations: 99.12 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.0008964/0.0008965, allocations: 181 kB / 16.58 MB, free: 6.879 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.482/1.482, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04193/0.04193, allocations: 9.073 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.0006031/0.0006031, allocations: 12 kB / 339.8 MB, free: 25.98 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1061, allocations: 49.19 MB / 388.9 MB, free: 8.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph): time 0.3624/0.4685, allocations: 132.5 MB / 0.5092 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.38/0.8486, allocations: 91.38 MB / 0.5984 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000753/0.8494, allocations: 7.156 kB / 0.5984 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003327/0.8527, allocations: 1.072 MB / 0.5995 GB, free: 10.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.8568, allocations: 1.326 MB / 0.6008 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.07078/0.9276, allocations: 22.63 MB / 0.6229 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002206/0.9298, allocations: 1.577 MB / 0.6244 GB, free: 9.816 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002143/0.9301, allocations: 94.77 kB / 0.6245 GB, free: 9.797 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01583/0.9459, allocations: 9.775 MB / 0.6341 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.9464, allocations: 366.6 kB / 0.6344 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.9464, allocations: 20.97 kB / 0.6344 GB, free: 8.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05185/0.9983, allocations: 25.14 MB / 0.659 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003182/0.9987, allocations: 102 kB / 0.6591 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004874/0.9992, allocations: 143.4 kB / 0.6592 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.019, allocations: 7.494 MB / 0.6665 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.977e-06/1.019, allocations: 0 / 0.6665 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.566e-06/1.019, allocations: 0 / 0.6665 GB, free: 6.941 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/1.019, allocations: 0 / 0.6665 GB, free: 6.941 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.007068/1.026, allocations: 2.208 MB / 0.6687 GB, free: 4.777 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/1.027, allocations: 12.03 kB / 0.6687 GB, free: 4.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/1.027, allocations: 87.31 kB / 0.6688 GB, free: 4.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/1.027, allocations: 324.8 kB / 0.6691 GB, free: 4.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.629e-05/1.027, allocations: 28.03 kB / 0.6691 GB, free: 4.359 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.489e-05/1.028, allocations: 37.84 kB / 0.6692 GB, free: 4.332 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/1.029, allocations: 0.5971 MB / 0.6697 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.029, allocations: 4 kB / 0.6697 GB, free: 3.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.006e-05/1.029, allocations: 17.75 kB / 0.6698 GB, free: 3.895 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/1.029, allocations: 19.75 kB / 0.6698 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/1.03, allocations: 0.5493 MB / 0.6703 GB, free: 3.496 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/1.032, allocations: 2.494 MB / 0.6727 GB, free: 1.188 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009779/1.033, allocations: 0.5125 MB / 0.6733 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/1.034, allocations: 355.5 kB / 0.6736 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3914/1.425, allocations: 119.3 MB / 0.7901 GB, free: 296.9 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.116e-05/1.425, allocations: 39.17 kB / 0.7901 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.645e-06/1.425, allocations: 0 / 0.7901 GB, free: 296.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.006173/1.432, allocations: 2.469 MB / 0.7925 GB, free: 296.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/1.432, allocations: 59.95 kB / 0.7926 GB, free: 296.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/1.432, allocations: 254.6 kB / 0.7928 GB, free: 296.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/1.432, allocations: 35.09 kB / 0.7928 GB, free: 296.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/1.432, allocations: 190.4 kB / 0.793 GB, free: 296 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001624/1.432, allocations: 259 kB / 0.7933 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/1.432, allocations: 13.05 kB / 0.7933 GB, free: 295.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001041/1.432, allocations: 354.1 kB / 0.7936 GB, free: 295.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000523/1.433, allocations: 287.3 kB / 0.7939 GB, free: 295.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/1.433, allocations: 402.4 kB / 0.7943 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/1.434, allocations: 338.7 kB / 0.7946 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.434, allocations: 2.062 kB / 0.7946 GB, free: 295.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001446/1.435, allocations: 0.8203 MB / 0.7954 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.436, allocations: 10.72 kB / 0.7954 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/1.436, allocations: 3.844 kB / 0.7954 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005089/1.436, allocations: 107.7 kB / 0.7955 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005297/1.437, allocations: 115.4 kB / 0.7956 GB, free: 295.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08344/1.52, allocations: 24.66 MB / 0.8197 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/1.521, allocations: 54.34 kB / 0.8198 GB, free: 281.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/1.521, allocations: 17.22 kB / 0.8198 GB, free: 281.8 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): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003704/1.521, allocations: 199.6 kB / 0.82 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.437e-05/1.521, allocations: 40.72 kB / 0.82 GB, free: 281.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/1.523, allocations: 1.729 MB / 0.8217 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/1.523, allocations: 9.719 kB / 0.8217 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/1.523, allocations: 0 / 0.8217 GB, free: 280 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00128/1.525, allocations: 1.3 MB / 0.823 GB, free: 278.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002051/1.527, allocations: 1.768 MB / 0.8247 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.527, allocations: 0 / 0.8247 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/1.527, allocations: 87.91 kB / 0.8248 GB, free: 276.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/1.527, allocations: 205.5 kB / 0.825 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.527, allocations: 4 kB / 0.825 GB, free: 276.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/1.529, allocations: 2.484 MB / 0.8274 GB, free: 273.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/1.529, allocations: 0 / 0.8274 GB, free: 273.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/1.53, allocations: 1.486 MB / 0.8289 GB, free: 272.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/1.531, allocations: 140.3 kB / 0.829 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/1.531, allocations: 10.41 kB / 0.829 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003117/1.531, allocations: 44.03 kB / 0.829 GB, free: 272.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.531, allocations: 47.86 kB / 0.8291 GB, free: 272 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/1.531, allocations: 17.55 kB / 0.8291 GB, free: 272 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001881/1.531, allocations: 223.1 kB / 0.8293 GB, free: 271.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/1.531, allocations: 0 / 0.8293 GB, free: 271.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007874/1.539, allocations: 2.898 MB / 0.8322 GB, free: 269.2 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.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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0112/1.55, allocations: 3.736 MB / 0.8358 GB, free: 265.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.552, allocations: 1.019 MB / 0.8368 GB, free: 264.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.552, allocations: 0 / 0.8368 GB, free: 264.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006202/1.553, allocations: 0.5336 MB / 0.8373 GB, free: 264.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/1.554, allocations: 325.4 kB / 0.8376 GB, free: 264 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/1.556, allocations: 1.446 MB / 0.839 GB, free: 262.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002565/1.556, allocations: 0.8525 MB / 0.8399 GB, free: 261.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/1.556, allocations: 39.44 kB / 0.8399 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.556, allocations: 0 / 0.8399 GB, free: 261.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.09355/1.65, allocations: 77 MB / 0.9151 GB, free: 184.5 MB / 0.5762 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_ph.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_dT_component_phCalcHelperMain.o OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppHelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT_component_phCalcHelperMain.o] Error 1