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.005579/0.005579, allocations: 100.3 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 189.7 kB / 16.79 MB, free: 5.809 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.531/1.531, allocations: 205.1 MB / 222.6 MB, free: 4.707 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.085 MB / 279.1 MB, free: 12.39 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.00122/0.00122, allocations: 59.91 kB / 338 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 48.18 MB / 386.2 MB, free: 9.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT): time 0.3822/0.4872, allocations: 144.1 MB / 0.5179 GB, free: 6.266 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3919/0.8791, allocations: 99.22 MB / 0.6148 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.8802, allocations: 9.594 kB / 0.6148 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004034/0.8843, allocations: 1.175 MB / 0.6159 GB, free: 1.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.8885, allocations: 1.47 MB / 0.6174 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.08784/0.9763, allocations: 25.1 MB / 0.6419 GB, free: 15.82 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002732/0.9791, allocations: 1.834 MB / 0.6437 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.9793, allocations: 98.33 kB / 0.6438 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0172/0.9965, allocations: 9.375 MB / 0.6529 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.9972, allocations: 400.7 kB / 0.6533 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.9972, allocations: 22.28 kB / 0.6533 GB, free: 12.17 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.05519/1.052, allocations: 26.55 MB / 0.6792 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003404/1.053, allocations: 98.45 kB / 0.6793 GB, free: 9.461 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008896/1.054, allocations: 283.2 kB / 0.6796 GB, free: 9.246 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01987/1.074, allocations: 6.974 MB / 0.6864 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.074, allocations: 0 / 0.6864 GB, free: 3.816 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/1.074, allocations: 3.281 kB / 0.6864 GB, free: 3.816 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/1.074, allocations: 0 / 0.6864 GB, free: 3.816 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.007317/1.081, allocations: 2.139 MB / 0.6885 GB, free: 1.742 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/1.081, allocations: 8.031 kB / 0.6885 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005367/1.082, allocations: 79.34 kB / 0.6886 GB, free: 1.656 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/1.082, allocations: 335.6 kB / 0.6889 GB, free: 1.34 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/1.082, allocations: 29.84 kB / 0.6889 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.533e-05/1.082, allocations: 33.31 kB / 0.689 GB, free: 1.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.083, allocations: 0.5786 MB / 0.6895 GB, free: 0.8906 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.084, allocations: 3.938 kB / 0.6895 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/1.084, allocations: 17.73 kB / 0.6896 GB, free: 0.8789 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/1.084, allocations: 26.11 kB / 0.6896 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/1.085, allocations: 0.5063 MB / 0.6901 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/1.088, allocations: 2.494 MB / 0.6925 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.089, allocations: 495.5 kB / 0.693 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/1.089, allocations: 334.8 kB / 0.6933 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4178/1.507, allocations: 113.3 MB / 0.8039 GB, free: 316.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/1.507, allocations: 38.56 kB / 0.8039 GB, free: 316.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=78): time 3.547e-06/1.507, allocations: 1.781 kB / 0.8039 GB, free: 316.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.006877/1.514, allocations: 2.633 MB / 0.8065 GB, free: 315.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.514, allocations: 60.03 kB / 0.8066 GB, free: 315.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/1.514, allocations: 254.5 kB / 0.8068 GB, free: 315.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/1.514, allocations: 32.52 kB / 0.8068 GB, free: 315.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/1.514, allocations: 191 kB / 0.807 GB, free: 315.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/1.515, allocations: 274.3 kB / 0.8073 GB, free: 315.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/1.515, allocations: 96.23 kB / 0.8074 GB, free: 315.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001033/1.515, allocations: 353.5 kB / 0.8077 GB, free: 315 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/1.516, allocations: 274.2 kB / 0.808 GB, free: 315 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006258/1.516, allocations: 401.8 kB / 0.8084 GB, free: 314.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.517, allocations: 0.7066 MB / 0.8091 GB, free: 314.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.517, allocations: 1.156 kB / 0.8091 GB, free: 314.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001633/1.519, allocations: 0.8214 MB / 0.8099 GB, free: 314 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.519, allocations: 9.641 kB / 0.8099 GB, free: 314 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/1.519, allocations: 2.875 kB / 0.8099 GB, free: 314 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/1.52, allocations: 144.6 kB / 0.81 GB, free: 314 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006216/1.521, allocations: 129.9 kB / 0.8101 GB, free: 313.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/1.523, allocations: 3.643 MB / 0.8137 GB, free: 310.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/1.523, allocations: 47.45 kB / 0.8137 GB, free: 310.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/1.523, allocations: 22.41 kB / 0.8138 GB, free: 310.3 MB / 0.5919 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.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 (47): * Single equations (assignments): 39 * 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, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000252/1.523, allocations: 196 kB / 0.8139 GB, free: 310.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/1.523, allocations: 39.38 kB / 0.814 GB, free: 310.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/1.526, allocations: 1.687 MB / 0.8156 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/1.526, allocations: 15.33 kB / 0.8156 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.526, allocations: 0 / 0.8156 GB, free: 309.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001515/1.528, allocations: 1.246 MB / 0.8169 GB, free: 308.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/1.53, allocations: 1.729 MB / 0.8185 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.53, allocations: 1.469 kB / 0.8186 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/1.531, allocations: 72.33 kB / 0.8186 GB, free: 307.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007501/1.531, allocations: 271.3 kB / 0.8189 GB, free: 307.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/1.531, allocations: 7.312 kB / 0.8189 GB, free: 307.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009805/1.532, allocations: 1.784 MB / 0.8206 GB, free: 305.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.532, allocations: 1.469 kB / 0.8206 GB, free: 305.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.535, allocations: 1.464 MB / 0.8221 GB, free: 304.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.535, allocations: 114.5 kB / 0.8222 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.432e-05/1.535, allocations: 7.938 kB / 0.8222 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/1.535, allocations: 45.58 kB / 0.8222 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/1.535, allocations: 38.81 kB / 0.8223 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.053e-05/1.535, allocations: 15.23 kB / 0.8223 GB, free: 304.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002387/1.535, allocations: 221.9 kB / 0.8225 GB, free: 304.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/1.535, allocations: 0 / 0.8225 GB, free: 304.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006598/1.542, allocations: 1.983 MB / 0.8244 GB, free: 304.5 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.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01036/1.552, allocations: 2.816 MB / 0.8272 GB, free: 304.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002207/1.555, allocations: 0.8769 MB / 0.828 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.555, allocations: 3.938 kB / 0.828 GB, free: 303.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007173/1.555, allocations: 427.8 kB / 0.8284 GB, free: 303.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.558, allocations: 376.5 kB / 0.8288 GB, free: 303.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/1.56, allocations: 1.417 MB / 0.8302 GB, free: 302.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/1.56, allocations: 0.8444 MB / 0.831 GB, free: 302.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/1.56, allocations: 41.47 kB / 0.831 GB, free: 302 MB / 0.5919 GB Notification: Performance of SimCode: time 1.353e-06/1.56, allocations: 0 / 0.831 GB, free: 302 MB / 0.5919 GB Notification: Performance of Templates: time 0.06772/1.628, allocations: 54.67 MB / 0.8844 GB, free: 249.1 MB / 0.5919 GB make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.makefile make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_dT.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.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